test failures with python 3.4
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
unattended-upgrades (Ubuntu) |
Fix Released
|
Medium
|
Brian Murray |
Bug Description
With python3.4 as the default, unattended-upgrades has several test failures:
http://
======
ERROR: test_mail_
Regression test for debian bug #700178
-------
Traceback (most recent call last):
File "./test_mail.py", line 151, in test_mail_
send_
File "/tmp/adt-
ret = _send_mail_
File "/tmp/adt-
msg.
File "/usr/lib/
" payload") from None
TypeError: charset argument must be specified when non-ASCII characters are used in the payload
Related branches
- Martin Pitt (community): Approve
- Michael Vogt: Pending requested
- unattended-upgrades-developers: Pending requested
-
Diff: 77 lines (+15/-6)3 files modifieddebian/changelog (+9/-0)
test/test_mail.py (+2/-1)
unattended-upgrade (+4/-5)
Changed in unattended-upgrades (Ubuntu): | |
status: | New → In Progress |
assignee: | nobody → Brian Murray (brian-murray) |
importance: | Undecided → Medium |
This bug was fixed in the package unattended-upgrades - 0.82
---------------
unattended-upgrades (0.82) unstable; urgency=low
[ Brian Murray ] quoted_ printable
* unattended-upgrade: specify charset when setting email payload for
python3.4 (LP: #1272381)
* change logging.warn calls to logging.warning
* test/test_email.py: use with to open email in test_mail_
-- Michael Vogt <email address hidden> Thu, 06 Feb 2014 08:54:25 +0100