OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:expected_regexp
(Results
1 - 5
of
5
) sorted by null
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/unittest/
case.py
100
def __init__(self, expected, test_case,
expected_regexp
=None):
103
self.
expected_regexp
=
expected_regexp
120
if self.
expected_regexp
is None:
123
expected_regexp
= self.
expected_regexp
124
if isinstance(
expected_regexp
, basestring):
125
expected_regexp
= re.compile(
expected_regexp
)
126
if not
expected_regexp
.search(str(exc_value)):
[
all
...]
/external/python/cpython2/Lib/unittest/
case.py
101
def __init__(self, expected, test_case,
expected_regexp
=None):
104
self.
expected_regexp
=
expected_regexp
121
if self.
expected_regexp
is None:
124
expected_regexp
= self.
expected_regexp
125
if not
expected_regexp
.search(str(exc_value)):
127
(
expected_regexp
.pattern, str(exc_value)))
[
all
...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/unittest/test/
test_assertions.py
155
for i,
expected_regexp
in enumerate(errors):
163
expected_regexp
=
expected_regexp
):
/external/python/cpython2/Lib/unittest/test/
test_assertions.py
159
for i,
expected_regexp
in enumerate(errors):
167
expected_regexp
=
expected_regexp
):
/external/tensorflow/tensorflow/python/kernel_tests/
py_func_test.py
419
expected_regexp
= r": blah.*" # Error at the top
420
expected_regexp
+= r"in raise_exception.*" # Stacktrace outer
421
expected_regexp
+= r"in inner_exception.*" # Stacktrace inner
422
expected_regexp
+= r": blah" # Stacktrace of raise
424
return re.search(
expected_regexp
, str(exception), re.DOTALL)
Completed in 6133 milliseconds