mirror of https://github.com/python/cpython
Oops. A RISCOS patch I forgot to check in.
This commit is contained in:
parent
5b44a67bdb
commit
a8f7e59761
|
@ -55,7 +55,13 @@ def fcmp(x, y): # fuzzy comparison function
|
|||
return cmp(len(x), len(y))
|
||||
return cmp(x, y)
|
||||
|
||||
TESTFN = '@test' # Filename used for testing
|
||||
import os
|
||||
if os.name !='riscos':
|
||||
TESTFN = '@test' # Filename used for testing
|
||||
else:
|
||||
TESTFN = 'test' # Filename used for testing
|
||||
del os
|
||||
|
||||
from os import unlink
|
||||
|
||||
def findfile(file, here=__file__):
|
||||
|
|
Loading…
Reference in New Issue