Kaydet (Commit) 7644ff1f authored tarafından Serhiy Storchaka's avatar Serhiy Storchaka

Now re tests work again on Unicode-disabled build.

Simplified existing detections of Unicode-disabled build.
üst ed5ea15b
...@@ -663,7 +663,7 @@ xyzabc ...@@ -663,7 +663,7 @@ xyzabc
try: try:
u = eval("u'\N{LATIN CAPITAL LETTER A WITH DIAERESIS}'") u = eval("u'\N{LATIN CAPITAL LETTER A WITH DIAERESIS}'")
except SyntaxError: except (SyntaxError, ValueError):
pass pass
else: else:
tests.extend([ 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