diff options
Diffstat (limited to 'testlib.py')
-rw-r--r-- | testlib.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1189,7 +1189,7 @@ succeeded test into", osp.join(os.getcwd(), FILE_RESTART) assertCountEqual = unittest.TestCase.assertItemsEqual if sys.version_info < (2,7): def assertIsNotNone(self, value, *args, **kwargs): - self.assertEqual(None, value, *args, **kwargs) + self.assertNotEqual(None, value, *args, **kwargs) TestCase.assertItemsEqual = deprecated('assertItemsEqual is deprecated, use assertCountEqual')( TestCase.assertItemsEqual) |