

def _test(self, conv, inp):
    sig = support.s('*, par: c', locals={
        'c': conv,
    })
    csig = parser.CliSignature.from_signature(sig)
    self.assertRaises(errors.BadArgumentFormat, self.read_arguments, csig, ['--par', inp])

dataset/ETHPy150Open epsy/clize/clize/tests/test_converters.py ConverterErrorTests._test/original