Searched defs:assert_ (Results 1 - 7 of 7) sorted by relevance

/external/python/cpython2/Lib/lib2to3/fixes/
H A Dfix_asserts.py9 assert_="assertTrue", variable
/external/python/cpython3/Lib/lib2to3/fixes/
H A Dfix_asserts.py9 assert_="assertTrue", variable
/external/autotest/client/cros/
H A Dmainloop.py136 def assert_(self, arg): member in class:GenericTesterMainLoop
137 self.test.assert_(self, arg)
/external/python/cpython2/Lib/wsgiref/
H A Dvalidate.py127 def assert_(cond, *args): function
144 assert_(len(args) == 2, "Two arguments required")
145 assert_(not kw, "No keyword arguments allowed")
155 assert_(len(args) == 2 or len(args) == 3, (
157 assert_(not kw, "No keyword arguments allowed")
177 assert_(iterator is not None and iterator != False,
192 assert_(len(args) <= 1)
194 assert_(type(v) is type(""))
199 assert_(type(v) is type(""))
203 assert_(le
[all...]
/external/python/cpython3/Lib/wsgiref/
H A Dvalidate.py126 def assert_(cond, *args): function
149 assert_(len(args) == 2, "Two arguments required")
150 assert_(not kw, "No keyword arguments allowed")
160 assert_(len(args) == 2 or len(args) == 3, (
162 assert_(not kw, "No keyword arguments allowed")
182 assert_(iterator is not None and iterator != False,
197 assert_(len(args) == 1)
199 assert_(type(v) is bytes)
203 assert_(len(args) <= 1)
205 assert_(typ
[all...]
/external/autotest/client/common_lib/
H A Dtest.py88 def assert_(self, expr, msg='Assertion failed.'): member in class:base_test
/external/python/cpython2/Lib/unittest/
H A Dcase.py603 assert_ = assertTrue variable in class:TestCase

Completed in 237 milliseconds