Skip to content

Commit

Permalink
tests: improve flakyness + clean-up
Browse files Browse the repository at this point in the history
  • Loading branch information
BoboTiG committed Jul 28, 2024
1 parent 206843c commit 4043ef0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
1 change: 1 addition & 0 deletions tests/test_0_watchmedo.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ def test_auto_restart_on_file_change_debounce(tmpdir, capfd):
assert trick.restart_count == 2


@pytest.mark.flaky(max_runs=5, min_passes=1)
@pytest.mark.parametrize(
"restart_on_command_exit",
[
Expand Down
6 changes: 1 addition & 5 deletions tests/test_skip_repeats_queue.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,6 @@ def test_consecutives_allowed_across_empties():

@cpython_only
def test_eventlet_monkey_patching():
try:
import eventlet # type: ignore[import-untyped]
except Exception:
pytest.skip("eventlet not installed")

eventlet = pytest.importorskip("eventlet")
eventlet.monkey_patch()
basic_actions()

0 comments on commit 4043ef0

Please sign in to comment.