summaryrefslogtreecommitdiffstats
path: root/test/Java/multi-step.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/Java/multi-step.py')
-rw-r--r--test/Java/multi-step.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/Java/multi-step.py b/test/Java/multi-step.py
index b5f24f9..34e814b 100644
--- a/test/Java/multi-step.py
+++ b/test/Java/multi-step.py
@@ -29,6 +29,8 @@ Real-world test (courtesy Leanid Nazdrynau) of the multi-step
capabilities of the various Java Builders.
"""
+import os
+
import TestSCons
test = TestSCons.TestSCons()
@@ -562,7 +564,6 @@ test.must_exist(['buildout', 'jni', 'SampleTest.java'])
# a SampleTest.class file, while others do. Only issue a warning if
# it doesn't exist.
p = test.workpath('buildout', 'jni', 'SampleTest.class')
-import os.path
if not os.path.exists(p):
print 'Warning: %s does not exist' % p