Skip to content

Commit 9bbebd2

Browse files
committed
Remove Python 2 test
1 parent 3b0c9f8 commit 9bbebd2

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

test_snappy.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -69,12 +69,6 @@ def test_uncompress_error(self):
6969
self.assertRaises(snappy.UncompressError, snappy.uncompress,
7070
"hoa".encode('utf-8'))
7171

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-
7872
def test_decompress(self):
7973
# decompress == uncompress, just to support compatibility with zlib
8074
text = "hello world!".encode('utf-8')

0 commit comments

Comments
 (0)