mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-26 15:12:01 +00:00
Replace .stl_binders.
with .cases_for_stubgen.
This commit is contained in:
parent
1a2e8a6624
commit
79f6bdca36
@ -96,4 +96,6 @@ from pybind11_tests import cases_for_stubgen as m
|
|||||||
],
|
],
|
||||||
)
|
)
|
||||||
def test_docstring(docstring, expected):
|
def test_docstring(docstring, expected):
|
||||||
|
# On some platforms the stl_binders module name prevails for KeysView, ValuesView, ItemsView.
|
||||||
|
docstring = docstring.replace(".stl_binders.", ".cases_for_stubgen.")
|
||||||
assert docstring == expected
|
assert docstring == expected
|
||||||
|
Loading…
Reference in New Issue
Block a user