We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b0c9f8 commit 9bbebd2Copy full SHA for 9bbebd2
1 file changed
test_snappy.py
@@ -69,12 +69,6 @@ def test_uncompress_error(self):
69
self.assertRaises(snappy.UncompressError, snappy.uncompress,
70
"hoa".encode('utf-8'))
71
72
- if sys.version_info[0] == 2:
73
- def test_unicode_compress(self):
74
- text = "hello unicode world!".decode('utf-8')
75
- compressed = snappy.compress(text)
76
- self.assertEqual(text, snappy.uncompress(compressed))
77
-
78
def test_decompress(self):
79
# decompress == uncompress, just to support compatibility with zlib
80
text = "hello world!".encode('utf-8')
0 commit comments