summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_contextlib.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-02-07 17:03:15 (GMT)
committerGeorg Brandl <georg@python.org>2010-02-07 17:03:15 (GMT)
commita4f46e129294c686ef1effdd89c459bd9a624e6d (patch)
treed8cf84a6f4a9a1a3e7ad10f8daec0ecd5f5674cb /Lib/test/test_contextlib.py
parentdc3694bee021480980d5b66a93f69ce137ee5be4 (diff)
downloadcpython-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.py3
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