1import sys 2import unittest 3 4class FooTest(unittest.TestCase): 5 def test_foo(self): 6 # use 2.6 syntax to demonstrate conversion 7 print 'In test_foo, using Python %s...' % (sys.version_info,) 8 self.assertTrue(False) 9