#32403: When run test with off postgres database got `RuntimeError: generator didn't yield` instead of connection error ----------------------------------+-------------------------------------- Reporter: Kazantcev Andrey | Owner: (none) Type: Bug | Status: closed Component: contrib.postgres | Version: 3.2 Severity: Normal | Resolution: needsinfo Keywords: postgres db | Triage Stage: Unreviewed Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 ----------------------------------+-------------------------------------- Changes (by Mariusz Felisiak):
* status: new => closed * resolution: => needsinfo Comment: Thanks for the report, however the builtin `django.db.backends.postgresql` backend (on Python `3.9.0+` and `3.8.5`) raises `Connection refused` for me (as expected): {{{ django.db.utils.OperationalError: could not connect to server: Connection refused Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP connections on port 5432? }}} Can you share more details or a database configuration? -- Ticket URL: <https://code.djangoproject.com/ticket/32403#comment:1> 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 view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/064.c1143455f13e40536f9515bfb60ae4ee%40djangoproject.com.