summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_reprlib.py
diff options
context:
space:
mode:
authorZachary Ware <zachary.ware@gmail.com>2013-12-10 20:18:30 (GMT)
committerZachary Ware <zachary.ware@gmail.com>2013-12-10 20:18:30 (GMT)
commit7f7f3d7879c0e087101a969060e5dc0505ec270b (patch)
treeb2aa74aa6e7edc1b5f6e449f089095899cb65c12 /Lib/test/test_reprlib.py
parent20719ace97d93fad7f5a03ba5eea8168fd42caff (diff)
parentea6854a9efe009201caea7ce7f05b0f21240b75a (diff)
downloadcpython-7f7f3d7879c0e087101a969060e5dc0505ec270b.zip
cpython-7f7f3d7879c0e087101a969060e5dc0505ec270b.tar.gz
cpython-7f7f3d7879c0e087101a969060e5dc0505ec270b.tar.bz2
Issue #19928: Fix test on Windows
Diffstat (limited to 'Lib/test/test_reprlib.py')
-rw-r--r--Lib/test/test_reprlib.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_reprlib.py b/Lib/test/test_reprlib.py
index 9cf54e7..ae67f06 100644
--- a/Lib/test/test_reprlib.py
+++ b/Lib/test/test_reprlib.py
@@ -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):