From: Walter Dörwald Date: Sat, 5 May 2007 16:04:46 +0000 (+0000) Subject: Add two more space tests. X-Git-Tag: v3.0a1~1005 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9bc47120d370aa7f621013bcfa1e0b3f1b31505f;p=python Add two more space tests. --- diff --git a/Lib/test/test_bool.py b/Lib/test/test_bool.py index d558292538..5dc71cc1b4 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)