Skip to content

Commit c0dddc2

Browse files
committed
fix: use set literal
1 parent cb0398d commit c0dddc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deepaas/cmd/deepaas_test_v2_v3.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ def pytest_addoption(parser):
292292

293293
def pytest_generate_tests(metafunc):
294294
"""Generate test configurations."""
295-
if set(["old_api_url", "new_api_url", "model_name", "debug"]).intersection(
295+
if {"old_api_url", "new_api_url", "model_name", "debug"}.intersection(
296296
metafunc.fixturenames
297297
):
298298
old_api_url = metafunc.config.getoption("old_api_base_url")

0 commit comments

Comments
 (0)