tests/cpydiff: Remove types_str_decodeerror now that it succeeds.

Commit 68c28174d0 implemented checking for
valid utf-8 data.
pull/3767/head
Damien George 2018-05-04 22:27:14 +10:00
rodzic 4b5111f8e1
commit cd9d71edc8
1 zmienionych plików z 0 dodań i 11 usunięć

Wyświetl plik

@ -1,11 +0,0 @@
"""
categories: Types,str
description: UnicodeDecodeError not raised when expected
cause: Unknown
workaround: Unknown
"""
try:
print(repr(str(b"\xa1\x80", 'utf8')))
print('Should not get here')
except UnicodeDecodeError:
print('UnicodeDecodeError')