Closed hazmat345 closed 4 years ago
Merging #99 into master will increase coverage by
0.38%
. The diff coverage is100%
.
@@ Coverage Diff @@
## master #99 +/- ##
==========================================
+ Coverage 93.35% 93.73% +0.38%
==========================================
Files 7 7
Lines 1083 1086 +3
Branches 235 236 +1
==========================================
+ Hits 1011 1018 +7
+ Misses 34 33 -1
+ Partials 38 35 -3
Impacted Files | Coverage Δ | |
---|---|---|
yapconf/items.py | 96.7% <100%> (+0.24%) |
:arrow_up: |
yapconf/docs.py | 90.57% <0%> (+0.72%) |
:arrow_up: |
yapconf/spec.py | 100% <0%> (+1.17%) |
:arrow_up: |
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 5f33076...7d9b878. Read the comment docs.
This PR fixes a test that was failing in the Python 2.7 and 3.6 Travis builds. It seems like the deepcopy was failing because it was trying to also copy the item's logger instance, which has an unpickable attribute. This PR excludes the logger from the deepcopy.
It also marks a test emoji as unicode so the test doesn't fail in Python 2.