diff options
| author | Zachary Ware <zachary.ware@gmail.com> | 2013-12-08 00:44:27 -0600 |
|---|---|---|
| committer | Zachary Ware <zachary.ware@gmail.com> | 2013-12-08 00:44:27 -0600 |
| commit | 101d9e7250c039aeabea1582459d40b52cc81024 (patch) | |
| tree | e0a6990c763c2435fae0a08a4114ac17569aa261 /Lib/test/test_imp.py | |
| parent | 5ca129b8f016668bf914592e58082c452a7ad9b4 (diff) | |
| parent | 7ef00ff91a0a90a2b11df40d110365e6a7909a94 (diff) | |
| download | cpython-git-101d9e7250c039aeabea1582459d40b52cc81024.tar.gz | |
Issue 19572: More silently skipped tests explicitly skipped.
Diffstat (limited to 'Lib/test/test_imp.py')
| -rw-r--r-- | Lib/test/test_imp.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_imp.py b/Lib/test/test_imp.py index 78f573407c..024f43894b 100644 --- a/Lib/test/test_imp.py +++ b/Lib/test/test_imp.py @@ -272,7 +272,7 @@ class ImportTests(unittest.TestCase): if found[0] is not None: found[0].close() if found[2][2] != imp.C_EXTENSION: - return + self.skipTest("found module doesn't appear to be a C extension") imp.load_module(name, None, *found[1:]) @unittest.skipIf(sys.dont_write_bytecode, |
