import subprocess


def test_call_flake8(tmpdir):
    tmp = tmpdir.join('tmp.py')
    tmp.write('')
    output = subprocess.check_output(
        ['flake8', str(tmp)],
        stderr=subprocess.STDOUT,
    )
    assert output == b''

add test case for tuple attribute error #35