diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2016-12-06 10:02:12 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2016-12-06 10:02:12 (GMT) |
commit | 8ae9e6a627ed6630b577a540d611c226959280ce (patch) | |
tree | 27b01c5d0e3f7d2b7e07293396f02ee8b40c8582 /Lib/test/test_warnings | |
parent | 8ef46be26ad1a3a5c4b542cf95832a4aca12c4ff (diff) | |
download | cpython-8ae9e6a627ed6630b577a540d611c226959280ce.zip cpython-8ae9e6a627ed6630b577a540d611c226959280ce.tar.gz cpython-8ae9e6a627ed6630b577a540d611c226959280ce.tar.bz2 |
warnings: Fix the issue number
The fix for catch_warnings() is the issue #28835 (not the issue #28089).
Diffstat (limited to 'Lib/test/test_warnings')
-rw-r--r-- | Lib/test/test_warnings/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_warnings/__init__.py b/Lib/test/test_warnings/__init__.py index 60fa780..0cddf4a 100644 --- a/Lib/test/test_warnings/__init__.py +++ b/Lib/test/test_warnings/__init__.py @@ -945,7 +945,7 @@ class CatchWarningTests(BaseTest): self.assertTrue(wmod.filters is orig_filters) def test_record_override_showwarning_before(self): - # Issue #28089: If warnings.showwarning() was overriden, make sure + # Issue #28835: If warnings.showwarning() was overriden, make sure # that catch_warnings(record=True) overrides it again. text = "This is a warning" wmod = self.module @@ -970,7 +970,7 @@ class CatchWarningTests(BaseTest): self.assertEqual(my_log, []) def test_record_override_showwarning_inside(self): - # Issue #28089: It is possible to override warnings.showwarning() + # Issue #28835: It is possible to override warnings.showwarning() # in the catch_warnings(record=True) context manager. text = "This is a warning" wmod = self.module |