We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b98c9b2 commit 376a186Copy full SHA for 376a186
1 file changed
Lib/test/test_capi/test_object.py
@@ -296,9 +296,7 @@ def test_pyobject_dump(self):
296
297
# test NULL object
298
output = self.pyobject_dump(NULL)
299
- hex_regex = r'(0x)?[0-9a-fA-F]+'
300
- self.assertRegex(output,
301
- r'<object at (\(nil\)|0x0|0+) is freed>')
+ self.assertRegex(output, r'<object at .* is freed>')
302
303
304
if __name__ == "__main__":
0 commit comments