diff options
author | Zachary Ware <zachary.ware@gmail.com> | 2013-12-08 06:44:27 (GMT) |
---|---|---|
committer | Zachary Ware <zachary.ware@gmail.com> | 2013-12-08 06:44:27 (GMT) |
commit | 101d9e7250c039aeabea1582459d40b52cc81024 (patch) | |
tree | e0a6990c763c2435fae0a08a4114ac17569aa261 /Lib/test/test_warnings.py | |
parent | 5ca129b8f016668bf914592e58082c452a7ad9b4 (diff) | |
parent | 7ef00ff91a0a90a2b11df40d110365e6a7909a94 (diff) | |
download | cpython-101d9e7250c039aeabea1582459d40b52cc81024.zip cpython-101d9e7250c039aeabea1582459d40b52cc81024.tar.gz cpython-101d9e7250c039aeabea1582459d40b52cc81024.tar.bz2 |
Issue 19572: More silently skipped tests explicitly skipped.
Diffstat (limited to 'Lib/test/test_warnings.py')
-rw-r--r-- | Lib/test/test_warnings.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_warnings.py b/Lib/test/test_warnings.py index 87463ac..ccdc65b 100644 --- a/Lib/test/test_warnings.py +++ b/Lib/test/test_warnings.py @@ -695,7 +695,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") |