We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8158b5d commit b2cbcffCopy full SHA for b2cbcff
1 file changed
tests/test_asyncio.py
@@ -1,6 +1,7 @@
1
# Will be ignored on Python2 by conftest.py settings
2
3
import pytest
4
+import sys
5
6
7
@pytest.mark.asyncio
@@ -57,6 +58,9 @@ async def test_asyncio_ioc(asyncio_ioc):
57
58
59
60
61
+@pytest.mark.skipif(
62
+ sys.platform.startswith("darwin"),
63
+ reason="devIocStats reboot doesn't work on MacOS")
64
async def test_asyncio_ioc_override(asyncio_ioc_override):
65
from aioca import caget, caput
66
@@ -69,7 +73,7 @@ async def test_asyncio_ioc_override(asyncio_ioc_override):
69
73
# Stop
70
74
await caput(pre + ":SYSRESET", 1)
71
75
# check closed and output
72
- out, err = asyncio_ioc_override.proc.communicate()
76
+ out, err = asyncio_ioc_override.proc.communicate(timeout=5)
77
out = out.decode()
78
err = err.decode()
79
0 commit comments