Skip to content

Drop dependency on six and mock#738

Open
tiltingpenguin wants to merge 3 commits into
python-escpos:masterfrom
tiltingpenguin:master
Open

Drop dependency on six and mock#738
tiltingpenguin wants to merge 3 commits into
python-escpos:masterfrom
tiltingpenguin:master

Conversation

@tiltingpenguin

Copy link
Copy Markdown

Description

Drop usage of six and switch mock over to the standardlibrary implementation

Tested with

Only ran the testsuite

@codecov

codecov Bot commented Jul 27, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 88.88889% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 71.71%. Comparing base (ee3c54a) to head (c7435a3).
⚠️ Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
src/escpos/escpos.py 87.50% 2 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           master     #738       +/-   ##
===========================================
- Coverage   81.70%   71.71%   -10.00%     
===========================================
  Files          21       21               
  Lines        1700     1697        -3     
  Branches      266      237       -29     
===========================================
- Hits         1389     1217      -172     
- Misses        231      415      +184     
+ Partials       80       65       -15     
Flag Coverage Δ
unittests 71.71% <88.88%> (-9.94%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
src/escpos/constants.py 100.00% <100.00%> (ø)
src/escpos/magicencode.py 90.24% <ø> (-0.08%) ⬇️
src/escpos/escpos.py 74.74% <87.50%> (-0.66%) ⬇️

... and 10 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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