We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
SubTests.test()
1 parent 732064c commit c44862cCopy full SHA for c44862c
CHANGELOG.rst
@@ -1,6 +1,13 @@
1
CHANGELOG
2
=========
3
4
+UNRELEASED
5
+----------
6
+
7
+* Hide the traceback inside the ``SubTests.test()`` method (`#131`_).
8
9
+.. _#131: https://github.com/pytest-dev/pytest-subtests/pull/131
10
11
0.12.1 (2024-03-07)
12
-------------------
13
src/pytest_subtests/plugin.py
@@ -224,6 +224,9 @@ def test(
224
msg: str | None = None,
225
**kwargs: Any,
226
) -> Generator[None, None, None]:
227
+ # Hide from tracebacks.
228
+ __tracebackhide__ = True
229
230
start = time.time()
231
precise_start = time.perf_counter()
232
exc_info = None
0 commit comments