/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
D | test_textwrap.py | 31 def check(self, result, expect): argument 32 self.assertEqual(result, expect, 34 self.show(expect), self.show(result))) 36 def check_wrap(self, text, width, expect, **kwargs): argument 38 self.check(result, expect) 40 def check_split(self, text, expect): argument 42 self.assertEqual(result, expect, 44 "but got %r" % (expect, result)) 81 expect = ["This is a paragraph that already has line", 89 self.check(result, expect) [all …]
|
D | test_urllib.py | 421 expect = given.replace(' ', hexescape(' ')) 423 self.assertEqual(expect, result, 424 "using quote(): %s != %s" % (expect, result)) 425 expect = given.replace(' ', '+') 427 self.assertEqual(expect, result, 428 "using quote_plus(): %s != %s" % (expect, result)) 448 expect = chr(num) 450 self.assertEqual(expect, result, 451 "using unquote(): %s != %s" % (expect, result)) 453 self.assertEqual(expect, result, [all …]
|
D | test_cgi.py | 124 for orig, expect in parse_strict_test_cases: 127 self.assertEqual(d, expect, "Error parsing %s" % repr(orig)) 129 self.assertEqual(d, expect, "Error parsing %s" % repr(orig)) 135 if isinstance(expect, dict): 137 self.assertEqual(len(expect), len(fcd)) 138 self.assertItemsEqual(expect.keys(), fcd.keys()) 139 self.assertItemsEqual(expect.values(), fcd.values()) 140 self.assertItemsEqual(expect.items(), fcd.items()) 146 for key in expect.keys(): 147 expect_val = expect[key] [all …]
|
D | test_eof.py | 9 expect = "EOL while scanning string literal (<string>, line 1)" 14 self.assertEqual(str(msg), expect) 19 expect = ("EOF while scanning triple-quoted string literal " 24 self.assertEqual(str(msg), expect)
|
D | test_warnings.py | 546 expect = format % (file_name, line_num, category.__name__, message, 548 self.assertEqual(expect, self.module.formatwarning(message, 552 expect = format % (file_name, line_num, category.__name__, message, 554 self.assertEqual(expect, self.module.formatwarning(message, 564 expect = self.module.formatwarning(message, category, file_name, 568 self.assertEqual(file_object.getvalue(), expect) 571 expect = self.module.formatwarning(message, category, file_name, 576 self.assertEqual(expect, file_object.getvalue())
|
D | test_optparse.py | 1505 expect = u"""\ 1510 self.assertHelpEquals(expect) 1515 expect = u"""\ 1521 self.assertHelpEquals(expect) 1535 expect = """\ 1555 self.assertHelpEquals(expect) 1558 self.assertHelpEquals(expect + "\nPlease report bugs to /dev/null.\n")
|
D | test_cookielib.py | 170 for arg, expect in tests: 178 self.assertEqual(result, expect, """ 182 """ % (arg, expect, result)) 209 for arg, expect in tests: 212 self.assertEqual(res, expect, """ 217 """ % (arg, expect, res, input))
|
D | ieee754.txt | 11 what you expect. We treat two floats as equal if the difference between them
|
D | test_urlparse.py | 83 for orig, expect in parse_qsl_test_cases: 85 self.assertEqual(result, expect, "Error parsing %s" % repr(orig))
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/json/tests/ |
D | test_tool.py | 18 expect = textwrap.dedent("""\ variable in TestTool 45 self.assertEqual(out.splitlines(), self.expect.encode().splitlines()) 58 self.assertEqual(out.splitlines(), self.expect.encode().splitlines()) 67 self.assertEqual(fp.read(), self.expect)
|
D | test_encode_basestring_ascii.py | 27 for input_string, expect in CASES: 29 self.assertEqual(result, expect, 31 result, expect, fname, input_string))
|
D | test_separators.py | 10 expect = textwrap.dedent("""\ 40 self.assertEqual(d2, expect)
|
D | test_indent.py | 11 expect = textwrap.dedent("""\ 41 self.assertEqual(d2, expect)
|
D | test_scanstring.py | 95 def assertScan(given, expect): argument 97 (expect, len(given))) 101 (expect, len(given)))
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/json/tests/ |
D | test_encode_basestring_ascii.py | 27 for input_string, expect in CASES: 29 self.assertEqual(result, expect, 31 result, expect, fname, input_string))
|
D | test_separators.py | 10 expect = textwrap.dedent("""\ 40 self.assertEqual(d2, expect)
|
D | test_indent.py | 11 expect = textwrap.dedent("""\ 41 self.assertEqual(d2, expect)
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/ |
D | RIGHTS | 18 As long as these guidelines are kept, we expect to continue enhancing 19 this system and expect to make other tools available as they are
|
D | KNOWN_PROBLEMS.txt | 26 the user, but it isn't. expect. Some examples I've run seem to 158 expect, it will contain a reference to the Y that was
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/pgen2/ |
D | pgen.py | 153 name = self.expect(token.NAME) 154 self.expect(token.OP, ":") 156 self.expect(token.NEWLINE) 281 self.expect(token.OP, "]") 301 self.expect(token.OP, ")") 313 def expect(self, type, value=None): member in ParserGenerator
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
D | compileall.py | 88 expect = struct.pack('<4sl', imp.get_magic(), mtime) 92 if expect == actual:
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
D | compileall.py | 88 expect = struct.pack('<4sl', imp.get_magic(), mtime) 92 if expect == actual:
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/antlr/ |
D | makefile1 | 20 # As long as these guidelines are kept, we expect to continue enhancing 21 # this system and expect to make other tools available as they are
|
/device/linaro/bootloader/edk2/OvmfPkg/SmmControl2Dxe/ |
D | SmmControl2Dxe.inf | 5 # We expect the PEI phase to have covered the following:
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/dlg/ |
D | dlg1.txt | 87 guidelines are followed, we expect to continue enhancing 88 this system and expect to make other tools available as they
|