From 4e75582a2058c4720f5bf30f4eae7023de7e5210 Mon Sep 17 00:00:00 2001 From: Wessel Bruinsma Date: Thu, 24 Jun 2021 18:15:52 +0100 Subject: [PATCH] Fix coverage --- lab/shaping.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lab/shaping.py b/lab/shaping.py index 02efce6..3e3a34b 100644 --- a/lab/shaping.py +++ b/lab/shaping.py @@ -144,7 +144,7 @@ def is_scalar(a: Numeric): return rank(a) == 0 -def isscalar(a): +def isscalar(a): # pragma: no cover warnings.warn( "The use of `isscalar` is deprecated. Please use `is_scalar` instead.", category=DeprecationWarning,