Use assertIsNone. Thanks Terry Reedy.

This commit is contained in:
Eric V. Smith 2012-06-28 06:15:01 -04:00
parent 591c1cca32
commit b10951549b
9 changed files with 11 additions and 11 deletions

View file

@ -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.assertIs(nothing, None)
self.assertIsNone(nothing)
def test_empty_string_for_dir(self):
# The empty string from sys.path means to search in the cwd.