Skip to content

Commit 295e295

Browse files
authored
Merge pull request #78 from mgorny/flaky-mark
Replace `@flaky.flaky` decorate with pytest marker
2 parents 437a3f3 + 90d269a commit 295e295

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/test_watchers.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
import time
1919

2020
# Third party imports
21-
from flaky import flaky
2221
import pytest
2322

2423
# Local imports
@@ -43,7 +42,7 @@ def __call__(self, *args, **kwargs):
4342
@pytest.mark.parametrize(
4443
'Watcher', (PollingWatcher, QtWatcher),
4544
)
46-
@flaky(max_runs=3)
45+
@pytest.mark.flaky(max_runs=3)
4746
def test_watchers(Watcher, tmpdir):
4847
"""Stress test Watcher implementations"""
4948

0 commit comments

Comments
 (0)