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"
|
source = TESTFN + ".py"
|
||||||
pyo = TESTFN + ".pyo"
|
pyo = TESTFN + ".pyo"
|
||||||
if sys.platform.endswith('java'):
|
if sys.platform.startswith('java'):
|
||||||
pyc = TESTFN + "$py.class"
|
pyc = TESTFN + "$py.class"
|
||||||
else:
|
else:
|
||||||
pyc = TESTFN + ".pyc"
|
pyc = TESTFN + ".pyc"
|
||||||
|
|
Loading…
Reference in New Issue