/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_global.py | 3 from test.test_support import run_unittest, check_syntax_error
18 check_syntax_error(self, prog_text_1)
26 check_syntax_error(self, prog_text_2)
35 check_syntax_error(self, prog_text_3)
|
test_grammar.py | 4 from test.test_support import run_unittest, check_syntax_error, \
292 check_syntax_error(self, "f(*g(1=2))")
293 check_syntax_error(self, "f(**g(1=2))")
307 check_syntax_error(self, "lambda x: x = 2")
308 check_syntax_error(self, "lambda (None,): None")
334 check_syntax_error(self, "x + 1 = 1")
335 check_syntax_error(self, "a + 1 = b + 2")
404 check_syntax_error(self, 'print ,')
405 check_syntax_error(self, 'print >> x,')
485 check_syntax_error(self, "class foo:return 1") [all...] |
test_scope.py | 2 from test.test_support import check_syntax_error, check_py3k_warnings, \
185 check_syntax_error(self, """\
193 check_syntax_error(self, """\
201 check_syntax_error(self, """\
211 check_syntax_error(self, """\
219 check_syntax_error(self, """\
226 check_syntax_error(self, """\
|
/external/python/cpython2/Lib/test/ |
test_global.py | 3 from test.test_support import run_unittest, check_syntax_error 18 check_syntax_error(self, prog_text_1) 26 check_syntax_error(self, prog_text_2) 35 check_syntax_error(self, prog_text_3)
|
test_grammar.py | 4 from test.test_support import run_unittest, check_syntax_error, \ 298 check_syntax_error(self, "f(*g(1=2))") 299 check_syntax_error(self, "f(**g(1=2))") 313 check_syntax_error(self, "lambda x: x = 2") 314 check_syntax_error(self, "lambda (None,): None") 340 check_syntax_error(self, "x + 1 = 1") 341 check_syntax_error(self, "a + 1 = b + 2") 410 check_syntax_error(self, 'print ,') 411 check_syntax_error(self, 'print >> x,') 491 check_syntax_error(self, "class foo:return 1" [all...] |
test_scope.py | 2 from test.test_support import check_syntax_error, check_py3k_warnings, \ 185 check_syntax_error(self, """\ 193 check_syntax_error(self, """\ 201 check_syntax_error(self, """\ 211 check_syntax_error(self, """\ 219 check_syntax_error(self, """\ 226 check_syntax_error(self, """\
|
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_global.py | 3 from test.test_support import run_unittest, check_syntax_error 18 check_syntax_error(self, prog_text_1) 26 check_syntax_error(self, prog_text_2) 35 check_syntax_error(self, prog_text_3)
|
test_grammar.py | 4 from test.test_support import run_unittest, check_syntax_error, \ 292 check_syntax_error(self, "f(*g(1=2))") 293 check_syntax_error(self, "f(**g(1=2))") 307 check_syntax_error(self, "lambda x: x = 2") 308 check_syntax_error(self, "lambda (None,): None") 334 check_syntax_error(self, "x + 1 = 1") 335 check_syntax_error(self, "a + 1 = b + 2") 404 check_syntax_error(self, 'print ,') 405 check_syntax_error(self, 'print >> x,') 485 check_syntax_error(self, "class foo:return 1" [all...] |
test_scope.py | 2 from test.test_support import check_syntax_error, check_py3k_warnings, \ 185 check_syntax_error(self, """\ 193 check_syntax_error(self, """\ 201 check_syntax_error(self, """\ 211 check_syntax_error(self, """\ 219 check_syntax_error(self, """\ 226 check_syntax_error(self, """\
|
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_global.py | 3 from test.test_support import run_unittest, check_syntax_error 18 check_syntax_error(self, prog_text_1) 26 check_syntax_error(self, prog_text_2) 35 check_syntax_error(self, prog_text_3)
|
test_grammar.py | 4 from test.test_support import run_unittest, check_syntax_error, \ 292 check_syntax_error(self, "f(*g(1=2))") 293 check_syntax_error(self, "f(**g(1=2))") 307 check_syntax_error(self, "lambda x: x = 2") 308 check_syntax_error(self, "lambda (None,): None") 334 check_syntax_error(self, "x + 1 = 1") 335 check_syntax_error(self, "a + 1 = b + 2") 404 check_syntax_error(self, 'print ,') 405 check_syntax_error(self, 'print >> x,') 485 check_syntax_error(self, "class foo:return 1" [all...] |
test_scope.py | 2 from test.test_support import check_syntax_error, check_py3k_warnings, \ 185 check_syntax_error(self, """\ 193 check_syntax_error(self, """\ 201 check_syntax_error(self, """\ 211 check_syntax_error(self, """\ 219 check_syntax_error(self, """\ 226 check_syntax_error(self, """\
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_global.py | 3 from test.test_support import run_unittest, check_syntax_error 18 check_syntax_error(self, prog_text_1) 26 check_syntax_error(self, prog_text_2) 35 check_syntax_error(self, prog_text_3)
|
test_grammar.py | 4 from test.test_support import run_unittest, check_syntax_error, \ 292 check_syntax_error(self, "f(*g(1=2))") 293 check_syntax_error(self, "f(**g(1=2))") 307 check_syntax_error(self, "lambda x: x = 2") 308 check_syntax_error(self, "lambda (None,): None") 334 check_syntax_error(self, "x + 1 = 1") 335 check_syntax_error(self, "a + 1 = b + 2") 404 check_syntax_error(self, 'print ,') 405 check_syntax_error(self, 'print >> x,') 485 check_syntax_error(self, "class foo:return 1" [all...] |
test_scope.py | 2 from test.test_support import check_syntax_error, check_py3k_warnings, \ 185 check_syntax_error(self, """\ 193 check_syntax_error(self, """\ 201 check_syntax_error(self, """\ 211 check_syntax_error(self, """\ 219 check_syntax_error(self, """\ 226 check_syntax_error(self, """\
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_global.py | 3 from test.test_support import run_unittest, check_syntax_error 18 check_syntax_error(self, prog_text_1) 26 check_syntax_error(self, prog_text_2) 35 check_syntax_error(self, prog_text_3)
|
test_grammar.py | 4 from test.test_support import run_unittest, check_syntax_error, \ 292 check_syntax_error(self, "f(*g(1=2))") 293 check_syntax_error(self, "f(**g(1=2))") 307 check_syntax_error(self, "lambda x: x = 2") 308 check_syntax_error(self, "lambda (None,): None") 334 check_syntax_error(self, "x + 1 = 1") 335 check_syntax_error(self, "a + 1 = b + 2") 404 check_syntax_error(self, 'print ,') 405 check_syntax_error(self, 'print >> x,') 485 check_syntax_error(self, "class foo:return 1" [all...] |
/external/python/cpython3/Lib/test/ |
test_global.py | 3 from test.support import run_unittest, check_syntax_error, check_warnings 27 check_syntax_error(self, prog_text_1, lineno=4, offset=4) 35 check_syntax_error(self, prog_text_2, lineno=3, offset=4) 44 check_syntax_error(self, prog_text_3, lineno=4, offset=4)
|
test_future.py | 16 def check_syntax_error(self, err, basename, lineno, offset=0): member in class:FutureTest 39 self.check_syntax_error(cm.exception, "badsyntax_future3", 3) 44 self.check_syntax_error(cm.exception, "badsyntax_future4", 3) 49 self.check_syntax_error(cm.exception, "badsyntax_future5", 4) 54 self.check_syntax_error(cm.exception, "badsyntax_future6", 3) 59 self.check_syntax_error(cm.exception, "badsyntax_future7", 3, 53) 64 self.check_syntax_error(cm.exception, "badsyntax_future8", 3) 69 self.check_syntax_error(cm.exception, "badsyntax_future9", 3, 0) 74 self.check_syntax_error(cm.exception, "badsyntax_future10", 3, 0)
|
test_grammar.py | 4 from test.support import check_syntax_error 281 check_syntax_error(self, "def f: int") 282 check_syntax_error(self, "x: int: str") 283 check_syntax_error(self, "def f():\n" 286 check_syntax_error(self, "[x, 0]: int\n") 287 check_syntax_error(self, "f(): int\n") 288 check_syntax_error(self, "(x,): int") 289 check_syntax_error(self, "def f():\n" 292 check_syntax_error(self, "def f():\n" 295 check_syntax_error(self, "def f():\n [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/tests/data/ |
py2_test_grammar.py | 11 from test.test_support import run_unittest, check_syntax_error
294 check_syntax_error(self, "f(*g(1=2))")
295 check_syntax_error(self, "f(**g(1=2))")
309 check_syntax_error(self, "lambda x: x = 2")
310 check_syntax_error(self, "lambda (None,): None")
336 check_syntax_error(self, "x + 1 = 1")
337 check_syntax_error(self, "a + 1 = b + 2")
406 check_syntax_error(self, 'print ,')
407 check_syntax_error(self, 'print >> x,')
487 check_syntax_error(self, "class foo:return 1") [all...] |
/external/python/cpython2/Lib/lib2to3/tests/data/ |
py2_test_grammar.py | 11 from test.test_support import run_unittest, check_syntax_error 294 check_syntax_error(self, "f(*g(1=2))") 295 check_syntax_error(self, "f(**g(1=2))") 309 check_syntax_error(self, "lambda x: x = 2") 310 check_syntax_error(self, "lambda (None,): None") 336 check_syntax_error(self, "x + 1 = 1") 337 check_syntax_error(self, "a + 1 = b + 2") 406 check_syntax_error(self, 'print ,') 407 check_syntax_error(self, 'print >> x,') 487 check_syntax_error(self, "class foo:return 1" [all...] |
/external/python/cpython3/Lib/lib2to3/tests/data/ |
py2_test_grammar.py | 11 from test.test_support import run_unittest, check_syntax_error 294 check_syntax_error(self, "f(*g(1=2))") 295 check_syntax_error(self, "f(**g(1=2))") 309 check_syntax_error(self, "lambda x: x = 2") 310 check_syntax_error(self, "lambda (None,): None") 336 check_syntax_error(self, "x + 1 = 1") 337 check_syntax_error(self, "a + 1 = b + 2") 406 check_syntax_error(self, 'print ,') 407 check_syntax_error(self, 'print >> x,') 487 check_syntax_error(self, "class foo:return 1" [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/tests/data/ |
py2_test_grammar.py | 11 from test.test_support import run_unittest, check_syntax_error 294 check_syntax_error(self, "f(*g(1=2))") 295 check_syntax_error(self, "f(**g(1=2))") 309 check_syntax_error(self, "lambda x: x = 2") 310 check_syntax_error(self, "lambda (None,): None") 336 check_syntax_error(self, "x + 1 = 1") 337 check_syntax_error(self, "a + 1 = b + 2") 406 check_syntax_error(self, 'print ,') 407 check_syntax_error(self, 'print >> x,') 487 check_syntax_error(self, "class foo:return 1" [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/tests/data/ |
py2_test_grammar.py | 11 from test.test_support import run_unittest, check_syntax_error 294 check_syntax_error(self, "f(*g(1=2))") 295 check_syntax_error(self, "f(**g(1=2))") 309 check_syntax_error(self, "lambda x: x = 2") 310 check_syntax_error(self, "lambda (None,): None") 336 check_syntax_error(self, "x + 1 = 1") 337 check_syntax_error(self, "a + 1 = b + 2") 406 check_syntax_error(self, 'print ,') 407 check_syntax_error(self, 'print >> x,') 487 check_syntax_error(self, "class foo:return 1" [all...] |