Skip to content

Commit

Permalink
Skip xz test if no lzma
Browse files Browse the repository at this point in the history
  • Loading branch information
dhimmel committed Dec 4, 2016
1 parent d893eab commit e133024
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pandas/io/tests/parser/test_network.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ def test_compressed_urls(self):
yield (test_fxn, url) + args

def check_table(self, url, compression, engine):
if compression == 'xz':
tm._skip_if_no_lzma():
url_table = read_table(url, compression=compression, engine=engine)
tm.assert_frame_equal(url_table, self.local_table)

Expand Down

0 comments on commit e133024

Please sign in to comment.