s/endswith/startswith/

This commit is contained in:
Tim Peters 2001-08-01 20:23:18 +00:00
parent 66e1a254a1
commit 722d78f18a
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ sys.path.insert(0, os.curdir)
source = TESTFN + ".py"
pyo = TESTFN + ".pyo"
if sys.platform.endswith('java'):
if sys.platform.startswith('java'):
pyc = TESTFN + "$py.class"
else:
pyc = TESTFN + ".pyc"