diff --git a/named_arrays/plt.py b/named_arrays/plt.py index 66afc8a..f7873ec 100644 --- a/named_arrays/plt.py +++ b/named_arrays/plt.py @@ -892,7 +892,7 @@ def pspectralmesh( if isinstance(XY, na.AbstractCartesian2dVectorArray): x = XY.x y = XY.y - else: + else: # pragma: nocover raise TypeError( "if two positional arguments, " "the second argument must be an instance of"