mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
fix isprintable() on space characters #5126
This commit is contained in:
parent
59406a9d85
commit
09832740d1
4 changed files with 952 additions and 947 deletions
|
@ -424,6 +424,7 @@ class UnicodeTest(
|
|||
|
||||
def test_isprintable(self):
|
||||
self.assertTrue("".isprintable())
|
||||
self.assertTrue(" ".isprintable())
|
||||
self.assertTrue("abcdefg".isprintable())
|
||||
self.assertFalse("abcdefg\n".isprintable())
|
||||
# some defined Unicode character
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue