Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix test
  • Loading branch information
mpage committed Apr 26, 2024
commit 99e3f854df936e98665a99f83eb36816f3be4a9c
2 changes: 1 addition & 1 deletion Lib/test/test_weakref.py
Original file line number Diff line number Diff line change
Expand Up @@ -1032,7 +1032,7 @@ def callback(obj):
_testcapi.set_nomemory(0)
del obj
""").strip()
res = script_helper.assert_python_failure("-c", code)
res = script_helper.assert_python_ok("-c", code)
stderr = res.err.decode("ascii", "backslashreplace")
self.assertNotRegex(stderr, "_Py_Dealloc: Deallocator of type")

Expand Down