From: Neal Norwitz Date: Thu, 24 Nov 2005 23:28:37 +0000 (+0000) Subject: Fix typo in comment. X-Git-Tag: v2.5a0~1110 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2fcf206a6f916003e891232a08d3a98cdf48a024;p=thirdparty%2FPython%2Fcpython.git 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. --- diff --git a/Lib/test/test_mutants.py b/Lib/test/test_mutants.py index d495704c688c..df58944d884f 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