Searched refs:assertSequenceEqual (Results 1 – 19 of 19) sorted by relevance
64 def assertSequenceEqual(x, y): function127 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)
84 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])
65 self.assertSequenceEqual(calls, ['Left.__eq__', 'Right.__ne__'])83 self.assertSequenceEqual(calls, ['Derived.__ne__', 'Base.__eq__'])
21 self.assertSequenceEqual(what, expected)
100 … 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)
997 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)
1045 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],
767 self.assertSequenceEqual(output.splitlines(), (
2114 self.assertSequenceEqual(lines, expected)
1001 self.assertSequenceEqual(buffer[:result], range(result))1003 self.assertSequenceEqual(buffer[result:], unused)
1092 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 …]
755 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 …]
936 def assertSequenceEqual(self, seq1, seq2, msg=None, seq_type=None): member in TestCase1051 self.assertSequenceEqual(list1, list2, msg, seq_type=list)1062 self.assertSequenceEqual(tuple1, tuple2, msg, seq_type=tuple)
1557 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)
363 :func:`assertTupleEqual`, :func:`assertSequenceEqual`,
1960 More generally, :meth:`~unittest.TestCase.assertSequenceEqual` compares two sequences
1286 | :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
721 assertSequenceEqual() now correctly outputs non-stringified differing items
1143 assertSequenceEqual() now correctly outputs non-stringified differing items