@@ -385,7 +385,7 @@ def isclose(
385385) -> Array : # numpydoc ignore=PR01,RT01
386386 """See docstring in array_api_extra._delegation."""
387387 a , b = asarrays (a , b , xp = xp )
388- if TYPE_CHECKING : # Hack around pyright bug
388+ if TYPE_CHECKING : # Hack around pyright bug # pragma: no cover
389389 assert _compat .is_array_api_obj (a )
390390 assert _compat .is_array_api_obj (b )
391391
@@ -504,13 +504,13 @@ def kron(
504504 if xp is None :
505505 xp = array_namespace (a , b )
506506 a , b = asarrays (a , b , xp = xp )
507- if TYPE_CHECKING : # Hack around pyright bug
507+ if TYPE_CHECKING : # Hack around pyright bug # pragma: no cover
508508 assert _compat .is_array_api_obj (a )
509509 assert _compat .is_array_api_obj (b )
510510
511511 singletons = (1 ,) * (b .ndim - a .ndim )
512512 a = xp .broadcast_to (a , singletons + a .shape )
513- if TYPE_CHECKING : # Hack around pyright bug
513+ if TYPE_CHECKING : # Hack around pyright bug # pragma: no cover
514514 assert _compat .is_array_api_obj (a )
515515
516516 nd_b , nd_a = b .ndim , a .ndim
@@ -680,7 +680,7 @@ def setdiff1d(
680680 x1 = xp .unique_values (x1 )
681681 x2 = xp .unique_values (x2 )
682682
683- if TYPE_CHECKING : # Hack around pyright bug
683+ if TYPE_CHECKING : # Hack around pyright bug # pragma: no cover
684684 assert _compat .is_array_api_obj (x1 )
685685
686686 return x1 [_helpers .in1d (x1 , x2 , assume_unique = True , invert = True , xp = xp )]
0 commit comments