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 36ef227 commit 50f5277Copy full SHA for 50f5277
pandas/io/tests/test_parsers.py
@@ -1799,12 +1799,14 @@ def test_pure_python_failover(self):
1799
tm.assert_frame_equal(result, expected)
1800
1801
def test_decompression(self):
1802
- data = open(self.csv1, 'rb').read()
+ try:
1803
+ import gzip, bz2
1804
+ except ImportError:
1805
+ raise nose.SkipTest
1806
1807
+ data = open(self.csv1, 'rb').read()
1808
expected = self.read_csv(self.csv1)
1809
- import gzip, bz2
-
1810
try:
1811
tmp = gzip.GzipFile('__tmp__', mode='wb')
1812
tmp.write(data)
0 commit comments