summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_import.py
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2001-08-01 20:23:18 (GMT)
committerTim Peters <tim.peters@gmail.com>2001-08-01 20:23:18 (GMT)
commit722d78f18ace538417b749412cd47545cbc61b3f (patch)
tree87182ccd7139af3bb83e933ef64c430fd5899518 /Lib/test/test_import.py
parent66e1a254a19c0c95216d54e64c5c2171e5880ed9 (diff)
downloadcpython-722d78f18ace538417b749412cd47545cbc61b3f.zip
cpython-722d78f18ace538417b749412cd47545cbc61b3f.tar.gz
cpython-722d78f18ace538417b749412cd47545cbc61b3f.tar.bz2
s/endswith/startswith/
Diffstat (limited to 'Lib/test/test_import.py')
-rw-r--r--Lib/test/test_import.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_import.py b/Lib/test/test_import.py
index 0f9841c..d053609 100644
--- a/Lib/test/test_import.py
+++ b/Lib/test/test_import.py
@@ -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"