Skip to content

Commit 8fd495a

Browse files
authored
Remove test_exc_namespace_visibility.py and its dependencies. (The test will continue to live in the pybind11k repo.) (#5254)
1 parent e933e21 commit 8fd495a

6 files changed

+2
-168
lines changed

tests/CMakeLists.txt

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,6 @@ set(PYBIND11_TEST_FILES
153153
test_eigen_tensor
154154
test_enum
155155
test_eval
156-
test_exc_namespace_visibility.py
157156
test_exceptions
158157
test_factory_constructors
159158
test_gil_scoped
@@ -249,8 +248,6 @@ tests_extra_targets("test_exceptions.py" "cross_module_interleaved_error_already
249248
tests_extra_targets("test_gil_scoped.py" "cross_module_gil_utils")
250249
tests_extra_targets("test_class_sh_module_local.py"
251250
"class_sh_module_local_0;class_sh_module_local_1;class_sh_module_local_2")
252-
tests_extra_targets("test_exc_namespace_visibility.py"
253-
"namespace_visibility_1;namespace_visibility_2")
254251

255252
set(PYBIND11_EIGEN_REPO
256253
"https://gitlab.com/libeigen/eigen.git"
@@ -465,14 +462,8 @@ if(PYBIND11_CUDA_TESTS)
465462
endif()
466463

467464
foreach(target ${test_targets})
468-
if("${target}" STREQUAL "pybind11_tests")
469-
set(test_files ${PYBIND11_TEST_FILES})
470-
elseif("${target}" STREQUAL "namespace_visibility_1")
471-
set(test_files namespace_visibility_1s.cpp)
472-
if(PYBIND11_CUDA_TESTS)
473-
set_property(SOURCE namespace_visibility_1s.cpp PROPERTY LANGUAGE CUDA)
474-
endif()
475-
else()
465+
set(test_files ${PYBIND11_TEST_FILES})
466+
if(NOT "${target}" STREQUAL "pybind11_tests")
476467
set(test_files "")
477468
endif()
478469

tests/namespace_visibility.inl

Lines changed: 0 additions & 31 deletions
This file was deleted.

tests/namespace_visibility_1.cpp

Lines changed: 0 additions & 24 deletions
This file was deleted.

tests/namespace_visibility_1s.cpp

Lines changed: 0 additions & 17 deletions
This file was deleted.

tests/namespace_visibility_2.cpp

Lines changed: 0 additions & 17 deletions
This file was deleted.

tests/test_exc_namespace_visibility.py

Lines changed: 0 additions & 68 deletions
This file was deleted.

0 commit comments

Comments
 (0)