diff options
author | Georg Brandl <georg@python.org> | 2010-02-07 17:03:15 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2010-02-07 17:03:15 (GMT) |
commit | a4f46e129294c686ef1effdd89c459bd9a624e6d (patch) | |
tree | d8cf84a6f4a9a1a3e7ad10f8daec0ecd5f5674cb /Lib/test/test_contextlib.py | |
parent | dc3694bee021480980d5b66a93f69ce137ee5be4 (diff) | |
download | cpython-a4f46e129294c686ef1effdd89c459bd9a624e6d.zip cpython-a4f46e129294c686ef1effdd89c459bd9a624e6d.tar.gz cpython-a4f46e129294c686ef1effdd89c459bd9a624e6d.tar.bz2 |
Remove unused imports in test modules.
Diffstat (limited to 'Lib/test/test_contextlib.py')
-rw-r--r-- | Lib/test/test_contextlib.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Lib/test/test_contextlib.py b/Lib/test/test_contextlib.py index 80ba3e8..6350717 100644 --- a/Lib/test/test_contextlib.py +++ b/Lib/test/test_contextlib.py @@ -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 |