Skip to content

Commit

Permalink
pyverilog: fix assert syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
ekiwi committed Jan 16, 2024
1 parent 08d22b3 commit a30ee59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyverilog/vparser/preprocessor.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def preprocess(self):
os.remove(temp_file_path)

def read_output(self, remove: bool) -> str:
assert(os.path.isfile(self.outputfile), f"{self.outputfile} does not exist or is not a file!")
assert os.path.isfile(self.outputfile), f"{self.outputfile} does not exist or is not a file!"
with open(self.outputfile) as f:
text = f.read()
if remove:
Expand Down

0 comments on commit a30ee59

Please sign in to comment.