#27539: assertNumQueries fails if debug cursor wrapper fills -----------------------------------+------------------------------------- Reporter: Malcolm Box | Owner: reficul31 Type: Bug | Status: closed Component: Testing framework | Version: 1.10 Severity: Normal | Resolution: fixed Keywords: | Triage Stage: Accepted Has patch: 1 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 1 Easy pickings: 0 | UI/UX: 0 -----------------------------------+------------------------------------- Changes (by Tim Graham <timograham@…>):
* status: assigned => closed * resolution: => fixed Comment: In [changeset:"92e286498acd4f4562be11c21879856de8f47252" 92e28649]: {{{ #!CommitTicketReference repository="" revision="92e286498acd4f4562be11c21879856de8f47252" Fixed #27539 -- Made TransactionTestCase._pre_setup() clear the queries_log so it's less likely to overflow. TransactionTestCase.assertNumQueries() fails in an overflow situation. }}} -- Ticket URL: <https://code.djangoproject.com/ticket/27539#comment:14> Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/062.74a1caf65798a1f8ae72304517cb8800%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.