#25516: Debugging with pdb in parallel tests --------------------------------------+------------------------------------ Reporter: yellowcap | Owner: nobody Type: Cleanup/optimization | Status: new Component: Documentation | Version: 1.9a1 Severity: Normal | Resolution: Keywords: parallel tests | Triage Stage: Accepted Has patch: 1 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 --------------------------------------+------------------------------------ Changes (by timgraham):
* has_patch: 0 => 1 * component: Testing framework => Documentation * stage: Unreviewed => Accepted Comment: Good enough? {{{ #!diff diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt index a48a704..801f9a4 100644 --- a/docs/ref/django-admin.txt +++ b/docs/ref/django-admin.txt @@ -1267,6 +1267,10 @@ correctly: This feature isn't available on Windows. It doesn't work with the Oracle database backend either. +If you want to use :mod:`pdb` while debugging tests, you must disable parallel +execution (``--parallel=1``). You'll see something like ``bdb.BdbQuit`` if you +don't. + .. warning:: When test parallelization is enabled and a test fails, Django may be }}} -- Ticket URL: <https://code.djangoproject.com/ticket/25516#comment:2> 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 post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/067.4725540fd9718464db8ec8e988cd1914%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.