Change test_support.have_unicode to use True/False instead of 1/0.

This commit is contained in:
Collin Winter 2007-04-25 17:57:53 +00:00
parent bec754c2b5
commit 297996b7d3
1 changed files with 2 additions and 2 deletions

View File

@ -133,9 +133,9 @@ def fcmp(x, y): # fuzzy comparison function
try: try:
unicode unicode
have_unicode = 1 have_unicode = True
except NameError: except NameError:
have_unicode = 0 have_unicode = False
is_jython = sys.platform.startswith('java') is_jython = sys.platform.startswith('java')