Replace "whitelist" with "allowlist" (#4506)

This commit is contained in:
Mike Essenmacher 2023-02-09 13:11:01 -05:00 committed by Henry Schreiner
parent 3ea37d04cc
commit 1f4cf8fe0b
1 changed files with 1 additions and 1 deletions

View File

@ -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()