#32560: Make --pdb cooperate with --buffer ---------------------------------------------+-------------------------- Reporter: Adam Johnson | Owner: nobody Type: Bug | Status: assigned Component: Testing framework | Version: dev 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 | ---------------------------------------------+-------------------------- When running `test --buffer --pdb`, a failure will open pdb but its output isn't seen:
{{{ $ ./manage.py test --buffer --pdb Testing against Django installed in '/Users/chainz/Documents/Projects/django/django' Creating test database for alias 'default'... System check identified no issues (0 silenced). ...............F }}} Since `stdin` isn't patched, one can enter commands into PDB but not see the output, which is kind of useless. It's also really unclear how to recover, since Ctrl-C doesn't work on the PDB prompt. The solution would be to undo `--buffer`'s patching before opening PDB. -- Ticket URL: <https://code.djangoproject.com/ticket/32560> 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/053.b2240af2711cda8e779dba6391100d6d%40djangoproject.com.