summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_iter.py
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2001-05-05 21:36:52 (GMT)
committerTim Peters <tim.peters@gmail.com>2001-05-05 21:36:52 (GMT)
commitef0c42d4e5d0d7493395b1e3c37fe53dc48a377f (patch)
tree8571a385f6e7b6ad19b060fc015ae32869c8d1c0 /Lib/test/test_iter.py
parentcb8d368b824a38a0b04598ba2bcd107d6aae3595 (diff)
downloadcpython-ef0c42d4e5d0d7493395b1e3c37fe53dc48a377f.zip
cpython-ef0c42d4e5d0d7493395b1e3c37fe53dc48a377f.tar.gz
cpython-ef0c42d4e5d0d7493395b1e3c37fe53dc48a377f.tar.bz2
Get rid of silly 5am "del" stmts.
Diffstat (limited to 'Lib/test/test_iter.py')
-rw-r--r--Lib/test/test_iter.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/Lib/test/test_iter.py b/Lib/test/test_iter.py
index 22a7c44..a50c74f 100644
--- a/Lib/test/test_iter.py
+++ b/Lib/test/test_iter.py
@@ -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: