From 900477fe7f476f94bb3c2c44c22439926deeae72 Mon Sep 17 00:00:00 2001 From: Kai Knoblich <43905002+knobix@users.noreply.github.com> Date: Sat, 18 Sep 2021 14:05:01 +0200 Subject: [PATCH] Skip two checks for BSD * Test "test_delete_self()" was tested only on Darwin platforms with release 0.10.6 * Test "file_lifecyle" was introduced in the 2.0.0 release --- tests/test_emitter.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_emitter.py b/tests/test_emitter.py index d7e19b36..bec052c8 100644 --- a/tests/test_emitter.py +++ b/tests/test_emitter.py @@ -355,6 +355,7 @@ def test_separate_consecutive_moves(): @pytest.mark.flaky(max_runs=5, min_passes=1, rerun_filter=rerun_filter) +@pytest.mark.skipif(platform.is_bsd(), reason="BSD create another set of events for this test") def test_delete_self(): mkdir(p('dir1')) start_watching(p('dir1')) @@ -642,6 +643,7 @@ def test_move_nested_subdirectories_on_windows(): @pytest.mark.flaky(max_runs=5, min_passes=1, rerun_filter=rerun_filter) +@pytest.mark.skipif(platform.is_bsd(), reason="BSD create another set of events for this test") def test_file_lifecyle(): start_watching()