Skip to content

Commit 8c3d68a

Browse files
committed
Merge pull request #3 from lsglick/hide-call-traceback
Hide the `__call__` traceback in pytest failures.
2 parents e4ed674 + c577b8d commit 8c3d68a

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)