Skip to content

Commit 0bcfa6b

Browse files
committed
Fix SyntaxWarning
1 parent a3624d9 commit 0bcfa6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graalpython/com.oracle.graal.python.test/src/tests/test_interop.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@ def test_java_class(self):
482482
assert isinstance(l, ArrayList)
483483
self.assertEqual(getattr(ArrayList, 'class'), l.getClass())
484484

485-
with self.assertRaisesRegex(TypeError, "__call__\(\) got an unexpected keyword argument 'kwarg'"):
485+
with self.assertRaisesRegex(TypeError, r"__call__\(\) got an unexpected keyword argument 'kwarg'"):
486486
ArrayList(kwarg=42)
487487

488488
def test_java_exceptions(self):

0 commit comments

Comments
 (0)