#27539: assertNumQueries fails if debug cursor wrapper fills
-----------------------------------+------------------------------------
Reporter: Malcolm Box | Owner: nobody
Type: Bug | Status: new
Component: Testing framework | Version: 1.10
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-----------------------------------+------------------------------------
Comment (by reficul31):
So I have been working on this ticket and I have a question. Should the
check to see if the ```len(self.queries_log) >= self.queries_log.maxlen```
be put in the make_debug_cursor or should it be put in the base of the
CursorDebugWrapper class? If we put it in CursorDebugWrapper we will need
to have all the executesql statements between a try and catch block.
--
Ticket URL: <https://code.djangoproject.com/ticket/27539#comment:8>
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/062.215136a228053ab809073b4e51c2c91d%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.