Skip to content

Commit a8f0565

Browse files
author
collin.winter
committed
Change test_support.have_unicode to use True/False instead of 1/0.
git-svn-id: http://svn.python.org/projects/python/trunk@54958 6015fed2-1504-0410-9fe1-9d1591cc4771
1 parent d612822 commit a8f0565

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Lib/test/test_support.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,9 +133,9 @@ def fcmp(x, y): # fuzzy comparison function
133133

134134
try:
135135
unicode
136-
have_unicode = 1
136+
have_unicode = True
137137
except NameError:
138-
have_unicode = 0
138+
have_unicode = False
139139

140140
is_jython = sys.platform.startswith('java')
141141

0 commit comments

Comments
 (0)