• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

zopefoundation / zope.sendmail / 85 / 3
100%
master: 99%

Build:
Build:
LAST BUILD BRANCH: config-with-pure-python-template-24cb1653
DEFAULT BRANCH: master
Ran 27 Mar 2019 10:43AM UTC
Files 16
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

27 Mar 2019 10:37AM UTC coverage: 99.882% (-0.1%) from 100.0%
85.3

Pull #23

travis-ci

web-flow
Fix text/bytes issue in MailDir for Python 3.

`Maildir.newMessage` returns a MaildirMessageWriter with a file handle opened
in text mode, see
https://github.com/zopefoundation/zope.sendmail/blob/<a class=hub.com/zopefoundation/zope.sendmail/commit/2ee8b0a454ff484335e6b65b9d46a695309a2b2f">2ee8b0a45/src/zope/sendmail/maildir.py#L110
(mode is 'w' not 'wb')

But `MaildirMessageWriter.write` writes bytes to this file handle, see
https://github.com/zopefoundation/zope.sendmail/blob/2ee8b0a454ff484335e6b65b9d46a695309a2b2f/src/zope/sendmail/maildir.py#L131-L132

This commit changes the implementation to use text for Python 3.
Pull Request #23: Fix text/bytes issue in MailDir for Python 3.

1690 of 1692 relevant lines covered (99.88%)

1.0 hits per line

Source Files on job 85.3
  • Tree
  • List 0
  • Changed 5
  • Source Changed 2
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 82
  • Travis Job 85.3
  • c83c927a on github
  • Prev Job for on fix-maildir (#83.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc