Skip to content

Commit b09317d

Browse files
committed
Fix now failing doctest that assumed non-existing stub file
1 parent a05790e commit b09317d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/docstub/_path_utils.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -365,8 +365,6 @@ def walk_source_and_targets(root_path, target_dir, *, ignore=()):
365365
'.../docstub/__init__.py'
366366
>>> stub_path.as_posix()
367367
'.../docstub/__init__.pyi'
368-
>>> stub_path.is_file()
369-
False
370368
"""
371369
if root_path.is_file():
372370
stub_path = target_dir / root_path.with_suffix(".pyi").name

0 commit comments

Comments
 (0)