jenkins-bot has submitted this change. (
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1224990?usp=email )
Change subject: tests: Fix GraalPy Error message in BoundedThreadPoolTests
......................................................................
tests: Fix GraalPy Error message in BoundedThreadPoolTests
Bug: T414215
Change-Id: I38be235c3edb81b74c02858bb57502b9efa4640e
---
M tests/tools_threading_tests.py
1 file changed, 5 insertions(+), 2 deletions(-)
Approvals:
jenkins-bot: Verified
Xqt: Looks good to me, approved
diff --git a/tests/tools_threading_tests.py b/tests/tools_threading_tests.py
index b7998b0..3772311 100755
--- a/tests/tools_threading_tests.py
+++ b/tests/tools_threading_tests.py
@@ -1,7 +1,7 @@
#!/usr/bin/env python3
"""Tests for threading tools."""
#
-# (C) Pywikibot team, 2014-2024
+# (C) Pywikibot team, 2014-2026
#
# Distributed under the terms of the MIT license.
#
@@ -122,7 +122,10 @@
r"'concurrent\.futures\.Executor'"):
BoundedPoolExecutor(Executor)
with self.assertRaisesRegex(
- TypeError, "duplicate base class '?BoundedPoolExecutor'?"):
+ TypeError,
+ '(duplicate base class |consistent method resolution order.*)'
+ "'?BoundedPoolExecutor'?"
+ ):
BoundedPoolExecutor(BoundedPoolExecutor)
with self.assertRaisesRegex(ValueError, "Minimum 'max_bound' is 1"):
BoundedPoolExecutor('ThreadPoolExecutor', 0)
--
To view, visit
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1224990?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: I38be235c3edb81b74c02858bb57502b9efa4640e
Gerrit-Change-Number: 1224990
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]