Skip to content

Commit

Permalink
Remove test_exc_namespace_visibility.py and its dependencies. (The te…
Browse files Browse the repository at this point in the history
…st will continue to live in the pybind11k repo.) (#5254)
  • Loading branch information
Ralf W. Grosse-Kunstleve committed Jul 20, 2024
1 parent e933e21 commit 8fd495a
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 168 deletions.
13 changes: 2 additions & 11 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,6 @@ set(PYBIND11_TEST_FILES
test_eigen_tensor
test_enum
test_eval
test_exc_namespace_visibility.py
test_exceptions
test_factory_constructors
test_gil_scoped
Expand Down Expand Up @@ -249,8 +248,6 @@ tests_extra_targets("test_exceptions.py" "cross_module_interleaved_error_already
tests_extra_targets("test_gil_scoped.py" "cross_module_gil_utils")
tests_extra_targets("test_class_sh_module_local.py"
"class_sh_module_local_0;class_sh_module_local_1;class_sh_module_local_2")
tests_extra_targets("test_exc_namespace_visibility.py"
"namespace_visibility_1;namespace_visibility_2")

set(PYBIND11_EIGEN_REPO
"https://gitlab.com/libeigen/eigen.git"
Expand Down Expand Up @@ -465,14 +462,8 @@ if(PYBIND11_CUDA_TESTS)
endif()

foreach(target ${test_targets})
if("${target}" STREQUAL "pybind11_tests")
set(test_files ${PYBIND11_TEST_FILES})
elseif("${target}" STREQUAL "namespace_visibility_1")
set(test_files namespace_visibility_1s.cpp)
if(PYBIND11_CUDA_TESTS)
set_property(SOURCE namespace_visibility_1s.cpp PROPERTY LANGUAGE CUDA)
endif()
else()
set(test_files ${PYBIND11_TEST_FILES})
if(NOT "${target}" STREQUAL "pybind11_tests")
set(test_files "")
endif()

Expand Down
31 changes: 0 additions & 31 deletions tests/namespace_visibility.inl

This file was deleted.

24 changes: 0 additions & 24 deletions tests/namespace_visibility_1.cpp

This file was deleted.

17 changes: 0 additions & 17 deletions tests/namespace_visibility_1s.cpp

This file was deleted.

17 changes: 0 additions & 17 deletions tests/namespace_visibility_2.cpp

This file was deleted.

68 changes: 0 additions & 68 deletions tests/test_exc_namespace_visibility.py

This file was deleted.

0 comments on commit 8fd495a

Please sign in to comment.