diff --git a/pyproject.toml b/pyproject.toml index 483ff21..79cb721 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -69,9 +69,8 @@ packages = ["winloop"] [tool.cibuildwheel] build-frontend = "build" -# Winloop comment: skip tests for now ("ImportError: cannot import name 'includes' from ... " in GitHub action) -#test-extras = "test" -#test-command = "python -m unittest discover -v {project}/tests" +test-extras = "test" +test-command = "python -m unittest discover -v {project}/tests" [tool.pytest.ini_options] addopts = "--capture=no --assert=plain --strict-markers --tb=native --import-mode=importlib" diff --git a/winloop/__init__.py b/winloop/__init__.py index d4b3da8..d7abf54 100644 --- a/winloop/__init__.py +++ b/winloop/__init__.py @@ -5,7 +5,9 @@ from asyncio.events import BaseDefaultEventLoopPolicy as __BasePolicy -from . import includes as __includes # NOQA +# Winloop comment: next line commented out for now. Somehow winloop\includes +# is not included in the Winloop wheel, affecting version 0.1.6 on PyPI. +#from . import includes as __includes # NOQA from .loop import Loop as __BaseLoop # NOQA from ._version import __version__ # NOQA