File tree Expand file tree Collapse file tree 4 files changed +10
-7
lines changed
seleniumbase/console_scripts Expand file tree Collapse file tree 4 files changed +10
-7
lines changed Original file line number Diff line number Diff line change 1
1
[pytest]
2
2
3
- # Display console output and disable the cacheprovider.
4
- addopts = --capture =no -p no:cacheprovider
3
+ # Display console output, disable cacheprovider, and have the ipdb debugger replace pdb:
4
+ addopts = --capture =no -p no:cacheprovider -- pdbcls =IPython.terminal.debugger:TerminalPdb
5
5
6
6
# Ignore warnings such as DeprecationWarning and PytestUnknownMarkWarning
7
7
filterwarnings =
Original file line number Diff line number Diff line change 1
1
[pytest]
2
2
3
- # Display console output and disable the cacheprovider.
4
- addopts = --capture =no -p no:cacheprovider
3
+ # Display console output, disable cacheprovider, and have the ipdb debugger replace pdb:
4
+ addopts = --capture =no -p no:cacheprovider -- pdbcls =IPython.terminal.debugger:TerminalPdb
5
5
6
6
# Ignore warnings such as DeprecationWarning and PytestUnknownMarkWarning
7
7
filterwarnings =
Original file line number Diff line number Diff line change 1
1
[pytest]
2
2
3
- # Display console output and disable the cacheprovider.
4
- addopts = --capture =no -p no:cacheprovider
3
+ # Display console output, disable cacheprovider, and have the ipdb debugger replace pdb:
4
+ addopts = --capture =no -p no:cacheprovider -- pdbcls =IPython.terminal.debugger:TerminalPdb
5
5
6
6
# Ignore warnings such as DeprecationWarning and PytestUnknownMarkWarning
7
7
filterwarnings =
Original file line number Diff line number Diff line change @@ -123,7 +123,10 @@ def main():
123
123
124
124
data = []
125
125
data .append ("[pytest]" )
126
- data .append ("addopts = --capture=no -p no:cacheprovider" )
126
+ data .append (
127
+ "addopts = --capture=no -p no:cacheprovider "
128
+ "--pdbcls=IPython.terminal.debugger:TerminalPdb"
129
+ )
127
130
data .append ("filterwarnings =" )
128
131
data .append (" ignore::pytest.PytestWarning" )
129
132
data .append (" ignore:.*U.*mode is deprecated:DeprecationWarning" )
You can’t perform that action at this time.
0 commit comments