Skip to content

Optimize TracebackEntry.ishidden#4919

Merged
blueyed merged 1 commit intopytest-dev:featuresfrom
blueyed:opt
Mar 14, 2019
Merged

Optimize TracebackEntry.ishidden#4919
blueyed merged 1 commit intopytest-dev:featuresfrom
blueyed:opt

Conversation

@blueyed
Copy link
Contributor

@blueyed blueyed commented Mar 13, 2019

The expected behavior is that there is no "__tracebackhide__" attribute,
so use getattr instead of multiple try/except.

@blueyed blueyed requested a review from The-Compiler March 13, 2019 21:48
The expected behavior is that there is no "__tracebackhide__" attribute,
so use `getattr` instead of multiple try/except.
@codecov
Copy link

codecov bot commented Mar 14, 2019

Codecov Report

Merging #4919 into features will decrease coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@             Coverage Diff              @@
##           features    #4919      +/-   ##
============================================
- Coverage     95.84%   95.84%   -0.01%     
============================================
  Files           113      113              
  Lines         25218    25213       -5     
  Branches       2490     2490              
============================================
- Hits          24171    24166       -5     
  Misses          734      734              
  Partials        313      313
Impacted Files Coverage Δ
src/_pytest/_code/code.py 95.51% <100%> (-0.04%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9059722...4d21dc4. Read the comment docs.

@blueyed blueyed merged commit 951e07d into pytest-dev:features Mar 14, 2019
@blueyed blueyed deleted the opt branch March 14, 2019 15:38
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.

2 participants