From 8d3391adb0b2e783ab0a2113fc1823ac2c1bac56 Mon Sep 17 00:00:00 2001 From: "D. V. Wiebe" Date: Tue, 16 Jul 2024 10:40:23 -0700 Subject: [PATCH] fix(ci): Fix for ruff E721 --- caput/tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/caput/tools.py b/caput/tools.py index 258a1ae7..9d18ed5a 100644 --- a/caput/tools.py +++ b/caput/tools.py @@ -140,7 +140,7 @@ def _assert_equal(obj1, obj2): # If both objects are np.ndarray subclasses, check that they # have the same type if isinstance(obj1, np.ndarray) and isinstance(obj2, np.ndarray): - assert type(obj1) == type(obj2) + assert type(obj1) is type(obj2) obj1 = obj1.view(np.ndarray) obj2 = obj2.view(np.ndarray)