Closed Don42 closed 5 years ago
The good news, builds now fail on test failures. The bad news, tests on PyPy have been failing for quite a while. I'm still unsure what the root cause for that is.
Looking at the error messages, I think that pypy is trying to do a buffered read on the savefile, and therefore it's not actually reading the header. I can try to fix this later.
If found the issue. Pypy does not write to the file when it is not properly closed. I got a fix and will add that now.
Merging #49 into master will decrease coverage by
0.07%
. The diff coverage is83.33%
.
@@ Coverage Diff @@
## master #49 +/- ##
==========================================
- Coverage 78.35% 78.28% -0.08%
==========================================
Files 16 16
Lines 1603 1607 +4
==========================================
+ Hits 1256 1258 +2
- Misses 347 349 +2
Impacted Files | Coverage Δ | |
---|---|---|
pcapfile/test/savefile_test.py | 94.02% <100%> (+0.09%) |
:arrow_up: |
pcapfile/test/__main__.py | 94.44% <75%> (-5.56%) |
:arrow_down: |
pcapfile/savefile.py | 78.46% <0%> (-0.77%) |
:arrow_down: |
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 2eef972...d7f191f. Read the comment docs.
Thanks again, @Don42!
This is work in progress, but since the change only shows in CI I created this PR.
Fixes #48