def METHOD_NAME(self):
    # Pep8 violations should be ignored.
    with open(self.f.name, 'w') as f:
        f.write("foo/hello/test.py:304:15: E203 whitespace before ':'")
    num = pavelib.quality._count_pylint_violations(f.name)  # pylint: disable=protected-access
    assert num == 0