summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2005-11-24 23:28:37 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2005-11-24 23:28:37 (GMT)
commit2fcf206a6f916003e891232a08d3a98cdf48a024 (patch)
tree520071704837416bbc6e5ba93682bd18001ee922 /Lib/test
parent3715c3e576a182692cf2ad2d390732126f11780d (diff)
downloadcpython-2fcf206a6f916003e891232a08d3a98cdf48a024.zip
cpython-2fcf206a6f916003e891232a08d3a98cdf48a024.tar.gz
cpython-2fcf206a6f916003e891232a08d3a98cdf48a024.tar.bz2
Fix typo in comment.
Delete globals which contain variable information at the end of the test. This makes the test stable (no reported leaks) when running regrtest -R to find reference leaks.
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_mutants.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_mutants.py b/Lib/test/test_mutants.py
index d495704..df58944 100644
--- a/Lib/test/test_mutants.py
+++ b/Lib/test/test_mutants.py
@@ -36,7 +36,7 @@ dict2 = {}
dict1keys = []
dict2keys = []
-# Global flag telling maybe_mutate() wether to *consider* mutating.
+# Global flag telling maybe_mutate() whether to *consider* mutating.
mutate = 0
# If global mutate is true, consider mutating a dict. May or may not
@@ -281,3 +281,4 @@ finally:
os.unlink(TESTFN)
del dict
+del dict1, dict2, dict1keys, dict2keys