mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-22 05:05:11 +00:00
style: pre-commit fixes
This commit is contained in:
parent
35b16a8d5f
commit
3cd11315da
@ -566,8 +566,7 @@ TEST_SUBMODULE(class_, m) {
|
|||||||
py::arg("x"),
|
py::arg("x"),
|
||||||
py::kw_only(),
|
py::kw_only(),
|
||||||
py::arg("y"),
|
py::arg("y"),
|
||||||
py::is_method(py::none())
|
py::is_method(py::none()));
|
||||||
);
|
|
||||||
|
|
||||||
m.attr("KwOnlyMethod") = parent_metaclass("MwOnlyMethod", py::make_tuple(), attributes);
|
m.attr("KwOnlyMethod") = parent_metaclass("MwOnlyMethod", py::make_tuple(), attributes);
|
||||||
}
|
}
|
||||||
|
@ -504,4 +504,4 @@ def test_pr4220_tripped_over_this():
|
|||||||
|
|
||||||
|
|
||||||
def test_kw_only():
|
def test_kw_only():
|
||||||
assert (m.KwOnlyMethod().test("x", y="y") == 0)
|
assert m.KwOnlyMethod().test("x", y="y") == 0
|
||||||
|
Loading…
Reference in New Issue
Block a user