[Python-checkins] cpython (3.3): Issue #19928: Fix test on Windows

zach.ware python-checkins at python.org
Tue Dec 10 21:18:57 CET 2013


http://hg.python.org/cpython/rev/a0f9f0778ce3
changeset:   87889:a0f9f0778ce3
branch:      3.3
parent:      87884:9f38bbd4e041
user:        Zachary Ware <zachary.ware at gmail.com>
date:        Tue Dec 10 14:17:22 2013 -0600
summary:
  Issue #19928: Fix test on Windows

files:
  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
--- a/Lib/test/test_reprlib.py
+++ b/Lib/test/test_reprlib.py
@@ -173,8 +173,8 @@
                 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):

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list