Skip to content

Commit b7a81a9

Browse files
committed
fix pytest traceback performance issue
1 parent 9cba485 commit b7a81a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mutmut/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ def __init__(self):
432432
# noinspection PyMethodMayBeStatic
433433
def execute_pytest(self, params: list[str], **kwargs):
434434
import pytest
435-
params = ['--rootdir=.'] + params + self._pytest_add_cli_args
435+
params = ['--rootdir=.', '--tb=native'] + params + self._pytest_add_cli_args
436436
if mutmut.config.debug:
437437
params = ['-vv'] + params
438438
print('python -m pytest ', ' '.join([f'"{param}"' for param in params]))

0 commit comments

Comments
 (0)