Changes between Version 1 and Version 2 of Ticket #37064, comment 1


Ignore:
Timestamp:
Apr 24, 2026, 4:15:06 PM (3 weeks ago)
Author:
Simon Charette

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #37064, comment 1

    v1 v2  
    33Given this can only be reproduced with `pytest-django` though I do wonder if the issue doesn't lie over there instead. What does `pytest-django` do that causes SQLite to recycle the connection between `setUpClass` and `tearDownClass` that Django doesn't do?
    44
    5 The fact `pytest-django` swaps `connections` entries makes me worried that they have flawed logic on their that defeats the purpose of the database query prevention mechanisms that Django puts in place.
     5The fact `pytest-django` swaps `connections` entries makes me worried that they have flawed logic on their side that defeats the purpose of the database query prevention mechanisms that Django puts in place.
    66
    77Nothing seems to indicate that Django is at fault here.
Back to Top