Home
last modified time | relevance | path

Searched refs:assertError (Results 1 – 3 of 3) sorted by relevance

/external/python/cpython3/Lib/test/
Dtest_getopt.py21 def assertError(self, *args, **kwargs): member in GetoptTests
27 self.assertError(getopt.short_has_arg, 'a', 'b')
42 self.assertError(getopt.long_has_args, 'abc', ['def'])
43 self.assertError(getopt.long_has_args, 'abc', [])
44 self.assertError(getopt.long_has_args, 'abc', ['abcd','abcde'])
67 self.assertError(getopt.do_shorts, [], 'a1', 'a', [])
68 self.assertError(getopt.do_shorts, [], 'a', 'a:', [])
94 self.assertError(getopt.do_longs, [], 'abc=1', ['abc'], [])
95 self.assertError(getopt.do_longs, [], 'abc', ['abc='], [])
112 self.assertError(getopt.getopt, cmdline, 'a:b', ['alpha', 'beta'])
/external/python/cpython2/Lib/test/
Dtest_getopt.py21 def assertError(self, *args, **kwargs): member in GetoptTests
27 self.assertError(getopt.short_has_arg, 'a', 'b')
42 self.assertError(getopt.long_has_args, 'abc', ['def'])
43 self.assertError(getopt.long_has_args, 'abc', [])
44 self.assertError(getopt.long_has_args, 'abc', ['abcd','abcde'])
67 self.assertError(getopt.do_shorts, [], 'a1', 'a', [])
68 self.assertError(getopt.do_shorts, [], 'a', 'a:', [])
94 self.assertError(getopt.do_longs, [], 'abc=1', ['abc'], [])
95 self.assertError(getopt.do_longs, [], 'abc', ['abc='], [])
112 self.assertError(getopt.getopt, cmdline, 'a:b', ['alpha', 'beta'])
/external/bcc/tests/lua/
Dluaunit.lua610 function M.assertError(f, ...) function