]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Get rid of silly 5am "del" stmts.
authorTim Peters <tim.peters@gmail.com>
Sat, 5 May 2001 21:36:52 +0000 (21:36 +0000)
committerTim Peters <tim.peters@gmail.com>
Sat, 5 May 2001 21:36:52 +0000 (21:36 +0000)
Lib/test/test_iter.py

index 22a7c4460d4b102c66045eef1ee8649fa6902ff9..a50c74f2fd58c183f8a57bb82defcf28c987d643 100644 (file)
@@ -479,7 +479,6 @@ class TestCase(unittest.TestCase):
                 self.assert_(i in sc5)
             for i in "abc", -1, 5, 42.42, (3, 4), [], {1: 1}, 3-12j, sc5:
                 self.assert_(i not in sc5)
-            del sc5
 
         self.assertRaises(TypeError, lambda: 3 in 12)
         self.assertRaises(TypeError, lambda: 3 not in map)
@@ -494,7 +493,6 @@ class TestCase(unittest.TestCase):
         for k, v in d.iteritems():
             self.assert_((k, v) in d.iteritems())
             self.assert_((v, k) not in d.iteritems())
-        del d
 
         f = open(TESTFN, "w")
         try: