Commit 7644ff1f authored by Serhiy Storchaka's avatar Serhiy Storchaka

Now re tests work again on Unicode-disabled build.

Simplified existing detections of Unicode-disabled build.
parent ed5ea15b
......@@ -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([
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment