File tree 2 files changed +2
-2
lines changed 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:
38
38
if "className" in attributes :
39
39
class_name = " " .join ([attributes .pop ("className" ), class_name ])
40
40
# 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
42
42
class_name = " " .join ([attributes .pop ("class_name" ), class_name ])
43
43
44
44
attrs = {
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ class _RouteState:
21
21
22
22
def _use_route_state () -> _RouteState :
23
23
route_state = use_context (_route_state_context )
24
- if route_state is None :
24
+ if route_state is None : # pragma: no cover
25
25
raise RuntimeError (
26
26
"ReactPy-Router was unable to find a route context. Are you "
27
27
"sure this hook/component is being called within a router?"
You can’t perform that action at this time.
0 commit comments