def METHOD_NAME(self):
    # gif works on Arch Linux, but not on Debian based systems, while PNG does work
    # on both
    file = SimpleUploadedFile(
        "pixel.png", PIXEL_PNG, content_type="application/octet-stream"
    )
    validator = validators.MimeTypeValidator()
    try:
        validator(file)
    except ValidationError as e:
        self.fail(f"Valid file failed validation: {e}")