﻿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
15805	assertFieldOutput should not use assertRaisesRegexp	Julien Phalip	nobody	"The fact that `assertFieldOutput` uses `assertRaisesRegexp` causes some weird and inconsistent behaviours, which I describe in more detail in #14608 and in http://groups.google.com/group/django-developers/browse_thread/thread/96da81267aadade0

Not only does it make no sense to use regular expressions here, but also pretty much all the tests in `regressiontests.forms.localflavor` using `assertFieldOutput` are currently passing without being absolutely sure that the expected error messages are correct (To verify that, try modifying any error message in those tests -- the tests will still pass).

See attached patch fixing the behaviour and also straightening some tests that were incorrectly passing before.

Marking as Release Blocker since, in effect, the test suite is currently broken because of this behaviour."	Bug	closed	Testing framework	dev	Release blocker	fixed		lawgon@…	Ready for checkin	1	0	0	0	0	0
