Skip to content

Commit ef13237

Browse files
committed
WITH_THREAD cleanup pass: tests/
1 parent b455b8f commit ef13237

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_call_policies.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ TEST_SUBMODULE(call_policies, m) {
9595
},
9696
py::call_guard<DependentGuard, CustomGuard>());
9797

98-
#if defined(WITH_THREAD) && !defined(PYPY_VERSION)
98+
#if !defined(PYPY_VERSION)
9999
// `py::call_guard<py::gil_scoped_release>()` should work in PyPy as well,
100100
// but it's unclear how to test it without `PyGILState_GetThisThreadState`.
101101
auto report_gil_status = []() {

0 commit comments

Comments
 (0)