summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_importlib/test_abc.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2014-07-07 11:08:19 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2014-07-07 11:08:19 (GMT)
commit344f8316fd52205b19689dbdf44cfcfb338d127e (patch)
tree3f56062a019d3b50ea5974cfb5b74d16dee52f6b /Lib/test/test_importlib/test_abc.py
parent3bc13cc8b0b85f989b8da9c5718fc5319ad06248 (diff)
downloadcpython-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/test_abc.py')
-rw-r--r--Lib/test/test_importlib/test_abc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_importlib/test_abc.py b/Lib/test/test_importlib/test_abc.py
index 09b7294..a1f8e76 100644
--- a/Lib/test/test_importlib/test_abc.py
+++ b/Lib/test/test_importlib/test_abc.py
@@ -783,7 +783,7 @@ class SourceOnlyLoaderTests(SourceLoaderTestHarness):
warnings.simplefilter('ignore', DeprecationWarning)
module = self.loader.load_module(self.name)
self.verify_module(module)
- self.assertTrue(not hasattr(module, '__path__'))
+ self.assertFalse(hasattr(module, '__path__'))
def test_get_source_encoding(self):
# Source is considered encoded in UTF-8 by default unless otherwise