Skip to content

Commit 2675370

Browse files
Add no cover for to_supported_dtypes()
1 parent 3c1c2d3 commit 2675370

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dpnp/dpnp_iface_statistics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,7 @@ def correlate(a, v, mode="valid"):
576576
rdtype = result_type_for_device([a.dtype, v.dtype], device)
577577
supported_dtype = to_supported_dtypes(rdtype, supported_types, device)
578578

579-
if supported_dtype is None:
579+
if supported_dtype is None: # pragma: no cover
580580
raise ValueError(
581581
f"function does not support input types "
582582
f"({a.dtype.name}, {v.dtype.name}), "

dpnp/dpnp_utils/dpnp_utils_common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,4 +78,4 @@ def is_castable(dtype, stype):
7878
):
7979
return stypes
8080

81-
return None
81+
return None # pragma: no cover

0 commit comments

Comments
 (0)