File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ def on_click(_event: dict[str, Any]) -> None:
3838 if "className" in attributes :
3939 class_name = " " .join ([attributes .pop ("className" ), class_name ])
4040 # TODO: This can be removed when ReactPy stops supporting underscores in attribute names
41- if "class_name" in attributes :
41+ if "class_name" in attributes : # pragma: no cover
4242 class_name = " " .join ([attributes .pop ("class_name" ), class_name ])
4343
4444 attrs = {
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ class _RouteState:
2121
2222def _use_route_state () -> _RouteState :
2323 route_state = use_context (_route_state_context )
24- if route_state is None :
24+ if route_state is None : # pragma: no cover
2525 raise RuntimeError (
2626 "ReactPy-Router was unable to find a route context. Are you "
2727 "sure this hook/component is being called within a router?"
You can’t perform that action at this time.
0 commit comments