Skip to content

Fix handle of exceptions in ReprEntry with tb=line #7708

Merged
nicoddemus merged 1 commit intopytest-dev:masterfrom
nicoddemus:repr-line-7707
Sep 4, 2020
Merged

Fix handle of exceptions in ReprEntry with tb=line #7708
nicoddemus merged 1 commit intopytest-dev:masterfrom
nicoddemus:repr-line-7707

Conversation

@nicoddemus
Copy link
Member

Fix #7707

@nicoddemus nicoddemus added the needs backport applied to PRs, indicates that it should be ported to the current bug-fix branch label Sep 3, 2020
Copy link
Member

@asottile asottile left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"showlocals": showlocals,
"funcargs": funcargs,
"tbfilter": tbfilter,
},
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could maybe benefit as a typing.NamedTuple once we're free of python<3.6.1

@nicoddemus nicoddemus merged commit 0d0b798 into pytest-dev:master Sep 4, 2020
@nicoddemus nicoddemus deleted the repr-line-7707 branch September 4, 2020 15:06
nicoddemus added a commit to nicoddemus/pytest that referenced this pull request Sep 4, 2020
Fix handle of exceptions in ReprEntry with tb=line
@nicoddemus
Copy link
Member Author

Backport: #7711

nicoddemus added a commit that referenced this pull request Sep 4, 2020
[6.0] Merge pull request #7708 from nicoddemus/repr-line-7707
@nicoddemus nicoddemus added backported and removed needs backport applied to PRs, indicates that it should be ported to the current bug-fix branch labels Sep 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: Assertion raises INTERNALERROR with options --tb=line --junitxml=junit.xml

2 participants