Commit f2374400 authored by Antony Lee's avatar Antony Lee
Browse files

Make Debugger.interaction match the signature of Pdb.interaction.

This allows pudb to be used as debugger for pytest>=3.0, e.g.

```
$ cat test_foo.py
def test_1():
    assert False
$ pytest --pdbcls pudb.debugger:Debugger --pdb --capture=no
```
(starts pudb at the failed assertion site).

Note the need to pass `--capture=no` (or its synonym `-s`) as otherwise
pytest tries to manage the standard streams itself.

Backwards compatibility is preserved.
parent 9656c01c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment