summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_tarfile.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_tarfile.py')
-rw-r--r--Lib/test/test_tarfile.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/test_tarfile.py b/Lib/test/test_tarfile.py
index 2fbb51e..9fde707 100644
--- a/Lib/test/test_tarfile.py
+++ b/Lib/test/test_tarfile.py
@@ -10,7 +10,7 @@ import errno
import unittest
import tarfile
-from test import test_support
+from test import support
# Check for our compression modules.
try:
@@ -27,7 +27,7 @@ def md5sum(data):
return md5(data).hexdigest()
def path(path):
- return test_support.findfile(path)
+ return support.findfile(path)
TEMPDIR = os.path.join(tempfile.gettempdir(), "test_tarfile_tmp")
tarname = path("testtar.tar")
@@ -1171,7 +1171,7 @@ def test_main():
]
try:
- test_support.run_unittest(*tests)
+ support.run_unittest(*tests)
finally:
if os.path.exists(TEMPDIR):
shutil.rmtree(TEMPDIR)