def METHOD_NAME(self):
    raised = self.assertRaises(
        _errors.UnhandledFileError, setuppy.extract, "unhandled-file", workdir="."
    )
    self.assertThat(raised.path, Equals("unhandled-file"))
    self.assertThat(raised.extractor_name, Equals("setup.py"))