Skip to content

Commit

Permalink
skipped tango tests on 3.12
Browse files Browse the repository at this point in the history
This will go in a seperate issue #681
  • Loading branch information
evalott100 committed Dec 4, 2024
1 parent bb35b9b commit 44fdf00
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 44fdf00

Please sign in to comment.