Skip to content

Commit 737a1bf

Browse files
authored
Merge pull request #5341 from blueyed/auto-slow
tests: conftest: auto-add slow marker
2 parents 843ca03 + 28bf381 commit 737a1bf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

testing/conftest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ def pytest_collection_modifyitems(config, items):
3030
slowest_items.append(item)
3131
else:
3232
slow_items.append(item)
33+
item.add_marker(pytest.mark.slow)
3334
else:
3435
marker = item.get_closest_marker("slow")
3536
if marker:

0 commit comments

Comments
 (0)