commit | c57d2bcc5051c1d104ea6c1f1a3b489b6487f754 | [log] [tgz] |
---|---|---|
author | Chris Liechti <[email protected]> | Wed May 25 01:50:37 2016 +0200 |
committer | Chris Liechti <[email protected]> | Wed May 25 01:50:37 2016 +0200 |
tree | 9a438bb80870fef529eefaedf5ac33176ac096e4 | |
parent | 4dcd02532e96766cf01fb1625ebb742e585355ff [diff] |
test: skip asyncio on non-posix systems
diff --git a/test/test_asyncio.py b/test/test_asyncio.py index 4794bfe..99548b3 100644 --- a/test/test_asyncio.py +++ b/test/test_asyncio.py
@@ -8,6 +8,7 @@ Test asyncio related functionality. """ +import os import unittest import serial @@ -22,6 +23,7 @@ pass else: + @unittest.skipIf(os.name != 'posix', "asyncio not supported on platform") class Test_asyncio(unittest.TestCase): """Test asyncio related functionality"""