We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2436f44 commit c8025b1Copy full SHA for c8025b1
tests/test_modules.cpp
@@ -63,7 +63,7 @@ TEST_SUBMODULE(modules, m) {
63
class DupeException { };
64
65
// Go ahead and leak, until we have a non-leaking py::module_ constructor
66
- auto dm = py::module_::create_extension_module("dummy", nullptr, new py::module_::module_def);
+ auto dm = py::module_("dummy");
67
auto failures = py::list();
68
69
py::class_<Dupe1>(dm, "Dupe1");
0 commit comments