mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-22 13:15:12 +00:00
Replace "whitelist" with "allowlist" (#4506)
This commit is contained in:
parent
3ea37d04cc
commit
1f4cf8fe0b
@ -169,7 +169,7 @@ if(PYBIND11_TEST_OVERRIDE)
|
|||||||
# This allows the override to be done with extensions, preserving backwards compatibility.
|
# This allows the override to be done with extensions, preserving backwards compatibility.
|
||||||
foreach(test_name ${TEST_FILES_NO_EXT})
|
foreach(test_name ${TEST_FILES_NO_EXT})
|
||||||
if(NOT ${test_name} IN_LIST TEST_OVERRIDE_NO_EXT
|
if(NOT ${test_name} IN_LIST TEST_OVERRIDE_NO_EXT
|
||||||
)# If not in the whitelist, add to be filtered out.
|
)# If not in the allowlist, add to be filtered out.
|
||||||
list(APPEND PYBIND11_TEST_FILTER ${test_name})
|
list(APPEND PYBIND11_TEST_FILTER ${test_name})
|
||||||
endif()
|
endif()
|
||||||
endforeach()
|
endforeach()
|
||||||
|
Loading…
Reference in New Issue
Block a user