Commit 6eea789f authored by Walter Dörwald's avatar Walter Dörwald

Disable encoding/decoding test, if unicode is disabled.

parent 97bb8ad3
...@@ -737,6 +737,7 @@ class MixinStrUserStringTest: ...@@ -737,6 +737,7 @@ class MixinStrUserStringTest:
# Additional tests that only work with # Additional tests that only work with
# 8bit compatible object, i.e. str and UserString # 8bit compatible object, i.e. str and UserString
if test_support.have_unicode:
def test_encoding_decoding(self): def test_encoding_decoding(self):
codecs = [('rot13', 'uryyb jbeyq'), codecs = [('rot13', 'uryyb jbeyq'),
('base64', 'aGVsbG8gd29ybGQ=\n'), ('base64', 'aGVsbG8gd29ybGQ=\n'),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment