Searched refs:expect_none (Results 1 – 2 of 2) sorted by relevance
101 m.def("roundtrip", [](std::function<int(int)> f, bool expect_none = false) { in TEST_SUBMODULE() argument102 if (expect_none && f) in TEST_SUBMODULE()
95 assert m.roundtrip(None, expect_none=True) is None