Add documentation to test for tracebackhide
Co-authored-by: Bruno Oliveira <nicoddemus@gmail.com>
This commit is contained in:
parent
1765f99c7c
commit
332cb13bcc
|
@ -1,4 +1,7 @@
|
||||||
def test_tbh_chained(testdir):
|
def test_tbh_chained(testdir):
|
||||||
|
"""
|
||||||
|
Ensure chained exceptions whose frames contain "__tracebackhide__" are not shown (#1904).
|
||||||
|
"""
|
||||||
p = testdir.makepyfile(
|
p = testdir.makepyfile(
|
||||||
"""
|
"""
|
||||||
import pytest
|
import pytest
|
||||||
|
|
Loading…
Reference in New Issue