mirror of
https://github.com/pybind/pybind11.git
synced 2025-03-01 22:32:42 +00:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
9c8df99e40
commit
ae3cfa82cc
@ -18,5 +18,5 @@
|
|||||||
|
|
||||||
TEST_SUBMODULE(_make_alias, m) {
|
TEST_SUBMODULE(_make_alias, m) {
|
||||||
ma = m.make_alias(pybind11::module::strip_leading_underscore_from_name);
|
ma = m.make_alias(pybind11::module::strip_leading_underscore_from_name);
|
||||||
ma.def("foo", []() -> { });
|
ma.def("foo", []() -> {});
|
||||||
}
|
}
|
||||||
|
@ -4,5 +4,6 @@ from pybind11_tests import ConstructorStats
|
|||||||
|
|
||||||
m = pytest.importorskip("pybind11_tests.make_alias")
|
m = pytest.importorskip("pybind11_tests.make_alias")
|
||||||
|
|
||||||
|
|
||||||
def assert_name(mat):
|
def assert_name(mat):
|
||||||
assert m.__name__ == "make_alias"
|
assert m.__name__ == "make_alias"
|
||||||
|
Loading…
Reference in New Issue
Block a user