diff options
| author | Anthony Sottile <asottile@umich.edu> | 2019-01-23 07:59:09 -0800 |
|---|---|---|
| committer | Anthony Sottile <asottile@umich.edu> | 2019-01-29 08:58:10 -0800 |
| commit | 50e7cc71b99e49103177ae1fcd497abc696c114c (patch) | |
| tree | 7d7e904ca37e7204802c5b25e3adb09bcd16d342 /tests | |
| parent | 532ea9ccab8a6271230d14b3f274e98bf829caba (diff) | |
| download | flake8-50e7cc71b99e49103177ae1fcd497abc696c114c.tar.gz | |
Latest pycodestyle
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/unit/test_checker_manager.py | 2 | ||||
| -rw-r--r-- | tests/unit/test_file_processor.py | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/tests/unit/test_checker_manager.py b/tests/unit/test_checker_manager.py index 02397f0..2b6cb76 100644 --- a/tests/unit/test_checker_manager.py +++ b/tests/unit/test_checker_manager.py @@ -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 diff --git a/tests/unit/test_file_processor.py b/tests/unit/test_file_processor.py index e83136a..04d816d 100644 --- a/tests/unit/test_file_processor.py +++ b/tests/unit/test_file_processor.py @@ -13,6 +13,7 @@ def options_from(**kwargs): """Generate a Values instances with our kwargs.""" kwargs.setdefault('hang_closing', True) kwargs.setdefault('max_line_length', 79) + kwargs.setdefault('max_doc_length', None) kwargs.setdefault('verbose', False) kwargs.setdefault('stdin_display_name', 'stdin') return optparse.Values(kwargs) |
