From 062018e6186ad18d1290ecb437d141275a1fad66 Mon Sep 17 00:00:00 2001 From: michaelchin Date: Wed, 23 Oct 2024 19:17:43 +1100 Subject: [PATCH] fix test_2_points.py. assert the two numpy arrays are not emtpy. --- tests-dir/pytestcases/test_2_points.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests-dir/pytestcases/test_2_points.py b/tests-dir/pytestcases/test_2_points.py index 4b97e2c..ed0f550 100644 --- a/tests-dir/pytestcases/test_2_points.py +++ b/tests-dir/pytestcases/test_2_points.py @@ -30,7 +30,7 @@ def test_point_reconstruction(time, gpts): rlons, rlats = gpts.reconstruct(time, return_array=True, anchor_plate_id=0) assert ( - rlons and rlats + rlons.size and rlats.size ), "Unable to reconstruct point data to {} Ma with Muller et al. (2019).".format( time )