Issue #19928: Fix test on Windows
diff --git a/Lib/test/test_repr.py b/Lib/test/test_repr.py
index a0e4b1f..3e1e890 100644
--- a/Lib/test/test_repr.py
+++ b/Lib/test/test_repr.py
@@ -185,8 +185,8 @@
return x
return inner
x = get_cell().__closure__[0]
- self.assertRegexpMatches(repr(x), r'<cell at 0x[0-9a-f]+: '
- r'int object at 0x[0-9a-f]+>')
+ self.assertRegexpMatches(repr(x), r'<cell at 0x[0-9A-Fa-f]+: '
+ r'int object at 0x[0-9A-Fa-f]+>')
self.assertRegexpMatches(r(x), r'<cell at.*\.\.\..*>')
def test_descriptors(self):