/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_syntax.py | 493 def _check_error(self, code, errtext,
member in class:SyntaxTestCase 513 self._check_error("def f((x)=23): pass",
517 self._check_error("f() = 1", "assign")
520 self._check_error("del f()", "delete")
533 self._check_error(source, "global")
537 self._check_error("break", "outside loop")
546 self._check_error(source, "nested scope")
549 self._check_error("foo()\n bar()\n", "unexpected indent",
553 self._check_error("if 1:\nfoo()", "expected an indented block",
557 self._check_error("if 1:\n foo()\n bar()", [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_syntax.py | 493 def _check_error(self, code, errtext, member in class:SyntaxTestCase 513 self._check_error("def f((x)=23): pass", 517 self._check_error("f() = 1", "assign") 520 self._check_error("del f()", "delete") 533 self._check_error(source, "global") 537 self._check_error("break", "outside loop") 546 self._check_error(source, "nested scope") 549 self._check_error("foo()\n bar()\n", "unexpected indent", 553 self._check_error("if 1:\nfoo()", "expected an indented block", 557 self._check_error("if 1:\n foo()\n bar()" [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_syntax.py | 493 def _check_error(self, code, errtext, member in class:SyntaxTestCase 513 self._check_error("def f((x)=23): pass", 517 self._check_error("f() = 1", "assign") 520 self._check_error("del f()", "delete") 533 self._check_error(source, "global") 537 self._check_error("break", "outside loop") 546 self._check_error(source, "nested scope") 549 self._check_error("foo()\n bar()\n", "unexpected indent", 553 self._check_error("if 1:\nfoo()", "expected an indented block", 557 self._check_error("if 1:\n foo()\n bar()" [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_syntax.py | 493 def _check_error(self, code, errtext, member in class:SyntaxTestCase 513 self._check_error("def f((x)=23): pass", 517 self._check_error("f() = 1", "assign") 520 self._check_error("del f()", "delete") 533 self._check_error(source, "global") 537 self._check_error("break", "outside loop") 546 self._check_error(source, "nested scope") 549 self._check_error("foo()\n bar()\n", "unexpected indent", 553 self._check_error("if 1:\nfoo()", "expected an indented block", 557 self._check_error("if 1:\n foo()\n bar()" [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_syntax.py | 493 def _check_error(self, code, errtext, member in class:SyntaxTestCase 513 self._check_error("def f((x)=23): pass", 517 self._check_error("f() = 1", "assign") 520 self._check_error("del f()", "delete") 533 self._check_error(source, "global") 537 self._check_error("break", "outside loop") 546 self._check_error(source, "nested scope") 549 self._check_error("foo()\n bar()\n", "unexpected indent", 553 self._check_error("if 1:\nfoo()", "expected an indented block", 557 self._check_error("if 1:\n foo()\n bar()" [all...] |