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


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

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #37064, comment 1

    initial v1  
    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
     5The 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.
     6
    57Nothing seems to indicate that Django is at fault here.
Back to Top