Searched refs:fail_fmt (Results 1 – 3 of 3) sorted by relevance
/external/bcc/tests/lua/ |
D | luaunit.lua | 581 local function fail_fmt(level, ...) function 585 M.private.fail_fmt = fail_fmt 676 fail_fmt(2, 'Values are not almost equal\nExpected: %s with margin of %s, received: %s', 693 fail_fmt(2, 'Received the not expected value: %s', prettystr(actual)) 702 …fail_fmt(2, 'Values are almost equal\nExpected: %s with a difference above margin of %s, received:… 712 fail_fmt(2, 'Error, %s %s was not found in string %s', 722 fail_fmt(2, 'Error, substring %s was not found (case insensitively) in string %s', 732 fail_fmt(2, 'Error, %s %s was found in string %s', 742 fail_fmt(2, 'Error, substring %s was found (case insensitively) in string %s', 752 fail_fmt(2, 'Error, pattern %s was not matched by string %s', [all …]
|
/external/python/cpython3/Lib/test/ |
D | test_math.py | 232 fail_fmt = "expected {!r}, got {!r}" 233 fail_msg = fail_fmt.format(expected, got) 1308 fail_fmt = "{}: {}({!r}): {}" 1344 msg = fail_fmt.format(id, fn, ar, failure) 1353 fail_fmt = "{}: {}({!r}): {}" 1411 msg = fail_fmt.format(id, fn, arg, failure)
|
/external/python/cpython2/Lib/test/ |
D | test_math.py | 968 fail_fmt = "{}:{}({!r}): expected {!r}, got {!r}" 1017 fail_msg = fail_fmt.format(id, fn, arg, expected, got)
|