Travis CI fix: Python 2.7 builds pass while 2.6 builds fail, so don’t use Python 2.7-specific unittest.TestCase methods (assertIn, assertIsNone, assertIsNotNone, etc.).