From dd9fe0b0433ae632679edeb696fdf2b562a6d174 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Wed, 12 Mar 2025 13:13:20 -0400 Subject: [PATCH] Add `tests/__init__.py` for `.conftest` imports I must have had a local touched file but never committed or something? Seems that new `pytest` requires a top level `tests` pkg in order for relative `.conftest` imports to work. --- tests/__init__.py | 0 tests/test_cancellation.py | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 tests/__init__.py diff --git a/tests/__init__.py b/tests/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/tests/test_cancellation.py b/tests/test_cancellation.py index 5fd58fbc..18ad3615 100644 --- a/tests/test_cancellation.py +++ b/tests/test_cancellation.py @@ -14,7 +14,7 @@ import tractor from tractor._testing import ( tractor_test, ) -from conftest import no_windows +from .conftest import no_windows def is_win():