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 bf279d3 commit 70f5433Copy full SHA for 70f5433
1 file changed
Lib/test/test_capi/test_object.py
@@ -297,8 +297,8 @@ def test_pyobject_dump(self):
297
# test NULL object
298
output = self.pyobject_dump(NULL)
299
hex_regex = r'(0x)?[0-9a-fA-F]+'
300
- self.assertEqual(output,
301
- '<object at (nil) is freed>')
+ self.assertRegex(output,
+ r'<object at (\(nil\)|0x0|0+) is freed>')
302
303
304
if __name__ == "__main__":
0 commit comments