From 776af3fce64520b6d0a2caec0480c9ea624be551 Mon Sep 17 00:00:00 2001 From: goodboy Date: Mon, 2 Mar 2026 18:08:58 -0500 Subject: [PATCH] Register our `ctlcs_bish` marker to avoid warnings --- tests/devx/conftest.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/devx/conftest.py b/tests/devx/conftest.py index b7559706..dc148d47 100644 --- a/tests/devx/conftest.py +++ b/tests/devx/conftest.py @@ -33,6 +33,14 @@ if TYPE_CHECKING: from pexpect import pty_spawn +def pytest_configure(config): + # register custom marks to avoid warnings see, + # https://docs.pytest.org/en/stable/how-to/writing_plugins.html#registering-custom-markers + config.addinivalue_line( + 'markers', + 'ctlcs_bish: test will (likely) not behave under SIGINT..' + ) + # a fn that sub-instantiates a `pexpect.spawn()` # and returns it. type PexpectSpawner = Callable[