def METHOD_NAME(self) -> None:
    self.make_file("out/gettysburg.txt", GOOD_GETTY)
    self.make_file("out/another.more", "hi")
    # Extra files in the output are ok with actual_extra=True.
    compare(gold_path("testing/getty"), "out", scrubs=SCRUBS, actual_extra=True)
    # But not without it:
    # (test output is in files like /tmp/pytest-of-user/pytest-0/popen-gw3/t76/out)
    msg = r"Files in .*[/\\]t\d+[/\\]out only: \['another.more'\]"
    with pytest.raises(AssertionError, match=msg):
        compare(gold_path("testing/getty"), "out", scrubs=SCRUBS)
    self.assert_exists(os.path.join(TESTS_DIR, "actual/testing/getty/another.more"))
    # But only the files matching the file_pattern are considered.
    compare(gold_path("testing/getty"), "out", file_pattern="*.txt", scrubs=SCRUBS)