Skip to content

Commit 4338ac0

Browse files
committed
Try to fix test on Windows
1 parent 8abec04 commit 4338ac0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_capi/test_object.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ def test_pyobject_dump(self):
275275
with open(filename) as fp:
276276
output = fp.read()
277277

278-
hex_regex = r'0x[0-9a-fA-F]+'
278+
hex_regex = r'(0x)?[0-9a-fA-F]+'
279279
self.assertRegex(output.rstrip(),
280280
fr"object address : {hex_regex}\n"
281281
r"object refcount : [0-9]+\n"

0 commit comments

Comments
 (0)