diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2021-07-20 06:50:43 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2021-07-20 05:32:28 -0700 |
commit | de38a0e74a8683a3d3381038aeee4d226cc5b714 (patch) | |
tree | a9da9b7aa46dbe051e2c4b66e5d0f7d74233c972 /tests/coveragetest.py | |
parent | 9f8d8d9aa8997c792765d0c553890fb2c3c67bdd (diff) | |
download | python-coveragepy-git-de38a0e74a8683a3d3381038aeee4d226cc5b714.tar.gz |
test: don't report this function in pytest tracebacks
Diffstat (limited to 'tests/coveragetest.py')
-rw-r--r-- | tests/coveragetest.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/coveragetest.py b/tests/coveragetest.py index e5543a0b..8541ed28 100644 --- a/tests/coveragetest.py +++ b/tests/coveragetest.py @@ -220,6 +220,7 @@ class CoverageTest( warnings. """ + __tracebackhide__ = True saved_warnings = [] def capture_warning(msg, slug=None, once=False): # pylint: disable=unused-argument """A fake implementation of Coverage._warn, to capture warnings.""" |