Skip to content
This repository has been archived by the owner on Sep 12, 2024. It is now read-only.

Commit

Permalink
yet to be modified
Browse files Browse the repository at this point in the history
  • Loading branch information
Sivasuthan9 committed Jan 29, 2024
1 parent 445a003 commit 236264d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jaclang/plugin/default.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ def test_deco() -> None:

@staticmethod
@hookimpl
def run_test(filename: str) -> None:
def run_test(self,filename: str) -> None:
"""Run the test suite in the specified .jac file.
:param filename: The path to the .jac file.
Expand All @@ -197,7 +197,7 @@ def run_test(filename: str) -> None:
base = base if base else "./"
mod_name = mod_name[:-4]
JacTestCheck.reset()
jac_import(target=mod_name, base_path=base)
self.jac_import(target=mod_name, base_path=base)
JacTestCheck.run_test()
else:
print("Not a .jac file.")
Expand Down

0 comments on commit 236264d

Please sign in to comment.