mirror of
https://github.com/python/cpython
synced 2026-09-29 11:35:29 +03:00
Add two more space tests.
This commit is contained in:
parent
20badb31b4
commit
9bc47120d3
1 changed files with 2 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue