Add tests for toggling breakpoint and inserting line
This commit is contained in:
parent
16c3b65cae
commit
7d046574cb
6 changed files with 79 additions and 16 deletions
|
|
@ -305,7 +305,7 @@ class ProjectBreakpoints( object ):
|
|||
if isinstance( result, bool ):
|
||||
result = 'Y' if result else 'N'
|
||||
|
||||
if not isinstance( result, str) or result not in ( 'Y', 'N', '' ):
|
||||
if not isinstance( result, str ) or result not in ( 'Y', 'N', '' ):
|
||||
raise ValueError(
|
||||
f"Invalid value for exception breakpoint filter '{f}': "
|
||||
f"'{result}'. Must be boolean, 'Y', 'N' or '' (default)" )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue