Skip to content

Commit

Permalink
- fixed error message;
Browse files Browse the repository at this point in the history
  • Loading branch information
jaltmayerpizzorno committed Oct 26, 2023
1 parent 862fd44 commit bf6bfe5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/slipcover/importer.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ def redirect_calls(module, funcName, funcWrapperName):
import ast
import types

assert funcWrapperName not in module.__dict__, f"function {funcWrapperName} name already defined"
assert funcWrapperName not in module.__dict__, f"function {funcWrapperName} already defined"

with open(module.__file__) as f:
t = ast.parse(f.read())
Expand Down

0 comments on commit bf6bfe5

Please sign in to comment.