Oops. A RISCOS patch I forgot to check in.

This commit is contained in:
Guido van Rossum 2001-03-13 09:31:07 +00:00
parent 5b44a67bdb
commit a8f7e59761

View file

@ -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__):