Issue #22390: Fix typo in regrtest, support => test_support
diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py
index 3eaea03..3a8ad91 100755
--- a/Lib/test/regrtest.py
+++ b/Lib/test/regrtest.py
@@ -844,12 +844,12 @@
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: