Skip to content

Commit

Permalink
make unit tests compatible with Python 2.6
Browse files Browse the repository at this point in the history
This removes the dependency on assertIsNotNone() which was added
in Python 2.7.
  • Loading branch information
satta committed May 17, 2016
1 parent 6c2ac67 commit c074265
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gtpython/tests/test_version.py
Expand Up @@ -22,7 +22,7 @@
class VersionTest(unittest.TestCase):

def test_has_version(self):
self.assertIsNotNone(gt.__version__)
self.assertNotEqual(gt.__version__, None)

if __name__ == "__main__":
unittest.main()
unittest.main()

0 comments on commit c074265

Please sign in to comment.