File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -148,6 +148,7 @@ set(PYBIND11_TEST_FILES
148
148
test_eigen
149
149
test_enum
150
150
test_eval
151
+ test_exc_namespace_visibility.py
151
152
test_exceptions
152
153
test_factory_constructors
153
154
test_gil_scoped
@@ -157,7 +158,6 @@ set(PYBIND11_TEST_FILES
157
158
test_methods_and_attributes
158
159
test_modules
159
160
test_multiple_inheritance
160
- test_namespace_visibility.py
161
161
test_numpy_array
162
162
test_numpy_dtypes
163
163
test_numpy_vectorize
@@ -237,7 +237,8 @@ tests_extra_targets("test_exceptions.py" "cross_module_interleaved_error_already
237
237
tests_extra_targets ("test_gil_scoped.py" "cross_module_gil_utils" )
238
238
tests_extra_targets ("test_class_sh_module_local.py"
239
239
"class_sh_module_local_0;class_sh_module_local_1;class_sh_module_local_2" )
240
- tests_extra_targets ("test_namespace_visibility.py" "namespace_visibility_1;namespace_visibility_2" )
240
+ tests_extra_targets ("test_exc_namespace_visibility.py"
241
+ "namespace_visibility_1;namespace_visibility_2" )
241
242
242
243
set (PYBIND11_EIGEN_REPO
243
244
"https://gitlab.com/libeigen/eigen.git"
Original file line number Diff line number Diff line change 4
4
# `-fvisibility=hidden` or `__attribute__((visibility("hidden")))`, or linking
5
5
# extensions statically with the core Python interpreter.
6
6
7
+ # NOTE
8
+ # ====
9
+ # The "exc_" in "test_exc_namespace_visibility.py" is a workaround, to avoid a
10
+ # test_cross_module_exception_translator (test_exceptions.py) failure. This
11
+ # test has to be imported (by pytest) before test_exceptions.py; pytest sorts
12
+ # lexically. See https://github.com/pybind/pybind11/pull/4054 for more information.
13
+
7
14
import itertools
8
15
9
16
import namespace_visibility_1
You can’t perform that action at this time.
0 commit comments