From 332cb13bcc0ae55038a7fff920a29bf92b90b910 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20Hofst=C3=A4tter?= Date: Sun, 12 Mar 2023 11:06:16 +0100 Subject: [PATCH] Add documentation to test for tracebackhide Co-authored-by: Bruno Oliveira --- testing/test_tracebackhide.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/testing/test_tracebackhide.py b/testing/test_tracebackhide.py index 7c0303bf1..bfd9b8011 100644 --- a/testing/test_tracebackhide.py +++ b/testing/test_tracebackhide.py @@ -1,4 +1,7 @@ def test_tbh_chained(testdir): + """ + Ensure chained exceptions whose frames contain "__tracebackhide__" are not shown (#1904). + """ p = testdir.makepyfile( """ import pytest