]> granicus.if.org Git - python/commitdiff
Add two more space tests.
authorWalter Dörwald <walter@livinglogic.de>
Sat, 5 May 2007 16:04:46 +0000 (16:04 +0000)
committerWalter Dörwald <walter@livinglogic.de>
Sat, 5 May 2007 16:04:46 +0000 (16:04 +0000)
Lib/test/test_bool.py

index d55829253846d7c6fba470e431cfabf00cce79a6..5dc71cc1b449e3878465929e92858ea5f239cbea 100644 (file)
@@ -203,6 +203,8 @@ class BoolTest(unittest.TestCase):
         self.assertIs("0123".isnumeric(), True)
         self.assertIs("xyz".isnumeric(), False)
         self.assertIs(" ".isspace(), True)
+        self.assertIs("\xa0".isspace(), True)
+        self.assertIs("\u3000".isspace(), True)
         self.assertIs("XYZ".isspace(), False)
         self.assertIs("X".istitle(), True)
         self.assertIs("x".istitle(), False)