Skip to content

Commit 2987cdd

Browse files
committed
adjust test_standalone to changes in graalpy-maven-plugin
1 parent 98ceed7 commit 2987cdd

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

graalpython/com.oracle.graal.python.test/src/tests/standalone/test_standalone.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -316,12 +316,7 @@ def test_fail_without_graalpy_dep(self):
316316
try:
317317
cmd = MVN_CMD + ["process-resources"]
318318
out, return_code = run_cmd(cmd, self.env, cwd=target_dir)
319-
if sys.platform != 'win32':
320-
assert "Missing GraalPy dependency org.graalvm.python:python-language" in out
321-
else:
322-
# different error message on windows due to generate launcher python script executed
323-
# before the actuall process-resources goal
324-
assert "Could not find or load main class com.oracle.graal.python.shell.GraalPythonMain" in out
319+
assert "Missing GraalPy dependency. Please add to your pom either org.graalvm.polyglot:python-community or org.graalvm.polyglot:python" in out
325320

326321
finally:
327322
self.purge_local_repo(target_dir, False)

0 commit comments

Comments
 (0)