Skip to content

Commit cabeb7e

Browse files
committed
replace set([...]) with set literal
My IDE was complaining about this Signed-off-by: Patrick Roy <[email protected]>
1 parent 4352366 commit cabeb7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/framework/utils_cpu_templates.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def get_supported_cpu_templates():
2929
match get_cpu_vendor(), global_props.cpu_codename:
3030
# T2CL template is only supported on Cascade Lake and newer CPUs.
3131
case CpuVendor.INTEL, CpuModel.INTEL_SKYLAKE:
32-
return sorted(set(INTEL_TEMPLATES) - set(["T2CL"]))
32+
return sorted(set(INTEL_TEMPLATES) - {"T2CL"})
3333
case CpuVendor.INTEL, _:
3434
return INTEL_TEMPLATES
3535
case CpuVendor.AMD, _:

0 commit comments

Comments
 (0)