From 01f3bbd38473edd5dd7ed0ddc1699d34bad86772 Mon Sep 17 00:00:00 2001 From: liuly12 Date: Wed, 2 Oct 2024 17:09:35 +0100 Subject: [PATCH] Resolve path error --- tests/test_nodes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_nodes.py b/tests/test_nodes.py index ed9b46b2..d4121578 100644 --- a/tests/test_nodes.py +++ b/tests/test_nodes.py @@ -420,7 +420,7 @@ def test_data_read(self): self.assertEqual(15, node.get_data_input("temperature")) def test_data_overrides(self): - data_path = "../docs/demo/data/processed/example_override_data.csv.gz" + data_path = Path.cwd() / "docs" / "demo" / "data" / "processed " / "example_override_data.csv.gz" input_data = pd.read_csv(data_path) overrides = {"data_input_dict": data_path}