aboutsummaryrefslogtreecommitdiffstats
path: root/3rdparty/pybind11/tests/test_constants_and_functions.py
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/pybind11/tests/test_constants_and_functions.py')
-rw-r--r--3rdparty/pybind11/tests/test_constants_and_functions.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/3rdparty/pybind11/tests/test_constants_and_functions.py b/3rdparty/pybind11/tests/test_constants_and_functions.py
index 472682d6..b980ccf1 100644
--- a/3rdparty/pybind11/tests/test_constants_and_functions.py
+++ b/3rdparty/pybind11/tests/test_constants_and_functions.py
@@ -1,4 +1,7 @@
-from pybind11_tests import constants_and_functions as m
+# -*- coding: utf-8 -*-
+import pytest
+
+m = pytest.importorskip("pybind11_tests.constants_and_functions")
def test_constants():