diff options
author | Zachary Ware <zachary.ware@gmail.com> | 2013-12-10 20:17:22 (GMT) |
---|---|---|
committer | Zachary Ware <zachary.ware@gmail.com> | 2013-12-10 20:17:22 (GMT) |
commit | ea6854a9efe009201caea7ce7f05b0f21240b75a (patch) | |
tree | a9b72db66ca72d7fd43f2656dee67c0961e0cc47 | |
parent | d082b6878637bbbc81b6c4befac13872432585d1 (diff) | |
download | cpython-ea6854a9efe009201caea7ce7f05b0f21240b75a.zip cpython-ea6854a9efe009201caea7ce7f05b0f21240b75a.tar.gz cpython-ea6854a9efe009201caea7ce7f05b0f21240b75a.tar.bz2 |
Issue #19928: Fix test on Windows
-rw-r--r-- | Lib/test/test_reprlib.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_reprlib.py b/Lib/test/test_reprlib.py index 3687de9..c233b1d 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): |