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

This commit is contained in:
Mike Essenmacher 2023-02-09 13:11:01 -05:00 committed by GitHub
parent b8f28551cc
commit 531144dddc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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