From ca3189ca3b0d5b1d24a455e824b7bb8f01c94434 Mon Sep 17 00:00:00 2001 From: Pankaj Kumar Bind Date: Sat, 7 Mar 2026 23:37:32 +0530 Subject: [PATCH] fix: correct implicit string concatenation in test_ship.py message arrays --- tests/test_ship.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_ship.py b/tests/test_ship.py index 496a2b3a..987703b6 100644 --- a/tests/test_ship.py +++ b/tests/test_ship.py @@ -39,7 +39,7 @@ def test_shipparams_get_element(self): salinity = np.array([6.4, 6.5, 6.41, 6.42]) water_temperature = np.array([6.7, 6.8, 6.71, 6.72]) status = np.array([1, 2, 2, 3]) - message = np.array(['OK', 'OK', 'Error' 'OK']) + message = np.array(['OK', 'OK', 'Error', 'OK']) sp = ShipParams(fuel_rate=fuel, power=power, rpm=rpm, speed=speed, r_wind=rwind, r_calm=rcalm, r_waves=rwaves, r_shallow=rshallow, r_roughness=rroughness, wave_height=wave_height, @@ -105,7 +105,7 @@ def test_shipparams_get_single(self): salinity = np.array([6.4, 6.5, 6.41, 6.42]) water_temperature = np.array([6.7, 6.8, 6.71, 6.72]) status = np.array([1, 2, 2, 3]) - message = np.array(['OK', 'OK', 'Error' 'OK']) + message = np.array(['OK', 'OK', 'Error', 'OK']) sp = ShipParams(fuel_rate=fuel, power=power, rpm=rpm, speed=speed, r_wind=rwind, r_calm=rcalm, r_waves=rwaves,