Use the IPython debugger by default (ipdb)
This commit is contained in:
parent
87443ad065
commit
7a6c6ca35d
|
@ -1,7 +1,7 @@
|
|||
[pytest]
|
||||
|
||||
# Display console output and disable the cacheprovider.
|
||||
addopts = --capture=no -p no:cacheprovider
|
||||
# Display console output, disable cacheprovider, and have the ipdb debugger replace pdb:
|
||||
addopts = --capture=no -p no:cacheprovider --pdbcls=IPython.terminal.debugger:TerminalPdb
|
||||
|
||||
# Ignore warnings such as DeprecationWarning and PytestUnknownMarkWarning
|
||||
filterwarnings =
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
[pytest]
|
||||
|
||||
# Display console output and disable the cacheprovider.
|
||||
addopts = --capture=no -p no:cacheprovider
|
||||
# Display console output, disable cacheprovider, and have the ipdb debugger replace pdb:
|
||||
addopts = --capture=no -p no:cacheprovider --pdbcls=IPython.terminal.debugger:TerminalPdb
|
||||
|
||||
# Ignore warnings such as DeprecationWarning and PytestUnknownMarkWarning
|
||||
filterwarnings =
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
[pytest]
|
||||
|
||||
# Display console output and disable the cacheprovider.
|
||||
addopts = --capture=no -p no:cacheprovider
|
||||
# Display console output, disable cacheprovider, and have the ipdb debugger replace pdb:
|
||||
addopts = --capture=no -p no:cacheprovider --pdbcls=IPython.terminal.debugger:TerminalPdb
|
||||
|
||||
# Ignore warnings such as DeprecationWarning and PytestUnknownMarkWarning
|
||||
filterwarnings =
|
||||
|
|
|
@ -123,7 +123,10 @@ def main():
|
|||
|
||||
data = []
|
||||
data.append("[pytest]")
|
||||
data.append("addopts = --capture=no -p no:cacheprovider")
|
||||
data.append(
|
||||
"addopts = --capture=no -p no:cacheprovider "
|
||||
"--pdbcls=IPython.terminal.debugger:TerminalPdb"
|
||||
)
|
||||
data.append("filterwarnings =")
|
||||
data.append(" ignore::pytest.PytestWarning")
|
||||
data.append(" ignore:.*U.*mode is deprecated:DeprecationWarning")
|
||||
|
|
Loading…
Reference in New Issue