Skip to content

Commit b0d1afc

Browse files
authored
Merge pull request #143 from jacebrowning/pytest-watch-debugger
Fix debugger to work with pytest watch
2 parents 67f2ec6 + 3d25320 commit b0d1afc

File tree

4 files changed

+26
-34
lines changed

4 files changed

+26
-34
lines changed

poetry.lock

Lines changed: 24 additions & 24 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ pylint = "^2.1"
6868
pydocstyle = "*"
6969

7070
# Testing
71-
pytest = "^5.0"
71+
pytest = "^5.3.2"
7272
pytest-describe = "*"
7373
pytest-expecter = "*"
7474
pytest-mock = "*"

pytest.ini

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
[pytest]
22

33
addopts =
4-
--pdbcls=tests:Debugger
5-
--capture=no
4+
--pdbcls=IPython.terminal.debugger:Pdb
65

76
-r sxX
87

tests/__init__.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1 @@
11
"""Integration tests for the package."""
2-
3-
# pylint: disable=unused-import
4-
5-
try:
6-
from IPython.terminal.debugger import TerminalPdb as Debugger
7-
except ImportError:
8-
from pdb import Pdb as Debugger

0 commit comments

Comments
 (0)