Skip to content

Commit 80e5825

Browse files
lexmingFlamefire
andauthored
avoid list conversion in test_search_path_cpp_headers
Co-authored-by: Alexander Grund <[email protected]>
1 parent 77a65ad commit 80e5825

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/framework/toolchain.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -988,7 +988,7 @@ def test_search_path_cpp_headers(self):
988988
f"Variable {env_var} required by search-path-cpp-headers toolchain option '{tc_opt}' "
989989
"not found in toolchain environment"
990990
)
991-
self.assertIn(env_var, [*tc.variables], assert_fail_msg)
991+
self.assertIn(env_var, tc.variables, assert_fail_msg)
992992
self.modtool.purge()
993993
# test wrong toolchain option
994994
tc = self.get_toolchain("foss", version="2018a")

0 commit comments

Comments
 (0)