def test_too_many_arguments_in_fixture(absolute_path):
    "\n    End-to-End test to check arguments count.\n\n    It is required due to how 'function_type' parameter\n    works inside 'flake8'.\n\n    Otherwise it is not set, unit tests can not cover `is_method` correctly.\n    "
    filename = absolute_path('fixtures', 'config', 'wrong_arguments.py')
    process = subprocess.Popen(['flake8', '--select', 'Z', filename], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
    (stdout, _) = process.communicate()
    assert (stdout.count(b'Z211') == 4)
End-to-End test to check arguments count.

It is required due to how 'function_type' parameter
works inside 'flake8'.

Otherwise it is not set, unit tests can not cover `is_method` correctly.
def test_too_many_arguments_in_fixture(absolute_path):
    "\n    End-to-End test to check arguments count.\n\n    It is required due to how 'function_type' parameter\n    works inside 'flake8'.\n\n    Otherwise it is not set, unit tests can not cover `is_method` correctly.\n    "
    filename = absolute_path('fixtures', 'config', 'wrong_arguments.py')
    process = subprocess.Popen(['flake8', '--select', 'Z', filename], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
    (stdout, _) = process.communicate()
    assert (stdout.count(b'Z211') == 4)