def test_bad_single_statement(self):
    self.assertInvalidSingle('1\n2')
    self.assertInvalidSingle('def f(): pass')
    self.assertInvalidSingle('a = 13\nb = 187')
    self.assertInvalidSingle('del x\ndel y')
    self.assertInvalidSingle('f()\ng()')
    self.assertInvalidSingle('f()\n# blah\nblah()')
    self.assertInvalidSingle('f()\nxy # blah\nblah()')
    self.assertInvalidSingle('x = 5 # comment\nx = 6\n')
    self.assertInvalidSingle("c = '''\nd=1\n'''\na = 1\n\nb = 2\n")
def test_bad_single_statement(self):
    self.assertInvalidSingle('1\n2')
    self.assertInvalidSingle('def f(): pass')
    self.assertInvalidSingle('a = 13\nb = 187')
    self.assertInvalidSingle('del x\ndel y')
    self.assertInvalidSingle('f()\ng()')
    self.assertInvalidSingle('f()\n# blah\nblah()')
    self.assertInvalidSingle('f()\nxy # blah\nblah()')
    self.assertInvalidSingle('x = 5 # comment\nx = 6\n')
    self.assertInvalidSingle("c = '\nd=1\n'\na = 1\n\nb = 2\n")