#24290: postgres_tests fail ungracefully if psycopg2 isn't installed
------------------------------------------------+------------------------
               Reporter:  aaugustin             |          Owner:
                   Type:  Cleanup/optimization  |         Status:  new
              Component:  contrib.postgres      |        Version:  master
               Severity:  Normal                |       Keywords:
           Triage Stage:  Unreviewed            |      Has patch:  0
    Needs documentation:  0                     |    Needs tests:  0
Patch needs improvement:  0                     |  Easy pickings:  0
                  UI/UX:  0                     |
------------------------------------------------+------------------------
 Uninstalling psycopg2 and running `./runtests.py postgres_tests` shows a
 series of stack traces.

 Would it be possible to make the imports conditional and skip the tests
 cleanly?

 See `template_backends/test_jinja2.py` for an example.

--
Ticket URL: <https://code.djangoproject.com/ticket/24290>
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/052.91bc3db97c54abb4f7dd79e87fd429be%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to