Remove unneeded imports of 'warnings'.

This commit is contained in:
Brett Cannon 2006-12-13 23:02:38 +00:00
parent 905820ccba
commit c745df8519
2 changed files with 0 additions and 2 deletions

View File

@ -3,7 +3,6 @@
import os
import sys
import unittest
import warnings
import pickle, cPickle
from test.test_support import TESTFN, unlink, run_unittest

View File

@ -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)')