Skip to content

Commit

Permalink
Skip a test case if tablib not installed
Browse files Browse the repository at this point in the history
  • Loading branch information
thombashi committed May 5, 2019
1 parent 601b347 commit a8906d7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/writer/text/test_markdown_writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -1022,7 +1022,10 @@ def test_normal(self, tmpdir):

class Test_MarkdownTableWriter_from_tablib(object):
def test_normal_multiple_write(self, capsys):
import tablib
try:
import tablib
except ImportError:
pytest.skip("requires tablib")

data = tablib.Dataset()
data.headers = ["a", "b", "c"]
Expand Down

0 comments on commit a8906d7

Please sign in to comment.