commit | 4a90ef03637fdc1bc63ee9be82fbf22cbaa68662 | [log] [tgz] |
---|---|---|
author | Antoine Pitrou <solipsis@pitrou.net> | Sat Mar 03 02:35:32 2012 +0100 |
committer | Antoine Pitrou <solipsis@pitrou.net> | Sat Mar 03 02:35:32 2012 +0100 |
tree | f6424020b09897e21e82740669a5ea1d2583e9da | |
parent | 679e9d36f78de3ac18abaaddbcf4f73fcef55b7e [diff] [blame] |
Issue #14177: marshal.loads() now raises TypeError when given an unicode string. Patch by Guilherme Gonçalves.
diff --git a/Lib/test/test_exceptions.py b/Lib/test/test_exceptions.py index 0a7ddd4..7a2dd0c 100644 --- a/Lib/test/test_exceptions.py +++ b/Lib/test/test_exceptions.py
@@ -38,7 +38,7 @@ try: try: import marshal - marshal.loads('') + marshal.loads(b'') except EOFError: pass finally: