From 01663042226559ccafed4ce95a562a6a7dacce5a Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Tue, 4 Mar 2025 19:53:24 -0500 Subject: [PATCH] Add a mark to `pytest.xfail()` questionably conc py stuff (ur mam `.xfail()`s bish!) --- tests/devx/conftest.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/devx/conftest.py b/tests/devx/conftest.py index ae594c7..7992e8c 100644 --- a/tests/devx/conftest.py +++ b/tests/devx/conftest.py @@ -99,6 +99,14 @@ def ctlc( 'https://github.com/goodboy/tractor/issues/320' ) + if mark.name == 'ctlcs_bish': + pytest.skip( + f'Test {node} prolly uses something from the stdlib (namely `asyncio`..)\n' + f'The test and/or underlying example script can *sometimes* run fine ' + f'locally but more then likely until the cpython peeps get their sh#$ together, ' + f'this test will definitely not behave like `trio` under SIGINT..\n' + ) + if use_ctlc: # XXX: disable pygments highlighting for auto-tests # since some envs (like actions CI) will struggle