Skip to content

Commit c577b8d

Browse files
committed
Hide the __call__ traceback in pytest failures.
1 parent e4ed674 commit c577b8d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pytest_helpers_namespace/plugin.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ def __call__(self, *args, **kwargs):
3939
'''
4040
This wrapper will just call the actual helper function
4141
'''
42+
__tracebackhide__ = True
4243
return self.func(*args, **kwargs)
4344

4445

0 commit comments

Comments
 (0)