

def test_invalid_sub_command_bails(self):
    cmd = commands.Command()
    with self.assertRaises(SystemExit):
        self.parse(['foo'])

dataset/ETHPy150Open mopidy/mopidy/tests/test_commands.py CommandParsingTest.test_invalid_sub_command_bails/VarMisuse@28/37 `cmd`->`self`