Skip to content

Commit c519b95

Browse files
authored
Merge pull request #1663 from aostr/master
Rename the default plugin "pdb" into "debugging"
2 parents e024214 + 9a5224e commit c519b95

File tree

4 files changed

+4
-2
lines changed

4 files changed

+4
-2
lines changed

CHANGELOG.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@
3636
Thanks `@bagerard`_ for reporting (`#1503`_). Thanks to `@davehunt`_ and
3737
`@tomviner`_ for PR.
3838

39+
* Renamed the pytest ``pdb`` module (plugin) into ``debugging``.
40+
3941
*
4042

4143
* ImportErrors in plugins now are a fatal error instead of issuing a

_pytest/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ class UsageError(Exception):
6363
_preinit = []
6464

6565
default_plugins = (
66-
"mark main terminal runner python pdb unittest capture skipping "
66+
"mark main terminal runner python debugging unittest capture skipping "
6767
"tmpdir monkeypatch recwarn pastebin helpconfig nose assertion genscript "
6868
"junitxml resultlog doctest cacheprovider").split()
6969

File renamed without changes.

testing/test_pdb.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def pytest_funcarg__pdblist(self, request):
1717
pdblist = []
1818
def mypdb(*args):
1919
pdblist.append(args)
20-
plugin = request.config.pluginmanager.getplugin('pdb')
20+
plugin = request.config.pluginmanager.getplugin('debugging')
2121
monkeypatch.setattr(plugin, 'post_mortem', mypdb)
2222
return pdblist
2323

0 commit comments

Comments
 (0)