#7759: QuerySet count method is wrong while cached results filling
---------------------------------------+------------------------------------
          Reporter:  kcarnold          |         Owner:  mtredinnick   
            Status:  reopened          |     Milestone:  1.0           
         Component:  Database wrapper  |       Version:  SVN           
        Resolution:                    |      Keywords:  QuerySet count
             Stage:  Accepted          |     Has_patch:  0             
        Needs_docs:  0                 |   Needs_tests:  0             
Needs_better_patch:  0                 |  
---------------------------------------+------------------------------------
Comment (by Karen Tracey <[EMAIL PROTECTED]>):

 Replying to [comment:6 mtredinnick]:
 > Can anybody confirm this (I can't)?

 I can't but then I don't have a Leopard box, alas.  However something
 looks a little fishy in the failures I think.  There's a mixture of
 locations for Django code in the tracebacks.  The tests are running from,
 for example:

 {{{
 File
 
"/Users/dws/src/django_dev/tests/regressiontests/select_related_regress/models.py",
 line ?, in
 regressiontests.select_related_regress.models.__test__.API_TESTS
 }}}

 but the traceback paths are completely different, for example:

 {{{
 File "/Library/Python/2.5/site-packages/django/test/_doctest.py", line
 1267, in __run
 }}}

 I'd suspect a missing or incorrect PYTHONPATH setting when the tests were
 run, resulting in the most recent test suite running against old code?

-- 
Ticket URL: <http://code.djangoproject.com/ticket/7759#comment:7>
Django Code <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