Home
last modified time | relevance | path

Searched refs:invalid_syntax (Results 1 – 14 of 14) sorted by relevance

/external/python/cpython3/Lib/lib2to3/tests/
Dtest_parser.py122 def invalid_syntax(self, code): member in GrammarTest
141 self.invalid_syntax("yield from")
184 self.invalid_syntax("await x")
185 self.invalid_syntax("""def foo():
188 self.invalid_syntax("""def foo():
203 self.invalid_syntax("""def foo():
210 self.invalid_syntax("""def foo():
225 self.invalid_syntax("raise E, V, T, Z")
231 self.invalid_syntax("raise E, V from E1")
234 self.invalid_syntax("raise E from E1, E2")
[all …]
/external/python/cpython2/Lib/lib2to3/tests/
Dtest_parser.py121 def invalid_syntax(self, code): member in GrammarTest
140 self.invalid_syntax("yield from")
154 self.invalid_syntax("raise E, V, T, Z")
160 self.invalid_syntax("raise E, V from E1")
163 self.invalid_syntax("raise E from E1, E2")
166 self.invalid_syntax("raise from E1, E2")
169 self.invalid_syntax("raise E from")
272 self.invalid_syntax("""0o7324528887""")
276 self.invalid_syntax("""0b0101021""")
/external/autotest/cli/
Dacl.py87 self.invalid_syntax('Only specify one of --user,'
91 self.invalid_syntax('Only specify one <user>')
93 self.invalid_syntax('Only specify one <machine>')
154 self.invalid_syntax('Must specify a description to create an ACL.')
160 self.invalid_syntax('Can only create one ACL at a time')
212 self.invalid_syntax('Specify at least one USER or MACHINE')
Datest.py48 syntax_obj.invalid_syntax('No topic argument')
58 syntax_obj.invalid_syntax('Invalid topic %s' % topic)
74 topic_obj.invalid_syntax('No action argument')
83 topic_obj.invalid_syntax('Invalid action %s' % action)
Djob.py125 self.invalid_syntax('Only specify --all or --user, not both.')
173 self.invalid_syntax('Must specify at least one job.')
179 self.invalid_syntax('--list-hosts is implicit when using '
182 self.invalid_syntax('--list-hosts and --list-hosts-status should '
324 self.invalid_syntax('Too many arguments specified, only expected '
437 self.invalid_syntax('Must specify at least one machine.'
440 self.invalid_syntax('Must specify either --test or --control-file'
443 self.invalid_syntax('Can only specify one of --control-file or '
458 self.invalid_syntax('If you specify tests, then the '
552 self.invalid_syntax('Cannot specify hosts and reuse the same '
[all …]
Dserver.py100 self.invalid_syntax('Server actions will access server database '
108 self.invalid_syntax('`server` topic requires hostname. '
113 self.invalid_syntax('`server` topic can only manipulate 1 server. '
179 self.invalid_syntax('May only specify up to 1 output-format flag.')
272 self.invalid_syntax('--role is required to create a server.')
485 self.invalid_syntax(msg)
487 self.invalid_syntax('--delete does not apply to status or note.')
489 self.invalid_syntax('--attribute must be used with option --value '
494 self.invalid_syntax('--action is currently not supported with'
Dsuite.py113 self.invalid_syntax('Too many arguments specified, only expected '
127 self.invalid_syntax('--board is required.')
131 self.invalid_syntax('--build is required.')
Dhost.py74 self.invalid_syntax('Only specify one of '
177 self.invalid_syntax('--locked and --unlocked are '
186 self.invalid_syntax('--user, --acl or --status is not '
190 self.invalid_syntax('--full-output is conflicted with '
197 self.invalid_syntax('--full_output is only supported with '
484 self.invalid_syntax(
629 self.invalid_syntax('Must provide --unlock-lock-id with "--skylab '
634 self.invalid_syntax('--unlock-lock-id is only valid with '
651 self.invalid_syntax('--remove_acls is not supported with --skylab.')
1048 self.invalid_syntax('--for-migration and --for-rollback are '
[all …]
Dlabel.py90 self.invalid_syntax('Only specify one of --all,'
94 self.invalid_syntax(('Only one machine name allowed. '
194 self.invalid_syntax('%s %s requires at least one host' %
Dtopic_common.py290 self.invalid_syntax(header + rest)
295 def invalid_syntax(self, msg): member in atest
546 self.invalid_syntax('Can not set --dryrun or --draft when '
590 self.invalid_syntax(s)
593 self.invalid_syntax('%s %s requires at least one %s' %
677 self.invalid_syntax('Invalid server name %s: %s' %
Dtest.py79 self.invalid_syntax('Do not specify a test name with --all or '
Dshard.py166 self.invalid_syntax('Must provide exactly 1 BOARD_LABEL')
Daction_common.py96 self.invalid_syntax('Cannot mix wilcards and items')
/external/kmod/tools/
Ddepmod.c2585 goto invalid_syntax; in depmod_load_system_map()
2589 goto invalid_syntax; in depmod_load_system_map()
2607 invalid_syntax: in depmod_load_system_map()