mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-08 14:04:16 +00:00
Simplify and speed up multiprocessing
This commit is contained in:
parent
348722d77b
commit
109f5f8888
4 changed files with 64 additions and 105 deletions
|
|
@ -59,7 +59,7 @@ def test_read_lines_from_stdin(stdin_get_value):
|
|||
stdin_value = mock.Mock()
|
||||
stdin_value.splitlines.return_value = []
|
||||
stdin_get_value.return_value = stdin_value
|
||||
file_processor = processor.FileProcessor('-', options_from())
|
||||
processor.FileProcessor('-', options_from())
|
||||
stdin_get_value.assert_called_once_with()
|
||||
stdin_value.splitlines.assert_called_once_with(True)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue