Skip to content

Commit dc63b94

Browse files
authored
Update test_xcpp_kernel.py
1 parent b63e522 commit dc63b94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_xcpp_kernel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,11 +267,11 @@ def test_xcpp_omp(self):
267267
kernel_names = ['xcpp17-omp', 'xcpp20-omp', 'xcpp23-omp', 'xc11-omp', 'xc17-omp', 'xc23-omp']
268268

269269
for name in kernel_names:
270-
class_name = f"XCppOpenMPTests_{name}"
271270
if 'xcpp' in name:
272271
language_name = 'C++'
273272
else:
274273
language_name = 'c'
274+
class_name = f"XCppOpenMPTests_{name}"
275275
globals()[class_name] = type(
276276
class_name,
277277
(BaseXCppOpenMPTests,),

0 commit comments

Comments
 (0)