From de082bed52ab85e8785ad6624d5c3473bb2012c9 Mon Sep 17 00:00:00 2001 From: Lars Reimann Date: Wed, 16 Nov 2022 12:27:39 +0100 Subject: [PATCH] fix: issues after merging --- Runtime/safe-ds/tests/data/test_table.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Runtime/safe-ds/tests/data/test_table.py b/Runtime/safe-ds/tests/data/test_table.py index 00315aa79..ec7ba9695 100644 --- a/Runtime/safe-ds/tests/data/test_table.py +++ b/Runtime/safe-ds/tests/data/test_table.py @@ -1,10 +1,10 @@ import pytest -from safe_ds.data._table import Table +from safe_ds.data import Table def test_read_csv_valid(): table = Table.from_csv("tests/resources/test_table_read_csv.csv") - assert table.data["A"][0] == 1 and table.data["B"][0] == 2 + assert table._data["A"][0] == 1 and table._data["B"][0] == 2 def test_read_csv_invalid(): @@ -14,7 +14,7 @@ def test_read_csv_invalid(): def test_read_json_valid(): table = Table.from_json("tests/resources/test_table_read_json.json") - assert table.data["A"][0] == 1 and table.data["B"][0] == 2 + assert table._data["A"][0] == 1 and table._data["B"][0] == 2 def test_read_json_invalid():