From 2ca4a289f04dd1a0e112651b51e82957ff5f0ae5 Mon Sep 17 00:00:00 2001 From: fynnbe Date: Sat, 8 Jun 2024 20:10:02 +0200 Subject: [PATCH] fix test_interprete_file_source_from_str --- tests/test_internal/test_io.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_internal/test_io.py b/tests/test_internal/test_io.py index 32e54dbe0..fe0cbf3fe 100644 --- a/tests/test_internal/test_io.py +++ b/tests/test_internal/test_io.py @@ -54,7 +54,7 @@ def test_interprete_file_source_from_str(): with ValidationContext(root=Path(__file__).parent.parent): interpreted = interprete_file_source(src) assert isinstance(interpreted, RelativeFilePath) - assert isinstance(interpreted.absolute, Path) + assert isinstance(interpreted.absolute(), Path) assert interpreted.absolute().exists()