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.
1 parent 615e4ef commit f860083Copy full SHA for f860083
src/_pytest/terminal.py
@@ -1219,15 +1219,6 @@ def _get_rep_reprcrash(
1219
if not rep.longrepr:
1220
return None
1221
1222
- if isinstance(rep, TestReport) and not fulltrace:
1223
- # This uses the first traceback entry for the location in the test itself
1224
- # (rather than reprcrash, which might be less relevant for going to
1225
- # directly, e.g. pexpect failures in pytest itself).
1226
- try:
1227
- return rep.longrepr.reprtraceback.reprentries[0].reprfileloc
1228
- except AttributeError:
1229
- pass
1230
-
1231
# Handle --tb=native, --tb=no.
1232
try:
1233
return rep.longrepr.reprcrash
0 commit comments