Home
last modified time | relevance | path

Searched refs:assertIsNot (Results 1 – 25 of 73) sorted by relevance

123

/third_party/python/Lib/test/
Dtest_copy.py111 self.assertIsNot(y, x)
115 self.assertIsNot(y, x)
129 self.assertIsNot(y, x)
133 self.assertIsNot(y, x)
139 self.assertIsNot(y, x)
143 self.assertIsNot(y, x)
155 self.assertIsNot(y, x)
159 self.assertIsNot(y, x)
206 self.assertIsNot(y, x)
223 self.assertIsNot(y, x)
[all …]
Dtest_bool.py33 self.assertIsNot(int(False), False)
35 self.assertIsNot(int(True), True)
39 self.assertIsNot(float(False), False)
41 self.assertIsNot(float(True), True)
45 self.assertIsNot(+False, False)
47 self.assertIsNot(-False, False)
49 self.assertIsNot(abs(False), False)
51 self.assertIsNot(+True, True)
54 self.assertIsNot(abs(True), True)
64 self.assertIsNot(False+False, False)
[all …]
Dtest_xml_dom_minicompat.py93 self.assertIsNot(unpickled, node_list)
101 self.assertIsNot(unpickled, node_list)
108 self.assertIsNot(copied, node_list)
115 self.assertIsNot(copied, node_list)
124 self.assertIsNot(copied, node_list)
131 self.assertIsNot(copied, node_list)
134 self.assertIsNot(x, y)
Dtest_select.py45 self.assertIsNot(r, w)
46 self.assertIsNot(r, x)
47 self.assertIsNot(w, x)
Dtest_mimetypes.py194 self.assertIsNot(suffix_map, mimetypes.suffix_map)
195 self.assertIsNot(encodings_map, mimetypes.encodings_map)
196 self.assertIsNot(types_map, mimetypes.types_map)
197 self.assertIsNot(common_types, mimetypes.common_types)
Dtest_frame.py42 self.assertIsNot(None, wr())
128 self.assertIsNot(None, wr())
Dtest_class.py596 self.assertIsNot(name, '__add__') # not interned
601 self.assertIsNot(name2, '__add__')
602 self.assertIsNot(name2, name)
Dtest_strptime.py648 self.assertIsNot(original_time_re, _strptime._TimeRE_cache)
670 self.assertIsNot(locale_time_id, _strptime._TimeRE_cache.locale_time)
690 self.assertIsNot(first_time_re, second_time_re)
721 self.assertIsNot(first_time_re, second_time_re)
Dtest_xxlimited.py35 self.assertIsNot(self.module.Str, str)
Dtest_dataclasses.py1173 self.assertIsNot(c0.y, c1.y)
1401 self.assertIsNot(asdict(c), asdict(c))
1426 self.assertIsNot(d['y'], initial)
1444 self.assertIsNot(asdict(u), asdict(u))
1498 self.assertIsNot(d, asdict(c, dict_factory=OrderedDict))
1565 self.assertIsNot(d['f'], t)
1578 self.assertIsNot(astuple(c), astuple(c))
1603 self.assertIsNot(t[1], initial)
1621 self.assertIsNot(astuple(u), astuple(u))
1674 self.assertIsNot(t, astuple(c, tuple_factory=nt))
[all …]
Dtest_bytes.py1278 self.assertIsNot(b, bb)
1580 self.assertIsNot(b, b.replace(b'abc', b'cde', 0))
1584 self.assertIsNot(x, x.translate(t))
1590 self.assertIsNot(b, c)
1600 self.assertIsNot(b, c)
1800 self.assertIsNot(b.replace(b'', b''), b)
1859 self.assertIsNot(val, newval,
1866 self.assertIsNot(val, newval,
1871 self.assertIsNot(val, newval)
1905 self.assertIsNot(_a, a)
[all …]
Dtest_interpreters.py589 self.assertIsNot(obj, orig)
647 self.assertIsNot(obj, orig)
656 self.assertIsNot(obj, orig)
Dtest_finalization.py191 self.assertIsNot(wr(), None)
530 self.assertIsNot(wr(), None)
Dtest_http_cookies.py362 self.assertIsNot(morsel_a, morsel_b)
367 self.assertIsNot(morsel_a, morsel_b)
Dtest_context.py458 self.assertIsNot(h, h2)
468 self.assertIsNot(h2, h3)
494 self.assertIsNot(h1, h2)
497 self.assertIsNot(h1.get('key'), h2.get('key'))
Dtest_plistlib.py678 self.assertIsNot(pl2['first'], pl2['second'])
696 self.assertIsNot(pl2['first'], pl2['second'])
714 self.assertIsNot(pl2['first'], pl2['second'])
Dtest_dict_version.py101 self.assertIsNot(value1, value2)
Dtest_collections.py45 self.assertIsNot(obj.data, obj_copy.data)
51 self.assertIsNot(obj.data, obj_copy.data)
112 self.assertIsNot(d, e)
113 self.assertIsNot(d.maps[0], e.maps[0])
122 self.assertIsNot(d, e)
124 self.assertIsNot(m1, m2, e)
130 self.assertIsNot(d, e)
132 self.assertIsNot(m1, m2, e)
2163 self.assertIsNot(dup, words, msg)
Dtest_deque.py197 self.assertIsNot(d + d, deque())
198 self.assertIsNot(e + d, deque('abc'))
199 self.assertIsNot(d + e, deque('abc'))
361 self.assertIsNot(d * 1, d)
/third_party/python/Lib/test/test_importlib/
Dtest_api.py245 self.assertIsNot(reloaded.__loader__, None)
444 self.assertIsNot(module.__loader__, None)
446 self.assertIsNot(module.__loader__, None)
454 self.assertIsNot(module.__spec__, None)
456 self.assertIsNot(module.__spec__, None)
Dtest_windows.py99 self.assertIsNot(loader, None)
100 self.assertIsNot(spec, None)
/third_party/python/Lib/test/test_zoneinfo/
Dtest_zoneinfo.py482 self.assertIsNot(base_obj, sub_obj)
1328 self.assertIsNot(tz0, tz1)
1348 self.assertIsNot(la0, la1)
1360 self.assertIsNot(la0, la1)
1376 self.assertIsNot(la0, la1)
1377 self.assertIsNot(dub0, dub1)
1441 self.assertIsNot(zi_rt, zi_no_cache)
1445 self.assertIsNot(zi_rt, zi_rt2)
1449 self.assertIsNot(zi_rt, zi_cache)
/third_party/python/Lib/unittest/test/testmock/
Dtestpatch.py724 self.assertIsNot(mock, original)
943 self.assertIsNot(Foo, mock)
951 self.assertIsNot(Foo, mock)
1067 self.assertIsNot(m1, m2)
1080 self.assertIsNot(m1, m2)
1197 test.assertIsNot(Foo, original)
1432 self.assertIsNot(Foo.f, Foo.g)
1859 self.assertIsNot(os.unlink, original_unlink)
1860 self.assertIsNot(os.chdir, original_chdir)
/third_party/python/Lib/test/test_warnings/
D__init__.py554 self.assertIsNot(original_warnings, self.module)
563 self.assertIsNot(original_warnings, self.module)
1042 self.assertIsNot(wmod.filters, orig_filters)
1049 self.assertIsNot(wmod.filters, orig_filters)
1066 self.assertIsNot(wmod.showwarning, my_logger)
/third_party/protobuf/python/google/protobuf/internal/
Dreflection_test.py276 self.assertIsNot(nested, proto.optional_nested_message)
825 self.assertIsNot(nested, proto.optional_nested_message)
836 self.assertIsNot(nested, proto.optional_nested_message)
837 self.assertIsNot(foreign, proto.optional_foreign_message)
1035 self.assertIsNot(old_composite_field, composite_field)
1511 self.assertIsNot(new_prius, prius)
1613 self.assertIsNot(string_list, extendee_proto.Extensions[extension])
1635 self.assertIsNot(foreign_message, extendee_proto.Extensions[extension])
1659 self.assertIsNot(group_list, extendee_proto.Extensions[extension])
1680 self.assertIsNot(required, extendee_proto.Extensions[extension])
[all …]

123