From c745df8519b3dce95bb3ce7587c4c311f8184290 Mon Sep 17 00:00:00 2001
From: Brett Cannon <bcannon@gmail.com>
Date: Wed, 13 Dec 2006 23:02:38 +0000
Subject: Remove unneeded imports of 'warnings'.

---
 Lib/test/test_exceptions.py | 1 -
 Lib/test/test_repr.py       | 1 -
 2 files changed, 2 deletions(-)

diff --git a/Lib/test/test_exceptions.py b/Lib/test/test_exceptions.py
index 79fcee3..b0e872b 100644
--- a/Lib/test/test_exceptions.py
+++ b/Lib/test/test_exceptions.py
@@ -3,7 +3,6 @@
 import os
 import sys
 import unittest
-import warnings
 import pickle, cPickle
 
 from test.test_support import TESTFN, unlink, run_unittest
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)')
-- 
cgit v0.12

