mirror of
https://github.com/python/cpython.git
synced 2025-09-27 02:39:58 +00:00
Disable encoding/decoding test, if unicode is disabled.
This commit is contained in:
parent
97bb8ad394
commit
6eea789fd2
1 changed files with 20 additions and 19 deletions
|
@ -737,6 +737,7 @@ class MixinStrUserStringTest:
|
|||
# Additional tests that only work with
|
||||
# 8bit compatible object, i.e. str and UserString
|
||||
|
||||
if test_support.have_unicode:
|
||||
def test_encoding_decoding(self):
|
||||
codecs = [('rot13', 'uryyb jbeyq'),
|
||||
('base64', 'aGVsbG8gd29ybGQ=\n'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue