-
Notifications
You must be signed in to change notification settings - Fork 188
Conversation
@@ -53,7 +53,7 @@ def run_pydocstyle(use_pep257=False): | |||
|
|||
count = 0 | |||
for error in errors: | |||
sys.stderr.write('%s\n' % error) | |||
sys.stdout.write('%s\n' % error) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now that errors are prints to stdout
, notice that the test for --count
in test_integration.py
needs to be made more robust.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How would you suggest I go about doing this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of checking that the count number is somewhere in the output, check that it's the last line of stdout
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Nurdok done.
@@ -53,7 +53,7 @@ def run_pydocstyle(use_pep257=False): | |||
|
|||
count = 0 | |||
for error in errors: | |||
sys.stderr.write('%s\n' % error) | |||
sys.stdout.write('%s\n' % error) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of checking that the count number is somewhere in the output, check that it's the last line of stdout
.
Merged. Thanks! |
Fixes for #201