We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 973a2d8 commit ae3d0d0Copy full SHA for ae3d0d0
pandas/tests/io/parser/common.py
@@ -750,6 +750,15 @@ def test_utf16_example(self):
750
result = self.read_table(buf, encoding='utf-16')
751
assert len(result) == 50
752
753
+ def test_compressed_utf16_example(self):
754
+ path = tm.get_data_path('utf16_ex.zip')
755
+ expected_path = tm.get_data_path('utf16_ex.txt')
756
+
757
+ result = self.read_table(path, encoding='utf-16', compression='zip')
758
+ expected = self.read_table(expected_path, encoding='utf-16')
759
760
+ tm.assert_frame_equal(result, expected)
761
762
def test_unicode_encoding(self):
763
pth = tm.get_data_path('unicode_series.csv')
764
pandas/tests/io/parser/data/utf16_ex.zip
1.64 KB
0 commit comments