Skip to content
This repository was archived by the owner on Nov 3, 2023. It is now read-only.

Commit b3a241e

Browse files
committed
Code review fixes.
1 parent 99c2dfd commit b3a241e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/pydocstyle/parser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def next(obj, default=nothing):
3434

3535
class ParseError(Exception):
3636
def __str__(self):
37-
return "cannot parse file"
37+
return "Cannot parse file."
3838

3939

4040
def humanize(string):

src/tests/test_integration.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -974,5 +974,5 @@ def test_syntax_error_multiple_files(env):
974974

975975
out, err, code = env.invoke(args="-v")
976976
assert code == 1
977-
assert 'first.py: cannot parse file' in err
978-
assert 'second.py: cannot parse file' in err
977+
assert 'first.py: Cannot parse file' in err
978+
assert 'second.py: Cannot parse file' in err

0 commit comments

Comments
 (0)