Home
last modified time | relevance | path

Searched refs:expect_none (Results 1 – 2 of 2) sorted by relevance

/external/python/pybind11/tests/
Dtest_callbacks.cpp101 m.def("roundtrip", [](std::function<int(int)> f, bool expect_none = false) { in TEST_SUBMODULE() argument
102 if (expect_none && f) in TEST_SUBMODULE()
Dtest_callbacks.py95 assert m.roundtrip(None, expect_none=True) is None