mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Issue 19572: More silently skipped tests explicitly skipped.
This commit is contained in:
parent
774f909489
commit
9fe6d86709
34 changed files with 122 additions and 134 deletions
|
@ -682,7 +682,7 @@ class CatchWarningTests(BaseTest):
|
|||
# Explicit tests for the test.support convenience wrapper
|
||||
wmod = self.module
|
||||
if wmod is not sys.modules['warnings']:
|
||||
return
|
||||
self.skipTest('module to test is not loaded warnings module')
|
||||
with support.check_warnings(quiet=False) as w:
|
||||
self.assertEqual(w.warnings, [])
|
||||
wmod.simplefilter("always")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue