#10439: Test suite side-effects cause dateformat tests to fail
------------------------------------+---------------------------------------
          Reporter:  mtredinnick    |         Owner:  nobody
            Status:  new            |     Milestone:        
         Component:  Uncategorized  |       Version:  SVN   
        Resolution:                 |      Keywords:        
             Stage:  Accepted       |     Has_patch:  0     
        Needs_docs:  0              |   Needs_tests:  0     
Needs_better_patch:  0              |  
------------------------------------+---------------------------------------
Comment (by ramiro):

 Replying to [comment:5 ramiro]:
 > `regressiontests/app_loading` test added in that commit is run  before
 `regressiontests/dateformat`. It seems the former isn't leaving things in
 a state expected by the latter (maybe the way it is installing new
 settings has something to do with this?).

 Problem seems to be related to the fact that `django.conf.Settings`'
 `__init__`
 
[http://code.djangoproject.com/browser/django/trunk/django/conf/__init__.py#L101
 touches] global state and it's being
 
[http://code.djangoproject.com/browser/django/trunk/tests/regressiontests/app_loading/tests.py#L10
 called] to set up the `regressiontests/app_loading` tests

-- 
Ticket URL: <http://code.djangoproject.com/ticket/10439#comment:7>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to