diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2003-05-10 07:36:56 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2003-05-10 07:36:56 (GMT) |
commit | a94568a7535de60f1144e4eea0d027b87017a4b4 (patch) | |
tree | 5a8f696ca440a296b18521be17920b48f2021e4c /Lib/test/test_tarfile.py | |
parent | 5467d4c0e31e9db305a4899a44d7978f83e96649 (diff) | |
download | cpython-a94568a7535de60f1144e4eea0d027b87017a4b4.zip cpython-a94568a7535de60f1144e4eea0d027b87017a4b4.tar.gz cpython-a94568a7535de60f1144e4eea0d027b87017a4b4.tar.bz2 |
Patch #734231: Update RiscOS support. In particular, correct
riscospath.extsep, and use os.extsep throughout.
Diffstat (limited to 'Lib/test/test_tarfile.py')
-rw-r--r-- | Lib/test/test_tarfile.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/test/test_tarfile.py b/Lib/test/test_tarfile.py index 496dede..e259712 100644 --- a/Lib/test/test_tarfile.py +++ b/Lib/test/test_tarfile.py @@ -21,15 +21,15 @@ except ImportError: def path(path): return test_support.findfile(path) -testtar = path("testtar.tar") -tempdir = path("testtar.dir") -tempname = path("testtar.tmp") +testtar = path("testtar" + os.extsep + "tar") +tempdir = path("testtar" + os.extsep + "dir") +tempname = path("testtar" + os.extsep + "tmp") membercount = 10 def tarname(comp=""): if not comp: return testtar - return "%s.%s" % (testtar, comp) + return "%s%s%s" % (testtar, os.extsep, comp) def dirname(): if not os.path.exists(tempdir): |