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