Skip to content

Commit bb8aaa9

Browse files
committed
Pass argument stop_on_assert_error_raised to Check (#133)
Pass argument `stop_on_assert_error_raised` from `add_check` to `Check`
1 parent 1e0cd20 commit bb8aaa9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/scwidgets/check/_widget_check_registry.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,7 @@ def add_check(
234234
Callable[[Check.FunOutParamsT], Check.FingerprintT]
235235
] = None,
236236
suppress_fingerprint_asserts: bool = True,
237+
stop_on_assert_error_raised: bool = False,
237238
):
238239
"""
239240
Adds a new check for the specified widget. The check is defined using assert
@@ -265,6 +266,7 @@ def add_check(
265266
outputs_references,
266267
fingerprint,
267268
suppress_fingerprint_asserts,
269+
stop_on_assert_error_raised,
268270
)
269271
self._checks[widget].append(check)
270272

0 commit comments

Comments
 (0)