From f70ad621e6c9590bf1d2428f9c8dec18cc8c3c62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Orvisk=C3=BD?= <orvisky.tomas@centrum.cz> Date: Sun, 28 Apr 2024 16:04:03 +0200 Subject: [PATCH] relative paths to tests --- tests/PyPlamlTest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/PyPlamlTest.py b/tests/PyPlamlTest.py index 53ee19a..8df10c2 100644 --- a/tests/PyPlamlTest.py +++ b/tests/PyPlamlTest.py @@ -25,7 +25,7 @@ class PyPlamlTest(unittest.TestCase): self.assertTrue(False, f"Parser exception in {example_file}") def test_drawing(self): - main_script = Path(__file__).parent.parent / 'main.py' + main_script = pathlib.Path(__file__).parent.parent / 'main.py' for e in self.examples_sorted: self.assertEqual( -- GitLab