@@ -265,19 +265,19 @@ def __fspath__(self):
265
265
assert m .parent_path (PseudoBytesPath ()) == Path ("foo" )
266
266
assert (
267
267
doc (m .parent_path )
268
- == "parent_path(arg0: Union[os.PathLike, str, bytes]) -> Path"
268
+ == "parent_path(arg0: Union[os.PathLike, str, bytes]) -> pathlib. Path"
269
269
)
270
270
# std::vector
271
271
assert m .parent_paths (["foo/bar" , "foo/baz" ]) == [Path ("foo" ), Path ("foo" )]
272
272
assert (
273
273
doc (m .parent_paths )
274
- == "parent_paths(arg0: list[Union[os.PathLike, str, bytes]]) -> list[Path]"
274
+ == "parent_paths(arg0: list[Union[os.PathLike, str, bytes]]) -> list[pathlib. Path]"
275
275
)
276
276
# py::typing::List
277
277
assert m .parent_paths_list (["foo/bar" , "foo/baz" ]) == [Path ("foo" ), Path ("foo" )]
278
278
assert (
279
279
doc (m .parent_paths_list )
280
- == "parent_paths_list(arg0: list[Union[os.PathLike, str, bytes]]) -> list[Path]"
280
+ == "parent_paths_list(arg0: list[Union[os.PathLike, str, bytes]]) -> list[pathlib. Path]"
281
281
)
282
282
# Nested py::typing::List
283
283
assert m .parent_paths_nested_list ([["foo/bar" ], ["foo/baz" , "foo/buzz" ]]) == [
@@ -286,13 +286,13 @@ def __fspath__(self):
286
286
]
287
287
assert (
288
288
doc (m .parent_paths_nested_list )
289
- == "parent_paths_nested_list(arg0: list[list[Union[os.PathLike, str, bytes]]]) -> list[list[Path]]"
289
+ == "parent_paths_nested_list(arg0: list[list[Union[os.PathLike, str, bytes]]]) -> list[list[pathlib. Path]]"
290
290
)
291
291
# py::typing::Tuple
292
292
assert m .parent_paths_tuple (("foo/bar" , "foo/baz" )) == (Path ("foo" ), Path ("foo" ))
293
293
assert (
294
294
doc (m .parent_paths_tuple )
295
- == "parent_paths_tuple(arg0: tuple[Union[os.PathLike, str, bytes], Union[os.PathLike, str, bytes]]) -> tuple[Path, Path]"
295
+ == "parent_paths_tuple(arg0: tuple[Union[os.PathLike, str, bytes], Union[os.PathLike, str, bytes]]) -> tuple[pathlib. Path, pathlib. Path]"
296
296
)
297
297
# py::typing::Dict
298
298
assert m .parent_paths_dict (
@@ -308,7 +308,7 @@ def __fspath__(self):
308
308
}
309
309
assert (
310
310
doc (m .parent_paths_dict )
311
- == "parent_paths_dict(arg0: dict[str, Union[os.PathLike, str, bytes]]) -> dict[str, Path]"
311
+ == "parent_paths_dict(arg0: dict[str, Union[os.PathLike, str, bytes]]) -> dict[str, pathlib. Path]"
312
312
)
313
313
314
314
0 commit comments