]> granicus.if.org Git - python/commitdiff
Change test_support.have_unicode to use True/False instead of 1/0.
authorCollin Winter <collinw@gmail.com>
Wed, 25 Apr 2007 17:57:53 +0000 (17:57 +0000)
committerCollin Winter <collinw@gmail.com>
Wed, 25 Apr 2007 17:57:53 +0000 (17:57 +0000)
Lib/test/test_support.py

index f185dab88da86029d086afd12bb9577e10ff31d7..49d9a9a9570840968234ee768ed6b3c2febcf72b 100644 (file)
@@ -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')