mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-10 23:04:18 +00:00
Latest pycodestyle
This commit is contained in:
parent
532ea9ccab
commit
50e7cc71b9
7 changed files with 21 additions and 4 deletions
|
|
@ -23,7 +23,7 @@ def test_oserrors_cause_serial_fall_back():
|
|||
with mock.patch('_multiprocessing.SemLock', side_effect=err):
|
||||
manager = checker.Manager(style_guide, [], [])
|
||||
with mock.patch.object(manager, 'run_serial') as serial:
|
||||
manager.run()
|
||||
manager.run()
|
||||
assert serial.call_count == 1
|
||||
assert manager.using_multiprocessing is False
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue