Skip to content

Commit

Permalink
skipped tango tests for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
evalott100 committed Jan 14, 2025
1 parent 6560149 commit 4296ac6
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ async def sim_detector(request: FixtureRequest):


def pytest_collection_modifyitems(config, items):
tango_dir = "tests/tango"
tango_dir = os.path.join("tests", "tango")

for item in items:
if tango_dir in str(item.fspath):
Expand All @@ -287,5 +287,14 @@ def pytest_collection_modifyitems(config, items):
reason="Tango is currently not supported on Python 3.12: https://github.com/bluesky/ophyd-async/issues/681"
)
)
elif "win" in sys.platform:
item.add_marker(
pytest.mark.skip(
reason=(
"Tango tests are currently not supported on Windows: "
"https://github.com/bluesky/ophyd-async/issues/733"
)
)
)
else:
item.add_marker(pytest.mark.forked)

0 comments on commit 4296ac6

Please sign in to comment.