summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_bool.py
diff options
context:
space:
mode:
authorWalter Dörwald <walter@livinglogic.de>2007-05-05 16:04:46 (GMT)
committerWalter Dörwald <walter@livinglogic.de>2007-05-05 16:04:46 (GMT)
commit9bc47120d370aa7f621013bcfa1e0b3f1b31505f (patch)
treee089d66aed28e11919d94cf6e9d81cec84ad324e /Lib/test/test_bool.py
parent20badb31b47b2e47d56dd93c209ebfc2d303c016 (diff)
downloadcpython-9bc47120d370aa7f621013bcfa1e0b3f1b31505f.zip
cpython-9bc47120d370aa7f621013bcfa1e0b3f1b31505f.tar.gz
cpython-9bc47120d370aa7f621013bcfa1e0b3f1b31505f.tar.bz2
Add two more space tests.
Diffstat (limited to 'Lib/test/test_bool.py')
-rw-r--r--Lib/test/test_bool.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_bool.py b/Lib/test/test_bool.py
index d558292..5dc71cc 100644
--- a/Lib/test/test_bool.py
+++ b/Lib/test/test_bool.py
@@ -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)