1 import sys 2 import unittest 3 4 class 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