Change test_support.have_unicode to use True/False instead of 1/0.
This commit is contained in:
parent
bec754c2b5
commit
297996b7d3
|
@ -133,9 +133,9 @@ def fcmp(x, y): # fuzzy comparison function
|
|||
|
||||
try:
|
||||
unicode
|
||||
have_unicode = 1
|
||||
have_unicode = True
|
||||
except NameError:
|
||||
have_unicode = 0
|
||||
have_unicode = False
|
||||
|
||||
is_jython = sys.platform.startswith('java')
|
||||
|
||||
|
|
Loading…
Reference in New Issue