Replace .stl_binders. with .cases_for_stubgen.

This commit is contained in:
Ralf W. Grosse-Kunstleve 2023-11-14 23:40:33 -08:00
parent 1a2e8a6624
commit 79f6bdca36

View File

@ -96,4 +96,6 @@ from pybind11_tests import cases_for_stubgen as m
],
)
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