Skip to content

Commit

Permalink
Merge pull request #4950 from neutrinoceros/tst/windows/skip_flaky_test
Browse files Browse the repository at this point in the history
TST: skip a flaky test on Windows
  • Loading branch information
neutrinoceros authored Jul 23, 2024
2 parents 1432210 + 7244bff commit c86781b
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 c86781b

Please sign in to comment.