Register our `ctlcs_bish` marker to avoid warnings

ns_aware
Gud Boi 2026-03-02 18:08:58 -05:00
parent 4639685770
commit 776af3fce6
1 changed files with 8 additions and 0 deletions

View File

@ -33,6 +33,14 @@ if TYPE_CHECKING:
from pexpect import pty_spawn 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()` # a fn that sub-instantiates a `pexpect.spawn()`
# and returns it. # and returns it.
type PexpectSpawner = Callable[ type PexpectSpawner = Callable[