diff options
author | Eric V. Smith <eric@trueblade.com> | 2012-06-27 19:26:26 (GMT) |
---|---|---|
committer | Eric V. Smith <eric@trueblade.com> | 2012-06-27 19:26:26 (GMT) |
commit | faae3adbb98521d039c574fd3ed417f54a72374d (patch) | |
tree | c5d7689408588d896a54dc7dfcf13172a93a1cb4 /Lib/importlib/test/frozen/test_finder.py | |
parent | 8d37ffa563cf552dd34990bfefd935eef8adfd11 (diff) | |
download | cpython-faae3adbb98521d039c574fd3ed417f54a72374d.zip cpython-faae3adbb98521d039c574fd3ed417f54a72374d.tar.gz cpython-faae3adbb98521d039c574fd3ed417f54a72374d.tar.bz2 |
Changed importlib tests to use assertIs, assertIsInstance, etc., instead of just assertTrue.
Diffstat (limited to 'Lib/importlib/test/frozen/test_finder.py')
-rw-r--r-- | Lib/importlib/test/frozen/test_finder.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/importlib/test/frozen/test_finder.py b/Lib/importlib/test/frozen/test_finder.py index db88379..a51d939 100644 --- a/Lib/importlib/test/frozen/test_finder.py +++ b/Lib/importlib/test/frozen/test_finder.py @@ -35,7 +35,7 @@ class FinderTests(abc.FinderTests): def test_failure(self): loader = self.find('<not real>') - self.assertTrue(loader is None) + self.assertIs(loader, None) def test_main(): |