summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_repr.py
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2006-12-13 23:02:38 (GMT)
committerBrett Cannon <bcannon@gmail.com>2006-12-13 23:02:38 (GMT)
commitc745df8519b3dce95bb3ce7587c4c311f8184290 (patch)
treeff5ce30977748e340838e23117b3b3484128e2ad /Lib/test/test_repr.py
parent905820ccba901b2b76ae8e27b63d0e242b3b7553 (diff)
downloadcpython-c745df8519b3dce95bb3ce7587c4c311f8184290.zip
cpython-c745df8519b3dce95bb3ce7587c4c311f8184290.tar.gz
cpython-c745df8519b3dce95bb3ce7587c4c311f8184290.tar.bz2
Remove unneeded imports of 'warnings'.
Diffstat (limited to 'Lib/test/test_repr.py')
-rw-r--r--Lib/test/test_repr.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/Lib/test/test_repr.py b/Lib/test/test_repr.py
index a37499f..5fcf815 100644
--- a/Lib/test/test_repr.py
+++ b/Lib/test/test_repr.py
@@ -136,7 +136,6 @@ class ReprTests(unittest.TestCase):
'<built-in method split of str object at 0x'))
def test_xrange(self):
- import warnings
eq = self.assertEquals
eq(repr(xrange(1)), 'xrange(1)')
eq(repr(xrange(1, 2)), 'xrange(1, 2)')