Skip to content

Commit 1427e33

Browse files
committed
Fix.
1 parent 303bebf commit 1427e33

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/_pytask/debugging.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ def _import_pdb_cls(
150150
__import__(modname)
151151
mod = sys.modules[modname]
152152

153-
# Handle --pdbcls=pdb:pdb.Pdb (useful e.g. with pdbpp).
153+
# Handle --pdbcls=pdb:pdb.Pdb (useful e.g. with pdbpp or pdbp).
154154
parts = classname.split(".")
155155
pdb_cls = getattr(mod, parts[0])
156156
for part in parts[1:]:

src/_pytask/live.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ def start(self) -> None:
114114
self._live.start()
115115
except LiveError:
116116
msg = (
117-
"pytask tried to launch a second live display which is impossible. the "
117+
"pytask tried to launch a second live display which is impossible. The "
118118
"issue occurs when you use pytask on the command line on a task module "
119119
"that uses the programmatic interface of pytask at the same time. "
120120
"Use either the command line or the programmatic interface."

tests/test_debugging.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -329,8 +329,8 @@ def task_1():
329329
@pytest.mark.skipif(not IS_PEXPECT_INSTALLED, reason="pexpect is not installed.")
330330
@pytest.mark.skipif(sys.platform == "win32", reason="pexpect cannot spawn on Windows.")
331331
def test_pdb_with_injected_do_debug(tmp_path):
332-
"""Simulates pdbpp, which injects Pdb into do_debug, and uses self.__class__ in
333-
do_continue."""
332+
"""Simulates pdbpp or pdbp, which injects Pdb into do_debug, and uses self.__class__
333+
in do_continue."""
334334
source = """
335335
import pdb
336336

0 commit comments

Comments
 (0)