mirror of
https://github.com/python/cpython.git
synced 2025-07-29 06:05:00 +00:00
Remove unused imports in test modules.
This commit is contained in:
parent
dc3694bee0
commit
a4f46e1292
74 changed files with 40 additions and 135 deletions
|
@ -1,9 +1,7 @@
|
|||
"""Unit tests for contextlib.py, and other context managers."""
|
||||
|
||||
|
||||
import sys
|
||||
import os
|
||||
import decimal
|
||||
import tempfile
|
||||
import unittest
|
||||
import threading
|
||||
|
@ -147,7 +145,6 @@ class NestedTestCase(unittest.TestCase):
|
|||
self.fail("Didn't raise ZeroDivisionError")
|
||||
|
||||
def test_nested_right_exception(self):
|
||||
state = []
|
||||
@contextmanager
|
||||
def a():
|
||||
yield 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue