aboutsummaryrefslogtreecommitdiffstats
path: root/3rdparty/pybind11/tests/test_async.py
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/pybind11/tests/test_async.py')
-rw-r--r--3rdparty/pybind11/tests/test_async.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/3rdparty/pybind11/tests/test_async.py b/3rdparty/pybind11/tests/test_async.py
index e1c959d6..df4489c4 100644
--- a/3rdparty/pybind11/tests/test_async.py
+++ b/3rdparty/pybind11/tests/test_async.py
@@ -1,6 +1,8 @@
-import asyncio
+# -*- coding: utf-8 -*-
import pytest
-from pybind11_tests import async_module as m
+
+asyncio = pytest.importorskip("asyncio")
+m = pytest.importorskip("pybind11_tests.async_module")
@pytest.fixture