summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2009-03-26 17:15:46 (GMT)
committerBenjamin Peterson <benjamin@python.org>2009-03-26 17:15:46 (GMT)
commit09832740d18cef349bf53e058ffbfe1f0a954803 (patch)
tree53c15807802ec9b8a21233f05616b693f940c37f /Lib/test
parent59406a9d857f3060f21269266a14a778aebf9904 (diff)
downloadcpython-09832740d18cef349bf53e058ffbfe1f0a954803.zip
cpython-09832740d18cef349bf53e058ffbfe1f0a954803.tar.gz
cpython-09832740d18cef349bf53e058ffbfe1f0a954803.tar.bz2
fix isprintable() on space characters #5126
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_unicode.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_unicode.py b/Lib/test/test_unicode.py
index b40ee84..1fddc06 100644
--- a/Lib/test/test_unicode.py
+++ b/Lib/test/test_unicode.py
@@ -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