Skip to content

Commit 7c9fe8b

Browse files
committed
Skip xz test if no lzma
1 parent 492e615 commit 7c9fe8b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pandas/io/tests/parser/test_network.py

+2
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ def test_compressed_urls(self):
4646
yield (test_fxn, url) + args
4747

4848
def check_table(self, url, compression, engine):
49+
if compression == 'xz':
50+
tm._skip_if_no_lzma()
4951
url_table = read_table(url, compression=compression, engine=engine)
5052
tm.assert_frame_equal(url_table, self.local_table)
5153

0 commit comments

Comments
 (0)