Add two more space tests.

This commit is contained in:
Walter Dörwald 2007-05-05 16:04:46 +00:00
parent 20badb31b4
commit 9bc47120d3

View 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)