commit | 7644ff1fb1860ffb5ce83342349f8b905dac633f | [log] [tgz] |
---|---|---|
author | Serhiy Storchaka <storchaka@gmail.com> | Sun Sep 14 17:40:44 2014 +0300 |
committer | Serhiy Storchaka <storchaka@gmail.com> | Sun Sep 14 17:40:44 2014 +0300 |
tree | fd105b733e3a2e77881c830bc1e30c96ecc5a178 | |
parent | ed5ea15bda1b0b47edf1354ee8a3e1e8bed0993c [diff] [blame] |
Now re tests work again on Unicode-disabled build. Simplified existing detections of Unicode-disabled build.
diff --git a/Lib/test/re_tests.py b/Lib/test/re_tests.py index 25b1229..0cf9241 100755 --- a/Lib/test/re_tests.py +++ b/Lib/test/re_tests.py
@@ -663,7 +663,7 @@ try: u = eval("u'\N{LATIN CAPITAL LETTER A WITH DIAERESIS}'") -except SyntaxError: +except (SyntaxError, ValueError): pass else: tests.extend([