mirror of
https://github.com/python/cpython.git
synced 2025-07-29 22:24:49 +00:00
Removed a dead line of code.
This commit is contained in:
parent
445ff35d5c
commit
f602c71b07
1 changed files with 0 additions and 1 deletions
|
@ -192,7 +192,6 @@ class TestStdlibRenames(unittest.TestCase):
|
||||||
- The module can be imported using the new 3.x name.
|
- The module can be imported using the new 3.x name.
|
||||||
- The warning message specify both names.
|
- The warning message specify both names.
|
||||||
"""
|
"""
|
||||||
ModuleType = type(sys) # get the module type object
|
|
||||||
with CleanImport(module_name):
|
with CleanImport(module_name):
|
||||||
with catch_warning(record=False) as w:
|
with catch_warning(record=False) as w:
|
||||||
warnings.filterwarnings("error", ".+ renamed to",
|
warnings.filterwarnings("error", ".+ renamed to",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue