diff options
author | Benjamin Peterson <benjamin@python.org> | 2014-04-02 19:52:04 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2014-04-02 19:52:04 (GMT) |
commit | 9f0218bebeca959392b9d50968cd7fb178610f83 (patch) | |
tree | fe438109223fde280362de63d9affbec5743ceeb /Lib | |
parent | d818fc9205d9121cde28a9cc2123772fcc531f29 (diff) | |
parent | e331121e1f6e4f754f2d25c32e1b738df2f4404a (diff) | |
download | cpython-9f0218bebeca959392b9d50968cd7fb178610f83.zip cpython-9f0218bebeca959392b9d50968cd7fb178610f83.tar.gz cpython-9f0218bebeca959392b9d50968cd7fb178610f83.tar.bz2 |
merge 3.4
Diffstat (limited to 'Lib')
-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 61347de..28801bd 100644 --- a/Lib/test/test_exceptions.py +++ b/Lib/test/test_exceptions.py @@ -802,7 +802,7 @@ class ExceptionTests(unittest.TestCase): def test_unicode_errors_no_object(self): # See issue #21134. - klasses = UnicodeDecodeError, UnicodeDecodeError, UnicodeTranslateError + klasses = UnicodeEncodeError, UnicodeDecodeError, UnicodeTranslateError for klass in klasses: self.assertEqual(str(klass.__new__(klass)), "") |