[Python-checkins] cpython (2.7): Issue #19928: Fix test on Windows
zach.ware
python-checkins at python.org
Tue Dec 10 21:18:56 CET 2013
http://hg.python.org/cpython/rev/21a9abf6d428
changeset: 87888:21a9abf6d428
branch: 2.7
user: Zachary Ware <zachary.ware at gmail.com>
date: Tue Dec 10 14:14:28 2013 -0600
summary:
Issue #19928: Fix test on Windows
files:
Lib/test/test_repr.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Lib/test/test_repr.py b/Lib/test/test_repr.py
--- 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):
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list