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

zopefoundation / zope.sendmail / 84
100%
master: 99%

Build:
Build:
LAST BUILD BRANCH: config-with-pure-python-template-24cb1653
DEFAULT BRANCH: master
Ran 27 Mar 2019 10:39AM UTC
Jobs 7
Files 16
Run time 3min
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

pending completion
84

push

travis-ci

icemac
<a href="https://github.com/zopefoundation/zope.sendmail/commit/<a class=hub.com/zopefoundation/zope.sendmail/commit/0fb01200043f698fb7d51dba6f912efac8d38a74">0fb012000<a href="https://github.com/zopefoundation/zope.sendmail/commit/0fb01200043f698fb7d51dba6f912efac8d38a74">&quot;&gt;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/&lt;/a&gt;&lt;a class=&quot;double-link&quot; href=&quot;https://github.com/zopefoundation/zope.sendmail/commit/&lt;a class=&quot;double-link&quot; href=&quot;https://git">&lt;a class=</a>hub.com/zopefoundation/zope.sendmail/commit/<a class=hub.com/zopefoundation/zope.sendmail/commit/2ee8b0a454ff484335e6b65b9d46a695309a2b2f">2ee8b0a45">2ee8b0a45</a><a href="https://github.com/zopefoundation/zope.sendmail/commit/0fb01200043f698fb7d51dba6f912efac8d38a74">/src/zope/sendmail/maildir.py#L110
(mode is &#39;w&#39; not &#39;wb&#39;)

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.</a>

1687 of 1687 relevant lines covered (100.0%)

6.99 hits per line

Jobs
ID Job ID Ran Files Coverage
1 84.1 27 Mar 2019 10:39AM UTC 0
99.94
Travis Job 84.1
2 84.2 27 Mar 2019 10:39AM UTC 0
99.88
Travis Job 84.2
3 84.3 27 Mar 2019 10:40AM UTC 0
99.88
Travis Job 84.3
4 84.4 27 Mar 2019 10:40AM UTC 0
99.88
Travis Job 84.4
5 84.5 27 Mar 2019 10:42AM UTC 0
99.94
Travis Job 84.5
6 84.6 27 Mar 2019 10:42AM UTC 0
99.88
Travis Job 84.6
7 84.7 27 Mar 2019 10:42AM UTC 0
99.88
Travis Job 84.7
Source Files on build 84
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #84
  • 0fb01200 on github
  • Next Build on fix-maildir (#86)
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