#37064: SimpleTestCase._remove_databases_failures() crashes on un-wrapped
connection methods
-------------------------------------+-------------------------------------
Reporter: Rio Weber | Owner: (none)
Type: Bug | Status: new
Component: Testing framework | Version: 6.0
Severity: Normal | Resolution:
Keywords: testcase, | Triage Stage:
databases, multi-db, regression | Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Simon Charette):
I cannot reproduce against Django 6.0.4 with `manage.py test` or with
`pytest` with `pytest-django` installed by creating a new Django 6.0.3
project and defining a new app where the single test is
{{{#!python
from django.test import TransactionTestCase
class ReproTests(TransactionTestCase):
# Implicit databases = {"default"} - shard_b is NOT declared
def test_anything(self):
assert True
}}}
The fact you mention `graphene-django` and `django-debug-toolbar` makes me
believe there is something else at play here.
Please ensure you are able to reproduce against a minimal project and are
not misguided into thinking Django is necessarily at fault by your LLM
please.
--
Ticket URL: <https://code.djangoproject.com/ticket/37064#comment:6>
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 view this discussion visit
https://groups.google.com/d/msgid/django-updates/0107019dc1c88ef4-46b5684f-289d-4b92-98b9-f2b20637ccad-000000%40eu-central-1.amazonses.com.