def assertInvalidSingle(self, source):
    self.assertRaises(SyntaxError, self.compile_single, source)
def assertInvalidSingle(self, source):
    self.assertRaises(SyntaxError, self.compile_single, source)