Commit ea6854a9 authored by Zachary Ware's avatar Zachary Ware

Issue #19928: Fix test on Windows

parent d082b687
......@@ -173,8 +173,8 @@ class ReprTests(unittest.TestCase):
return x
return inner
x = get_cell().__closure__[0]
self.assertRegex(repr(x),
r'<cell at 0x[0-9a-f]+: int object at 0x[0-9a-f]+>')
self.assertRegex(repr(x), r'<cell at 0x[0-9A-Fa-f]+: '
r'int object at 0x[0-9A-Fa-f]+>')
self.assertRegex(r(x), r'<cell at 0x.*\.\.\..*>')
def test_descriptors(self):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment