From b35e764dfd8a054618923cfab3bd68ba1e25975d Mon Sep 17 00:00:00 2001 From: Jackson Burns Date: Tue, 3 Dec 2024 15:02:03 -0500 Subject: [PATCH] np.bool is deprecated, bool --- test/rmgpy/kinetics/kineticsSurfaceTest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/rmgpy/kinetics/kineticsSurfaceTest.py b/test/rmgpy/kinetics/kineticsSurfaceTest.py index 5aeaf0b746..1f67453082 100644 --- a/test/rmgpy/kinetics/kineticsSurfaceTest.py +++ b/test/rmgpy/kinetics/kineticsSurfaceTest.py @@ -594,7 +594,7 @@ def test_is_temperature_valid(self): Test the SurfaceChargeTransfer.is_temperature_valid() method. """ T_data = np.array([200, 400, 600, 800, 1000, 1200, 1400, 1600, 1800, 4000]) - valid_data = np.array([False, True, True, True, True, True, True, True, True, False], np.bool) + valid_data = np.array([False, True, True, True, True, True, True, True, True, False], bool) for T, valid in zip(T_data, valid_data): valid0 = self.surfchargerxn_reduction.is_temperature_valid(T) assert valid0 == valid