8000 s/endswith/startswith/ · python/cpython@722d78f · GitHub
[go: up one dir, main page]

Skip to content

Commit 722d78f

Browse files
committed
s/endswith/startswith/
1 parent 66e1a25 commit 722d78f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_import.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
source = TESTFN + ".py"
2222
pyo = TESTFN + ".pyo"
23-
if sys.platform.endswith('java'):
23+
if sys.platform.startswith('java'):
2424
pyc = TESTFN + "$py.class"
2525
else:
2626
pyc = TESTFN + ".pyc"

0 commit comments

Comments
 (0)
0