mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
Issue 19572: More silently skipped tests explicitly skipped.
This commit is contained in:
commit
101d9e7250
35 changed files with 135 additions and 142 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue