diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2014-07-07 11:08:19 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2014-07-07 11:08:19 (GMT) |
commit | 344f8316fd52205b19689dbdf44cfcfb338d127e (patch) | |
tree | 3f56062a019d3b50ea5974cfb5b74d16dee52f6b /Lib/test/test_importlib/builtin | |
parent | 3bc13cc8b0b85f989b8da9c5718fc5319ad06248 (diff) | |
download | cpython-344f8316fd52205b19689dbdf44cfcfb338d127e.zip cpython-344f8316fd52205b19689dbdf44cfcfb338d127e.tar.gz cpython-344f8316fd52205b19689dbdf44cfcfb338d127e.tar.bz2 |
Issue #19593: Use specific asserts in importlib tests.
Diffstat (limited to 'Lib/test/test_importlib/builtin')
-rw-r--r-- | Lib/test/test_importlib/builtin/test_loader.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_importlib/builtin/test_loader.py b/Lib/test/test_importlib/builtin/test_loader.py index a636f77..1f83574 100644 --- a/Lib/test/test_importlib/builtin/test_loader.py +++ b/Lib/test/test_importlib/builtin/test_loader.py @@ -87,7 +87,7 @@ class InspectLoaderTests: def test_is_package(self): # Cannot be a package. result = self.machinery.BuiltinImporter.is_package(builtin_util.NAME) - self.assertTrue(not result) + self.assertFalse(result) def test_not_builtin(self): # Modules not built-in should raise ImportError. |