Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[smart_holder] Remove test_exc_namespace_visibility.py #5254

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.

Loading