diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2012-03-03 02:38:37 +0100 |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2012-03-03 02:38:37 +0100 |
commit | 0d3a003f241460e417f2108fecf990b7ce5d1449 (patch) | |
tree | 8f773e6a59bd4a5244f1025b870d294ccd4eb17e /Lib/test/test_exceptions.py | |
parent | 135b6d8aa5a24b08170fd94114a80dfeb1ae963c (diff) | |
parent | 4a90ef03637fdc1bc63ee9be82fbf22cbaa68662 (diff) | |
download | cpython-git-0d3a003f241460e417f2108fecf990b7ce5d1449.tar.gz |
- Issue #14177: marshal.loads() now raises TypeError when given an unicode
string. Patch by Guilherme Gonçalves.
Diffstat (limited to 'Lib/test/test_exceptions.py')
-rw-r--r-- | Lib/test/test_exceptions.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_exceptions.py b/Lib/test/test_exceptions.py index 91d85ef779..42536d3b7c 100644 --- a/Lib/test/test_exceptions.py +++ b/Lib/test/test_exceptions.py @@ -38,7 +38,7 @@ class ExceptionTests(unittest.TestCase): try: try: import marshal - marshal.loads('') + marshal.loads(b'') except EOFError: pass finally: |