<filename>src/p4p/test/test_cothread.py<gh_stars>10-100

import sys
import unittest

try:
    import cothread
except ImportError:
    class TestDummy(unittest.TestCase):
        def test_asyncio(self):
            raise unittest.SkipTest("Missing cothread")

else:
    from .cothreadtest import *

<filename>src/p4p/test/test_cothread.py<gh_stars>10-100

import sys
import unittest

try:
    import cothread
except ImportError:
    class TestDummy(unittest.TestCase):
        def test_asyncio(self):
            raise unittest.SkipTest("Missing cothread")

else:
    from .cothreadtest import *
