

def find_invalid_namespace(self):
    '\n        Application.find_namespace() should raise an error when finding missing namespace\n        '
    application = Application()
    application.assertRaisesRegexp(Exception, 'There are no commands defined in the "bar" namespace\\.', application.find_namespace, 'bar')

dataset/ETHPy150Open sdispater/cleo/tests/test_application.py ApplicationTest.find_invalid_namespace/VarMisuse@18/49 `self`->`application`