From 5bd28db55591cd1759ecbc60b47580e553eb609f Mon Sep 17 00:00:00 2001 From: Eva Lott Date: Wed, 4 Dec 2024 12:37:34 +0000 Subject: [PATCH] skipped tango tests on 3.12 This will go in a seperate issue https://github.com/bluesky/ophyd-async/issues/681 --- tests/conftest.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/tests/conftest.py b/tests/conftest.py index 871162d99a..9e6c8c0209 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -251,4 +251,11 @@ def pytest_collection_modifyitems(config, items): for item in items: if tango_dir in str(item.fspath): - item.add_marker(pytest.mark.forked) + if sys.version_info >= (3, 12): + item.add_marker( + pytest.mark.skip( + reason="Tango is currently not supported on Python 3.12: https://github.com/bluesky/ophyd-async/issues/681" + ) + ) + else: + item.add_marker(pytest.mark.forked)