Skip to content

Commit 4fad8d2

Browse files
authored
counteract flaky test (#1409)
1 parent a1328bd commit 4fad8d2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

mne_bids/tests/test_path.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -228,8 +228,8 @@ def test_path_benchmark(tmp_path_factory):
228228
number=1,
229229
)
230230

231-
# while this should be of same order, lets give it some space by a factor of 2
232-
target = 2 * timed_all / len(bids_subdirectories)
231+
# while this should be of same order, lets give it some space by a factor of 3
232+
target = 3 * timed_all / len(bids_subdirectories)
233233
assert timed_ignored_nosub < target
234234

235235
# apply include_match on get_entity_vals with root level bids directory should
@@ -245,8 +245,8 @@ def test_path_benchmark(tmp_path_factory):
245245
number=1,
246246
)
247247

248-
# while this should be of same order, lets give it some space by a factor of 2
249-
target = 2 * timed_entity / len(bids_subdirectories)
248+
# while this should be of same order, lets give it some space by a factor of 3
249+
target = 3 * timed_entity / len(bids_subdirectories)
250250
assert timed_entity_match < target
251251

252252
# and these should be equivalent

0 commit comments

Comments
 (0)