jenkins-bot has submitted this change. (
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1225001?usp=email )
Change subject: Tests: Skip test_one_similar_script and test_similar_scripts
for GraalPy
......................................................................
Tests: Skip test_one_similar_script and test_similar_scripts for GraalPy
Bug: T413711
Change-Id: Iac9808c57e1459f30d8a734fd7502a025f4d90f2
---
M tests/pwb_tests.py
1 file changed, 4 insertions(+), 1 deletion(-)
Approvals:
Xqt: Looks good to me, approved
jenkins-bot: Verified
diff --git a/tests/pwb_tests.py b/tests/pwb_tests.py
index 6406441..3f0f859 100755
--- a/tests/pwb_tests.py
+++ b/tests/pwb_tests.py
@@ -1,7 +1,7 @@
#!/usr/bin/env python3
"""Test pwb.py."""
#
-# (C) Pywikibot team, 2007-2024
+# (C) Pywikibot team, 2007-2026
#
# Distributed under the terms of the MIT license.
#
@@ -10,6 +10,7 @@
import io
import sys
import unittest
+from platform import python_implementation
from tests import create_path_func, join_tests_path
from tests.aspects import PwbTestCase
@@ -101,6 +102,7 @@
self.assertEqual(stderr.readline().strip(),
'ERROR: pywikibot.py not found! Misspelling?')
+ @unittest.skipIf(python_implementation() == 'GraalVM', reason='T413711')
def test_one_similar_script(self) -> None:
"""Test shell.py script call which gives one similar result."""
result = [
@@ -120,6 +122,7 @@
with self.subTest(line=2):
self.assertEqual(stderr.readline().strip(), result[2])
+ @unittest.skipIf(python_implementation() == 'GraalVM', reason='T413711')
def test_similar_scripts_found(self) -> None:
"""Test script call which gives multiple similar results."""
result = [
--
To view, visit
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1225001?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.wikimedia.org/r/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: Iac9808c57e1459f30d8a734fd7502a025f4d90f2
Gerrit-Change-Number: 1225001
Gerrit-PatchSet: 2
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
Pywikibot-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]