Skip to content

Commit

Permalink
#2854 fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
arporter committed Jan 30, 2025
1 parent a7d22af commit 2afdc19
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ def check_data_accesses(call, kernel_schedule, kname, kern_or_call):
if symbol.is_unresolved:
raise KeyError(
f"Failed to resolve the type of Symbol "
f"'{sym.name}'")
f"'{symbol.name}'")
except KeyError as err:
raise TransformationError(
f"{kern_or_call} '{kname}' contains accesses to "
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ def test_kernelimportstoargumentstrans_no_wildcard_import():
''' Check that the transformation rejects kernels with wildcard
imports. '''
trans = KernelImportsToArguments()
path = os.path.join(BASEPATH, "gocean1p0")
psy, invoke_info = get_invoke(
"single_invoke_kern_with_unqualified_use.f90", idx=0, api=API)
kernel = invoke_info.schedule.coded_kernels()[0]
Expand Down

0 comments on commit 2afdc19

Please sign in to comment.