Merge pull request #2075 from pytest-dev/master
Merge master into features after fixing flake8 errors
This commit is contained in:
@@ -39,8 +39,10 @@ class TestPDB:
|
||||
def pdblist(self, request):
|
||||
monkeypatch = request.getfixturevalue("monkeypatch")
|
||||
pdblist = []
|
||||
|
||||
def mypdb(*args):
|
||||
pdblist.append(args)
|
||||
|
||||
plugin = request.config.pluginmanager.getplugin('debugging')
|
||||
monkeypatch.setattr(plugin, 'post_mortem', mypdb)
|
||||
return pdblist
|
||||
|
||||
Reference in New Issue
Block a user