Home
last modified time | relevance | path

Searched refs:assertSequenceEqual (Results 1 – 19 of 19) sorted by relevance

/third_party/python/Lib/test/
Daudit-tests.py64 def assertSequenceEqual(x, y): function
127 assertSequenceEqual(actual, [(o, marshal.version)] * 2)
130 assertSequenceEqual(actual, [payload])
133 assertSequenceEqual(actual, ["marshal.load"])
184 assertSequenceEqual(
215 assertSequenceEqual(
229 assertSequenceEqual([], actual_flag)
262 assertSequenceEqual(["call"] * 4, traced)
Dtest_audit.py84 self.assertSequenceEqual(
109 self.assertSequenceEqual(["winreg.EnumKey", " ", f"{expected} 0"], events[2])
110 self.assertSequenceEqual(["winreg.EnumKey", " ", f"{expected} 10000"], events[3])
111 self.assertSequenceEqual(["winreg.PyHKEY.Detach", " ", expected], events[4])
Dtest_compare.py65 self.assertSequenceEqual(calls, ['Left.__eq__', 'Right.__ne__'])
83 self.assertSequenceEqual(calls, ['Derived.__ne__', 'Base.__eq__'])
Dtest_sndhdr.py21 self.assertSequenceEqual(what, expected)
Dtest_capi.py100 … self.assertSequenceEqual(orig_exc_info, (raised_exception.__class__, raised_exception, tb))
101 self.assertSequenceEqual(orig_sys_exc_info, orig_exc_info)
102 self.assertSequenceEqual(reset_sys_exc_info, orig_exc_info)
103 self.assertSequenceEqual(new_exc_info, (new_exc.__class__, new_exc, None))
104 self.assertSequenceEqual(new_sys_exc_info, new_exc_info)
Dtest_httpservers.py997 self.assertSequenceEqual(self.handler.headers.items(), ())
1009 self.assertSequenceEqual(self.handler.headers.items(), ())
1038 self.assertSequenceEqual(self.handler.headers.items(), headers)
1053 self.assertSequenceEqual(self.handler.headers.items(), headers)
Dtest_os.py1045 self.assertSequenceEqual(test_path, os.get_exec_path())
1046 self.assertSequenceEqual(test_path, os.get_exec_path(env=None))
1051 self.assertSequenceEqual(defpath_list, os.get_exec_path({}))
1053 self.assertSequenceEqual(('',), os.get_exec_path({'PATH':''}))
1055 self.assertSequenceEqual(test_path, os.get_exec_path(test_env))
1070 self.assertSequenceEqual(os.get_exec_path({b'PATH': b'abc'}),
1072 self.assertSequenceEqual(os.get_exec_path({b'PATH': 'abc'}),
1074 self.assertSequenceEqual(os.get_exec_path({'PATH': b'abc'}),
2009 self.assertSequenceEqual(calls[0],
2023 self.assertSequenceEqual(calls[0],
Dtest_base64.py767 self.assertSequenceEqual(output.splitlines(), (
Dtest_builtin.py2114 self.assertSequenceEqual(lines, expected)
Dtest_io.py1001 self.assertSequenceEqual(buffer[:result], range(result))
1003 self.assertSequenceEqual(buffer[result:], unused)
/third_party/protobuf/python/google/protobuf/internal/
Dmessage_test.py1092 self.assertSequenceEqual([], m.repeated_int32)
1097 self.assertSequenceEqual([], m.repeated_int32)
1100 self.assertSequenceEqual([], m.repeated_int32)
1105 self.assertSequenceEqual([], m.repeated_float)
1110 self.assertSequenceEqual([], m.repeated_float)
1113 self.assertSequenceEqual([], m.repeated_float)
1118 self.assertSequenceEqual([], m.repeated_string)
1123 self.assertSequenceEqual([], m.repeated_string)
1126 self.assertSequenceEqual([], m.repeated_string)
1131 self.assertSequenceEqual([], m.repeated_int32)
[all …]
/third_party/python/Lib/unittest/test/
Dtest_case.py755 self.assertSequenceEqual([], ())
764 self.assertSequenceEqual, a, tuple(b))
769 self.assertSequenceEqual(a, tuple(b))
770 self.assertSequenceEqual(tuple(a), b)
779 self.assertRaises(self.failureException, self.assertSequenceEqual,
783 self.assertRaises(self.failureException, self.assertSequenceEqual,
816 self.assertSequenceEqual(seq1, seq2)
826 self.assertSequenceEqual(seq1, seq2)
836 self.assertSequenceEqual(seq1, seq2)
1175 self.assertSequenceEqual(a, tuple(b))
[all …]
/third_party/python/Lib/unittest/
Dcase.py936 def assertSequenceEqual(self, seq1, seq2, msg=None, seq_type=None): member in TestCase
1051 self.assertSequenceEqual(list1, list2, msg, seq_type=list)
1062 self.assertSequenceEqual(tuple1, tuple2, msg, seq_type=tuple)
/third_party/python/Lib/test/test_zoneinfo/
Dtest_zoneinfo.py1557 self.assertSequenceEqual(tzpath, expected_result)
1593 self.assertSequenceEqual(tzpath, expected_paths)
1598 self.assertSequenceEqual(self.module.TZPATH, ("/a/b/c",))
1636 self.assertSequenceEqual(tzpath_0, query_0)
1637 self.assertSequenceEqual(tzpath_1, query_1)
/third_party/python/Doc/whatsnew/
D3.1.rst363 :func:`assertTupleEqual`, :func:`assertSequenceEqual`,
D2.7.rst1960 More generally, :meth:`~unittest.TestCase.assertSequenceEqual` compares two sequences
/third_party/python/Doc/library/
Dunittest.rst1286 | :meth:`assertSequenceEqual(a, b) | sequences | 3.1 |
1287 | <TestCase.assertSequenceEqual>` | | |
1314 .. method:: assertSequenceEqual(first, second, msg=None, seq_type=None)
1405 :meth:`assertSequenceEqual` (including all the sequence comparison
/third_party/python/Misc/NEWS.d/
D3.5.2rc1.rst721 assertSequenceEqual() now correctly outputs non-stringified differing items
D3.6.0a1.rst1143 assertSequenceEqual() now correctly outputs non-stringified differing items