Skip to content

Commit

Permalink
Use skipif to skip test on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
eliasdabbas committed Oct 31, 2023
1 parent 1a38bf4 commit 1821b5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_header_spider.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ def test_crawl_headers_raises_on_wrong_file_extension():


@pytest.mark.parametrize("column", ["url", "crawl_time", "status"])
@pytest.mark.skipif(platform.system() == "Windows", reason="Skip if on Windows")
def test_crawl_headers_returns_df(headers_crawl_df, column):
if platform.system() != "Windows":
assert column in headers_crawl_df
assert column in headers_crawl_df

0 comments on commit 1821b5e

Please sign in to comment.