Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
dromer committed Dec 1, 2024
1 parent c3ddda9 commit 9a4fd97
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
1 change: 0 additions & 1 deletion hvcc/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ def add_error(
results["hvcc"] = CompilerResp(stage="hvcc",
notifs=CompilerNotif(
has_error=True,
exception=None,
errors=[CompilerMsg(message=error)],
))
return results
Expand Down
3 changes: 0 additions & 3 deletions hvcc/interpreters/pd2hv/pd2hv.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ def compile(
obj_counter=parser.obj_counter,
notifs=CompilerNotif(
has_error=True,
exception=None,
errors=notices.errors,
warnings=notices.warnings
),
Expand Down Expand Up @@ -98,8 +97,6 @@ def compile(
stage="pd2hv",
obj_counter=parser.obj_counter,
notifs=CompilerNotif(
has_error=False,
exception=None,
warnings=notices.warnings
),
in_dir=os.path.dirname(pd_path),
Expand Down
2 changes: 1 addition & 1 deletion tests/framework/base_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def _run_hvcc(
pd_path,
expect_warning: bool = False,
expect_fail: bool = False,
expected_enum: NotificationEnum = NotificationEnum.WARNING_GENERIC
expected_enum: NotificationEnum = NotificationEnum.EMPTY
) -> Optional[str]:
"""Run hvcc on a Pd file. Returns the output directory.
"""
Expand Down

0 comments on commit 9a4fd97

Please sign in to comment.