From 3cf135751952777ad6fe82a579f2bad80519fec3 Mon Sep 17 00:00:00 2001 From: Adam Amer <136176500+adamamer20@users.noreply.github.com> Date: Fri, 2 Aug 2024 09:58:33 +0200 Subject: [PATCH] from absolute to relative import for build pytest --- tests/pandas/test_grid_pandas.py | 5 +++-- tests/test_agents.py | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/tests/pandas/test_grid_pandas.py b/tests/pandas/test_grid_pandas.py index 6df0841..876dbfa 100644 --- a/tests/pandas/test_grid_pandas.py +++ b/tests/pandas/test_grid_pandas.py @@ -4,11 +4,12 @@ import typeguard as tg from mesa_frames import GridPandas, ModelDF -from tests.pandas.test_agentset_pandas import ( + +from ..pandas.test_agentset_pandas import ( ExampleAgentSetPandas, fix1_AgentSetPandas, ) -from tests.polars.test_agentset_polars import ( +from ..polars.test_agentset_polars import ( ExampleAgentSetPolars, fix2_AgentSetPolars, ) diff --git a/tests/test_agents.py b/tests/test_agents.py index d72cf06..5347c8d 100644 --- a/tests/test_agents.py +++ b/tests/test_agents.py @@ -7,12 +7,13 @@ from mesa_frames import AgentsDF, ModelDF from mesa_frames.abstract.agents import AgentSetDF from mesa_frames.types_ import AgentMask -from tests.pandas.test_agentset_pandas import ( + +from .pandas.test_agentset_pandas import ( ExampleAgentSetPandas, fix1_AgentSetPandas, fix2_AgentSetPandas, ) -from tests.polars.test_agentset_polars import ( +from .polars.test_agentset_polars import ( ExampleAgentSetPolars, fix2_AgentSetPolars, )