mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
Patch #734231: Update RiscOS support. In particular, correct
riscospath.extsep, and use os.extsep throughout.
This commit is contained in:
parent
5467d4c0e3
commit
a94568a753
27 changed files with 482 additions and 59 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue