﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
21093	regressiontests.mail.tests.MailTests.test_dont_base64_encode() fails with Python >=3.3.3	Arfrever	nobody	"regressiontests.mail.tests.MailTests.test_dont_base64_encode() fails with Python >=3.3.3 since [http://hg.python.org/cpython/rev/64e004737837 Python commit 64e004737837].
It passes with older versions of Python.
I use Django 1.5.3.

{{{
$ PYTHONPATH=""."" python3.3 tests/runtests.py --settings=test_sqlite -v0 mail.MailTests.test_dont_base64_encode
======================================================================
FAIL: test_dont_base64_encode (regressiontests.mail.tests.MailTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File ""/tmp/Django-1.5.3/tests/regressiontests/mail/tests.py"", line 330, in test_dont_base64_encode
    self.assertTrue(str('Content-Transfer-Encoding: 8bit') in s)
AssertionError: False is not True

----------------------------------------------------------------------
Ran 1 test in 0.025s

FAILED (failures=1)
}}}

Variable 's' contains 'Content-Transfer-Encoding: 8bit' with older versions of Python and 'Content-Transfer-Encoding: 7bit' with Python >=3.3.3."	Bug	closed	Testing framework	dev	Release blocker	fixed		Arfrever Florian Apolloner	Accepted	0	0	0	0	0	0
