Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ef0c42d

Browse files
committed
Get rid of silly 5am "del" stmts.
1 parent cb8d368 commit ef0c42d

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

Lib/test/test_iter.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,6 @@ def test_in_and_not_in(self):
479479
self.assert_(i in sc5)
480480
for i in "abc", -1, 5, 42.42, (3, 4), [], {1: 1}, 3-12j, sc5:
481481
self.assert_(i not in sc5)
482-
del sc5
483482

484483
self.assertRaises(TypeError, lambda: 3 in 12)
485484
self.assertRaises(TypeError, lambda: 3 not in map)
@@ -494,7 +493,6 @@ def test_in_and_not_in(self):
494493
for k, v in d.iteritems():
495494
self.assert_((k, v) in d.iteritems())
496495
self.assert_((v, k) not in d.iteritems())
497-
del d
498496

499497
f = open(TESTFN, "w")
500498
try:

0 commit comments

Comments
 (0)