﻿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
14833	Sitemaps tests fail if run from your project and USE_I18N is False	Julien Phalip	nobody	"Here's what you get:

{{{
FAIL: test_localized_priority (django.contrib.sitemaps.tests.basic.SitemapTests)
The priority value should not be localized (Refs #14164)
----------------------------------------------------------------------
Traceback (most recent call last):
  File ""/Users/julien/.virtualenvs/djangotests/src/django/django/contrib/sitemaps/tests/basic.py"", line 45, in test_localized_priority
    self.assertEqual(u'0,3', localize(0.3))
AssertionError: u'0,3' != u'0.3'
- 0,3+ 0.3
}}}

Turning `USE_I18N` to True in `setUp()` doesn't work because it's already too late: the translations methods have already been loaded by then based on the project's settings. As discussed with Russ, the solution here is to simply skip the test."		closed	Contrib apps	1.2		fixed	sprintdec2010		Unreviewed	1	0	0	0	0	0
