def METHOD_NAME(self):
    pkgs = ("dev-util/foo-0", "dev-util/bar-1")
    for update in (
        " move dev-util/foo dev-util/bar",  # prefix
        "move dev-util/foo dev-util/bar ",
    ):  # suffix
        updates = {"1Q-2020": [update]}
        r = self.assertReport(self.mk_check(pkgs=pkgs, **updates), [])
        assert isinstance(r, repo_metadata.BadPackageUpdate)
        assert "extra whitespace" in str(r)
        assert "on line 1" in str(r)