/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_parser.py | 305 def check_bad_tree(self, tree, label): member in class:IllegalSyntaxTestCase 315 self.check_bad_tree((1, 2, 3), "<junk>") 370 self.check_bad_tree(tree, "def f():\n return 1\n yield 1") 434 self.check_bad_tree(tree, "def f():\n return 1\n yield 1") 457 self.check_bad_tree(tree, "print >>fp,") 484 self.check_bad_tree(tree, "a,,c") 517 self.check_bad_tree(tree, "a $= b") 528 self.check_bad_tree(tree, "malformed global ast") 542 self.check_bad_tree(tree, "from import a")
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_parser.py | 305 def check_bad_tree(self, tree, label): member in class:IllegalSyntaxTestCase 315 self.check_bad_tree((1, 2, 3), "<junk>") 370 self.check_bad_tree(tree, "def f():\n return 1\n yield 1") 434 self.check_bad_tree(tree, "def f():\n return 1\n yield 1") 457 self.check_bad_tree(tree, "print >>fp,") 484 self.check_bad_tree(tree, "a,,c") 517 self.check_bad_tree(tree, "a $= b") 528 self.check_bad_tree(tree, "malformed global ast") 542 self.check_bad_tree(tree, "from import a")
|