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

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


http://hg.python.org/cpython/rev/eb0622dc8376
changeset: 87890:eb0622dc8376
parent: 87885:a3bdbe220f8a
parent: 87889:a0f9f0778ce3
user: Zachary Ware <zachary.ware at gmail.com>
date: Tue Dec 10 14:18:30 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

AltStyle によって変換されたページ (->オリジナル) /