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 1d0660fCopy full SHA for 1d0660f
tests/test_modules.cpp
@@ -62,8 +62,7 @@ TEST_SUBMODULE(modules, m) {
62
class Dupe3 { };
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