mirror of https://github.com/python/cpython
s/endswith/startswith/
This commit is contained in:
parent
66e1a254a1
commit
722d78f18a
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue