summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_support.py
diff options
context:
space:
mode:
authorCollin Winter <collinw@gmail.com>2007-04-25 17:57:53 (GMT)
committerCollin Winter <collinw@gmail.com>2007-04-25 17:57:53 (GMT)
commit297996b7d372118dcf18d9a1dee9466caca08848 (patch)
treeae7b6d3a322186cc0ec9cd381cd998b69ee4daf7 /Lib/test/test_support.py
parentbec754c2b5d35d1d78aec86b0ffff229a74e55b6 (diff)
downloadcpython-297996b7d372118dcf18d9a1dee9466caca08848.zip
cpython-297996b7d372118dcf18d9a1dee9466caca08848.tar.gz
cpython-297996b7d372118dcf18d9a1dee9466caca08848.tar.bz2
Change test_support.have_unicode to use True/False instead of 1/0.
Diffstat (limited to 'Lib/test/test_support.py')
-rw-r--r--Lib/test/test_support.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_support.py b/Lib/test/test_support.py
index f185dab..49d9a9a 100644
--- a/Lib/test/test_support.py
+++ b/Lib/test/test_support.py
@@ -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')