Skip to content

Commit

Permalink
skip another
Browse files Browse the repository at this point in the history
  • Loading branch information
Kludex committed Dec 14, 2024
1 parent 937c537 commit 251d729
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tests/supervisors/test_reload.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,12 @@ def test_should_not_reload_when_python_file_in_excluded_subdir_is_changed(self,

reloader.shutdown()

@pytest.mark.parametrize("reloader_class, result", [(StatReload, False), (WatchFilesReload, True)])
def test_reload_when_pattern_matched_file_is_changed(self, result: bool, touch_soon: Callable[[Path], None]):
@pytest.mark.parametrize(
"reloader_class, result", [(StatReload, False), pytest.param((WatchFilesReload, True), marks=skip_non_linux)]
)
def test_reload_when_pattern_matched_file_is_changed(
self, result: bool, touch_soon: Callable[[Path], None]
): # pragma: py-not-linux
file = self.reload_path / "app" / "js" / "main.js"

with as_cwd(self.reload_path):
Expand Down

0 comments on commit 251d729

Please sign in to comment.