def METHOD_NAME(self):
    check = self.mk_check()
    filesdir = self.mk_pkg("dev-util/foo")
    with open(pjoin(filesdir, "foo"), "wb") as f:
        f.write(b"\xd3\xad\xbe\xef")
    r = self.assertReport(check, [])
    assert isinstance(r, repo.BinaryFile)
    assert r.path == "dev-util/foo/files/foo"
    assert "'dev-util/foo/files/foo'" in str(r)