diff --git a/tests/python/test_nyxus.py b/tests/python/test_nyxus.py index de4a0889..d6373bff 100644 --- a/tests/python/test_nyxus.py +++ b/tests/python/test_nyxus.py @@ -350,7 +350,7 @@ def test_parquet_writer(self): assert False continue - assert feature_value == arrow_value + assert feature_value == pytest.approx(arrow_value, rel=1e-6) open_parquet_file.close() @@ -389,7 +389,7 @@ def test_parquet_writer_file_naming(self): assert False continue - assert feature_value == arrow_value + assert feature_value == pytest.approx(arrow_value, rel=1e-6) file.close() @@ -442,7 +442,7 @@ def test_make_arrow_ipc(self): assert False continue - assert feature_value == arrow_value + assert feature_value == pytest.approx(arrow_value, rel=1e-6) path = nyx.get_arrow_ipc_file() @@ -475,7 +475,7 @@ def test_arrow_ipc(self): assert False continue - assert feature_value == arrow_value + assert feature_value == pytest.approx(arrow_value, rel=1e-6) @pytest.mark.arrow def test_arrow_ipc_file_naming(self): @@ -508,7 +508,7 @@ def test_arrow_ipc_file_naming(self): assert False continue - assert feature_value == arrow_value + assert feature_value == pytest.approx(arrow_value, rel=1e-6) @pytest.mark.arrow def test_arrow_ipc_no_path(self): @@ -541,7 +541,7 @@ def test_arrow_ipc_no_path(self): assert False continue - assert feature_value == arrow_value + assert feature_value == pytest.approx(arrow_value, rel=1e-6) @pytest.mark.arrow def test_arrow_ipc_path(self):