File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ def pytest_collection_modifyitems(config, items: List[Item]):
5858 should_run_integration = config .getoption ("--integration" ) is True
5959 should_run_benchmark = config .getoption ("--benchmark" ) is True
6060
61- integration_tests = { t for t in items if "integration" in t .keywords }
61+ integration_tests = [ t for t in items if "integration" in t .keywords ]
6262 if not should_run_integration :
6363 for t in integration_tests :
6464 items .remove (t )
@@ -67,7 +67,7 @@ def pytest_collection_modifyitems(config, items: List[Item]):
6767 for t in integration_tests :
6868 items .append (t )
6969
70- benchmark_tests = { t for t in items if "benchmark" in t .keywords }
70+ benchmark_tests = [ t for t in items if "benchmark" in t .keywords ]
7171 if not should_run_benchmark :
7272 for t in benchmark_tests :
7373 items .remove (t )
You can’t perform that action at this time.
0 commit comments