fix mypy
This commit is contained in:
parent
95cd3b9289
commit
3b60497082
2 changed files with 16 additions and 6 deletions
|
@ -71,7 +71,7 @@ def test_zippath() -> None:
|
|||
|
||||
matched = list(zp.rglob('*'))
|
||||
assert len(matched) > 0
|
||||
assert all(p.root.filename == str(target) for p in matched), matched
|
||||
assert all(p.filename == str(target) for p in matched), matched
|
||||
|
||||
rpaths = [str(p.relative_to(zp)) for p in matched]
|
||||
assert rpaths == [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue