From ac0d1893b93542b7fd80134bc51b867e44108262 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Mon, 30 Mar 2015 01:07:29 +0200 Subject: [PATCH] Issue #22390: Fix typo in regrtest, support => test_support --- Lib/test/regrtest.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py index 3eaea03d0f..3a8ad91067 100755 --- a/Lib/test/regrtest.py +++ b/Lib/test/regrtest.py @@ -844,12 +844,12 @@ class saved_test_environment: return sorted(fn + ('/' if os.path.isdir(fn) else '') for fn in os.listdir(os.curdir)) def restore_files(self, saved_value): - fn = support.TESTFN + fn = test_support.TESTFN if fn not in saved_value and (fn + '/') not in saved_value: if os.path.isfile(fn): - support.unlink(fn) + test_support.unlink(fn) elif os.path.isdir(fn): - support.rmtree(fn) + test_support.rmtree(fn) def resource_info(self): for name in self.resources: -- 2.50.1