Skip to content

Commit 582087d

Browse files
committed
use lists instead of sets for iteration order
Signed-off-by: Achal Shah <achals@gmail.com>
1 parent d04ee09 commit 582087d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

sdk/python/tests/conftest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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)

0 commit comments

Comments
 (0)