compat.py
Go to the documentation of this file.
00001 # -*- coding: utf-8 -*-
00002 # Copyright (c) 2012-2013 Raphaël Barrois
00003 # This code is distributed under the two-clause BSD License.
00004 
00005 import sys
00006 
00007 is_python2 = (sys.version_info[0] == 2)
00008 
00009 
00010 try:  # pragma: no cover
00011     import unittest2 as unittest
00012 except ImportError:  # pragma: no cover
00013     import unittest
00014 


rocon_semantic_version
Author(s): Raphaël Barrois
autogenerated on Fri May 2 2014 10:35:51