Skip to content

Commit dc12241

Browse files
test fix: more generic to work on Python < 3.12
1 parent 81c6915 commit dc12241

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

tests/python/test_functions_this.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,5 +216,4 @@ def some_method():
216216
assert (False)
217217
except Exception as e:
218218
assert str(type(e)) == "<class 'pythonmonkey.SpiderMonkeyError'>"
219-
assert str(e).__contains__('TypeError:')
220219
assert str(e).__contains__('takes 0 positional arguments but 1 was given')

0 commit comments

Comments
 (0)