Skip to content

Commit b2cbcff

Browse files
committed
Skip test that doesn't work on MacOS
1 parent 8158b5d commit b2cbcff

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tests/test_asyncio.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Will be ignored on Python2 by conftest.py settings
22

33
import pytest
4+
import sys
45

56

67
@pytest.mark.asyncio
@@ -57,6 +58,9 @@ async def test_asyncio_ioc(asyncio_ioc):
5758

5859

5960
@pytest.mark.asyncio
61+
@pytest.mark.skipif(
62+
sys.platform.startswith("darwin"),
63+
reason="devIocStats reboot doesn't work on MacOS")
6064
async def test_asyncio_ioc_override(asyncio_ioc_override):
6165
from aioca import caget, caput
6266

@@ -69,7 +73,7 @@ async def test_asyncio_ioc_override(asyncio_ioc_override):
6973
# Stop
7074
await caput(pre + ":SYSRESET", 1)
7175
# check closed and output
72-
out, err = asyncio_ioc_override.proc.communicate()
76+
out, err = asyncio_ioc_override.proc.communicate(timeout=5)
7377
out = out.decode()
7478
err = err.decode()
7579
# check closed and output

0 commit comments

Comments
 (0)