We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e0fa0a commit f8a7900Copy full SHA for f8a7900
pandas/io/tests/parser/compression.py
@@ -114,12 +114,8 @@ def test_bz2(self):
114
path, compression='bz3')
115
116
with open(path, 'rb') as fin:
117
- if compat.PY3:
118
- result = self.read_csv(fin, compression='bz2')
119
- tm.assert_frame_equal(result, expected)
120
- elif self.engine is not 'python':
121
- self.assertRaises(ValueError, self.read_csv,
122
- fin, compression='bz2')
+ result = self.read_csv(fin, compression='bz2')
+ tm.assert_frame_equal(result, expected)
123
124
with tm.ensure_clean('test.bz2') as path:
125
tmp = bz2.BZ2File(path, mode='wb')
0 commit comments