[Python-checkins] cpython (2.7): Backported tests for issue #28070.
serhiy.storchaka
python-checkins at python.org
Sat Sep 10 18:43:34 EDT 2016
https://hg.python.org/cpython/rev/afc0d4478083
changeset: 103593:afc0d4478083
branch: 2.7
parent: 103584:168fe15798c6
user: Serhiy Storchaka <storchaka at gmail.com>
date: Sun Sep 11 01:39:51 2016 +0300
summary:
Backported tests for issue #28070.
files:
Lib/test/test_re.py | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/Lib/test/test_re.py b/Lib/test/test_re.py
--- a/Lib/test/test_re.py
+++ b/Lib/test/test_re.py
@@ -928,6 +928,9 @@
q = p.match(upper_char)
self.assertTrue(q)
+ self.assertTrue(re.match('(?ixu) ' + upper_char, lower_char))
+ self.assertTrue(re.match('(?ixu) ' + lower_char, upper_char))
+
def test_dollar_matches_twice(self):
"$ matches the end of string, and just before the terminating \n"
pattern = re.compile('$')
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list