mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-06 21:16:54 +00:00
Open our output file in append mode always
This avoid overwriting portions of our log output when using Flake8 in verbose mode. Closes #193
This commit is contained in:
parent
971dcc16f0
commit
e93aad6043
3 changed files with 10 additions and 4 deletions
|
|
@ -25,7 +25,7 @@ def test_start(filename):
|
|||
if filename is None:
|
||||
assert mock_open.called is False
|
||||
else:
|
||||
mock_open.assert_called_once_with(filename, 'w')
|
||||
mock_open.assert_called_once_with(filename, 'a')
|
||||
|
||||
|
||||
def test_stop():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue