Skip to content
This repository has been archived by the owner on Oct 2, 2024. It is now read-only.

Commit

Permalink
tests pass?
Browse files Browse the repository at this point in the history
  • Loading branch information
reidpr committed Oct 25, 2023
1 parent efdd222 commit ca28ca7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions lib/filesystem.py
Original file line number Diff line number Diff line change
Expand Up @@ -521,11 +521,11 @@ def strip(self, left=0, right=0):
>>> a = Path("/a/b/c")
>>> a.strip(left=1)
Path("a/b/c")
Path('a/b/c')
>>> a.strip(right=1)
Path("/a/b")
Path('/a/b')
>>> a.strip(left=1, right=1)
Path("a/b")
Path('a/b')
It is an error if I don’t have at least left + right components,
i.e., you can strip a path down to nothing but not further."""
Expand Down
2 changes: 1 addition & 1 deletion test/doctest-auto
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ for f in ../lib/*.py; do
fi
cat <<EOF
@test 'doctest: $m" {
@test 'doctest: $m' {
./doctest $m
}
EOF
Expand Down

0 comments on commit ca28ca7

Please sign in to comment.