diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2005-11-24 23:28:37 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2005-11-24 23:28:37 (GMT) |
commit | 2fcf206a6f916003e891232a08d3a98cdf48a024 (patch) | |
tree | 520071704837416bbc6e5ba93682bd18001ee922 | |
parent | 3715c3e576a182692cf2ad2d390732126f11780d (diff) | |
download | cpython-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.
-rw-r--r-- | Lib/test/test_mutants.py | 3 |
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 |