diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2014-09-14 17:40:44 +0300 |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2014-09-14 17:40:44 +0300 |
commit | 7644ff1fb1860ffb5ce83342349f8b905dac633f (patch) | |
tree | fd105b733e3a2e77881c830bc1e30c96ecc5a178 /Lib/test/re_tests.py | |
parent | ed5ea15bda1b0b47edf1354ee8a3e1e8bed0993c (diff) | |
download | cpython-git-7644ff1fb1860ffb5ce83342349f8b905dac633f.tar.gz |
Now re tests work again on Unicode-disabled build.
Simplified existing detections of Unicode-disabled build.
Diffstat (limited to 'Lib/test/re_tests.py')
-rwxr-xr-x | Lib/test/re_tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/re_tests.py b/Lib/test/re_tests.py index 25b1229d63..0cf9241953 100755 --- a/Lib/test/re_tests.py +++ b/Lib/test/re_tests.py @@ -663,7 +663,7 @@ xyzabc try: u = eval("u'\N{LATIN CAPITAL LETTER A WITH DIAERESIS}'") -except SyntaxError: +except (SyntaxError, ValueError): pass else: tests.extend([ |