From 5b58918bb660e54bd65f3647beff99ef67cb4b6c Mon Sep 17 00:00:00 2001 From: "Ralf W. Grosse-Kunstleve" Date: Sun, 6 Nov 2022 19:04:00 -0800 Subject: [PATCH] Rename test_named_namespace_?.py to test_exc_named_namespace_?.py, to work around the same issue as described under PR #4054. --- tests/CMakeLists.txt | 8 ++++---- ...named_namespace_a.py => test_exc_named_namespace_a.py} | 0 ...named_namespace_b.py => test_exc_named_namespace_b.py} | 0 3 files changed, 4 insertions(+), 4 deletions(-) rename tests/{test_named_namespace_a.py => test_exc_named_namespace_a.py} (100%) rename tests/{test_named_namespace_b.py => test_exc_named_namespace_b.py} (100%) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index d615c690c6..20bc6de2a4 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -133,6 +133,8 @@ set(PYBIND11_TEST_FILES test_eigen_tensor_avoid_stl_array.cpp test_enum test_eval + test_exc_named_namespace_a.py + test_exc_named_namespace_b.py test_exceptions test_factory_constructors test_gil_scoped @@ -142,8 +144,6 @@ set(PYBIND11_TEST_FILES test_methods_and_attributes test_modules test_multiple_inheritance - test_named_namespace_a.py - test_named_namespace_b.py test_numpy_array test_numpy_dtypes test_numpy_vectorize @@ -223,8 +223,8 @@ tests_extra_targets("test_exceptions.py;test_local_bindings.py;test_stl.py;test_ # And add additional targets for other tests. tests_extra_targets("test_exceptions.py" "cross_module_interleaved_error_already_set") tests_extra_targets("test_gil_scoped.py" "cross_module_gil_utils") -tests_extra_targets("test_named_namespace_a.py" "named_namespace_a") -tests_extra_targets("test_named_namespace_b.py" "named_namespace_b") +tests_extra_targets("test_exc_named_namespace_a.py" "named_namespace_a") +tests_extra_targets("test_exc_named_namespace_b.py" "named_namespace_b") set(PYBIND11_EIGEN_REPO "https://gitlab.com/libeigen/eigen.git" diff --git a/tests/test_named_namespace_a.py b/tests/test_exc_named_namespace_a.py similarity index 100% rename from tests/test_named_namespace_a.py rename to tests/test_exc_named_namespace_a.py diff --git a/tests/test_named_namespace_b.py b/tests/test_exc_named_namespace_b.py similarity index 100% rename from tests/test_named_namespace_b.py rename to tests/test_exc_named_namespace_b.py