def test_single_statement(self):
    self.compile_single('1 + 2')
    self.compile_single('\n1 + 2')
    self.compile_single('1 + 2\n')
    self.compile_single('1 + 2\n\n')
    self.compile_single('1 + 2\t\t\n')
    self.compile_single('1 + 2\t\t\n        ')
    self.compile_single('1 + 2 # one plus two')
    self.compile_single('1; 2')
    self.compile_single('import sys; sys')
    self.compile_single('def f():\n   pass')
    self.compile_single('while False:\n   pass')
    self.compile_single('if x:\n   f(x)')
    self.compile_single('if x:\n   f(x)\nelse:\n   g(x)')
    self.compile_single('class T:\n   pass')
    self.compile_single("c = '''\na=1\nb=2\nc=3\n'''")
def test_single_statement(self):
    self.compile_single('1 + 2')
    self.compile_single('\n1 + 2')
    self.compile_single('1 + 2\n')
    self.compile_single('1 + 2\n\n')
    self.compile_single('1 + 2\t\t\n')
    self.compile_single('1 + 2\t\t\n        ')
    self.compile_single('1 + 2 # one plus two')
    self.compile_single('1; 2')
    self.compile_single('import sys; sys')
    self.compile_single('def f():\n   pass')
    self.compile_single('while False:\n   pass')
    self.compile_single('if x:\n   f(x)')
    self.compile_single('if x:\n   f(x)\nelse:\n   g(x)')
    self.compile_single('class T:\n   pass')
    self.compile_single("c = '\na=1\nb=2\nc=3\n'")