Skip to content

Commit c5ad26c

Browse files
committed
Rename test_exc_namespace_visibility.py back to test_namespace_visibility.py
1 parent 9ae35d2 commit c5ad26c

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

tests/CMakeLists.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,6 @@ set(PYBIND11_TEST_FILES
148148
test_eigen
149149
test_enum
150150
test_eval
151-
test_exc_namespace_visibility.py
152151
test_exceptions
153152
test_factory_constructors
154153
test_gil_scoped
@@ -158,6 +157,7 @@ set(PYBIND11_TEST_FILES
158157
test_methods_and_attributes
159158
test_modules
160159
test_multiple_inheritance
160+
test_namespace_visibility.py
161161
test_numpy_array
162162
test_numpy_dtypes
163163
test_numpy_vectorize
@@ -237,8 +237,7 @@ tests_extra_targets("test_exceptions.py" "cross_module_interleaved_error_already
237237
tests_extra_targets("test_gil_scoped.py" "cross_module_gil_utils")
238238
tests_extra_targets("test_class_sh_module_local.py"
239239
"class_sh_module_local_0;class_sh_module_local_1;class_sh_module_local_2")
240-
tests_extra_targets("test_exc_namespace_visibility.py"
241-
"namespace_visibility_1;namespace_visibility_2")
240+
tests_extra_targets("test_namespace_visibility.py" "namespace_visibility_1;namespace_visibility_2")
242241

243242
set(PYBIND11_EIGEN_REPO
244243
"https://gitlab.com/libeigen/eigen.git"

tests/test_exc_namespace_visibility.py renamed to tests/test_namespace_visibility.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,6 @@
44
# `-fvisibility=hidden` or `__attribute__((visibility("hidden")))`, or linking
55
# extensions statically with the core Python interpreter.
66

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-
147
import itertools
158

169
import namespace_visibility_1

0 commit comments

Comments
 (0)