diff --git a/tests/testing/asserters_test.py b/tests/testing/asserters_test.py index 61b71b1d4..f25ef4178 100644 --- a/tests/testing/asserters_test.py +++ b/tests/testing/asserters_test.py @@ -866,7 +866,7 @@ def test_assert_frame_equal_check_exact(self, size, left_as_arkouda, right_as_ar # check_exact # rtol # atol - rng = ak.random.default_rng() + rng = ak.random.default_rng(seed=17) atol = 0.001 rtol = 0.001 @@ -887,6 +887,7 @@ def test_assert_frame_equal_check_exact(self, size, left_as_arkouda, right_as_ar assert_frame_equal(df, df_rtol_atol, check_exact=True) with pytest.raises(AssertionError): assert_frame_equivalent(convert_left(df), convert_right(df_rtol_atol), check_exact=True) + if both_ak: with pytest.raises(AssertionError): assert_frame_equal(df, df_rtol_atol, check_exact=False, rtol=rtol) @@ -894,6 +895,7 @@ def test_assert_frame_equal_check_exact(self, size, left_as_arkouda, right_as_ar assert_frame_equivalent( convert_left(df), convert_right(df_rtol_atol), check_exact=False, rtol=rtol ) + if both_ak: with pytest.raises(AssertionError): assert_frame_equal(df, df_rtol_atol, check_exact=False, atol=atol)