def METHOD_NAME(self):
    """Target problem type is not valid"""
    try:
        pyomo.opt.convert_problem(
            ("test4.nl", "tmp.nl"),
            pyomo.opt.ProblemFormat.nl,
            [pyomo.opt.ProblemFormat.mps],
        )
        self.fail("Expected pyomo.opt.ConverterError exception")
    except pyomo.opt.ConverterError:
        pass