Skip to content

Commit

Permalink
TST: skip a flaky test on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
neutrinoceros committed Jul 21, 2024
1 parent a093170 commit 7244bff
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions yt/tests/test_load_sample.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,12 @@ def test_load_sample_small_dataset(
)


@pytest.mark.skipif(
sys.platform.startswith("win"),
# flakyness is probably due to Windows' infamous lack of time resolution
# overall, this test doesn't seem worth it.
reason="This test is flaky on Windows",
)
@requires_module_pytest("pandas", "pooch")
@pytest.mark.usefixtures("capturable_logger")
def test_load_sample_timeout(tmp_data_dir, caplog):
Expand Down

0 comments on commit 7244bff

Please sign in to comment.