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/source/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/source/test_finder.py')
-rw-r--r-- | Lib/importlib/test/source/test_finder.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/importlib/test/source/test_finder.py b/Lib/importlib/test/source/test_finder.py index b22c103..e1ef938 100644 --- a/Lib/importlib/test/source/test_finder.py +++ b/Lib/importlib/test/source/test_finder.py @@ -115,7 +115,7 @@ class FinderTests(abc.FinderTests): def test_failure(self): with source_util.create_modules('blah') as mapping: nothing = self.import_(mapping['.root'], 'sdfsadsadf') - self.assertTrue(nothing is None) + self.assertIs(nothing, None) def test_empty_string_for_dir(self): # The empty string from sys.path means to search in the cwd. |