summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--coverage/debug.py2
-rw-r--r--requirements/pytest.pip3
2 files changed, 4 insertions, 1 deletions
diff --git a/coverage/debug.py b/coverage/debug.py
index c11c927a..9de9886b 100644
--- a/coverage/debug.py
+++ b/coverage/debug.py
@@ -335,7 +335,7 @@ def break_in_pudb(func): # pragma: debugging
"""A function decorator to stop in the debugger for each call."""
@functools.wraps(func)
def _wrapper(*args, **kwargs):
- import pudb # pylint: disable=import-error
+ import pudb
sys.stdout = sys.__stdout__
pudb.set_trace()
return func(*args, **kwargs)
diff --git a/requirements/pytest.pip b/requirements/pytest.pip
index bd3255b1..3c582310 100644
--- a/requirements/pytest.pip
+++ b/requirements/pytest.pip
@@ -14,3 +14,6 @@ hypothesis==4.32.1
# Our testing mixins
unittest-mixins==1.6
#-e/Users/ned/unittest_mixins
+
+# Just so I have a debugger if I want it
+pudb==2019.1