From 2fcf206a6f916003e891232a08d3a98cdf48a024 Mon Sep 17 00:00:00 2001 From: Neal Norwitz Date: Thu, 24 Nov 2005 23:28:37 +0000 Subject: [PATCH] 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. --- Lib/test/test_mutants.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Lib/test/test_mutants.py b/Lib/test/test_mutants.py index d495704c688..df58944d884 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