Damien George
7 years ago
1 changed files with 0 additions and 11 deletions
@ -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') |
Loading…
Reference in new issue