summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/test/test_descr.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/test/test_descr.py b/Lib/test/test_descr.py
index 0de4dec..fea3255 100644
--- a/Lib/test/test_descr.py
+++ b/Lib/test/test_descr.py
@@ -1442,6 +1442,10 @@ def inherits():
#XXX verify(str(s) == "12345")
verify(str(s).__class__ is str)
+ s = madstring("\x00" * 5)
+ #XXX verify(str(s) == "\x00" ( 5)
+ verify(str(s).__class__ is str)
+
class madunicode(unicode):
_rev = None
def rev(self):