Commit d6069fd1 authored by Brett Cannon's avatar Brett Cannon

Remove unneeded imports of 'warnings'.

parent 25d5cb61
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
import os import os
import sys import sys
import unittest import unittest
import warnings
import pickle, cPickle import pickle, cPickle
from test.test_support import TESTFN, unlink, run_unittest from test.test_support import TESTFN, unlink, run_unittest
......
...@@ -136,7 +136,6 @@ class ReprTests(unittest.TestCase): ...@@ -136,7 +136,6 @@ class ReprTests(unittest.TestCase):
'<built-in method split of str object at 0x')) '<built-in method split of str object at 0x'))
def test_xrange(self): def test_xrange(self):
import warnings
eq = self.assertEquals eq = self.assertEquals
eq(repr(xrange(1)), 'xrange(1)') eq(repr(xrange(1)), 'xrange(1)')
eq(repr(xrange(1, 2)), 'xrange(1, 2)') eq(repr(xrange(1, 2)), 'xrange(1, 2)')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment