Home
last modified time | relevance | path

Searched refs:obj_2 (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython2/Lib/unittest/test/
Dsupport.py9 for obj_1, obj_2 in self.eq_pairs:
11 if not hash(obj_1) == hash(obj_2):
12 self.fail("%r and %r do not hash equal" % (obj_1, obj_2))
16 self.fail("Problem hashing %r and %r: %s" % (obj_1, obj_2, e))
18 for obj_1, obj_2 in self.ne_pairs:
20 if hash(obj_1) == hash(obj_2):
22 (obj_1, obj_2))
26 self.fail("Problem hashing %s and %s: %s" % (obj_1, obj_2, e))
34 for obj_1, obj_2 in self.eq_pairs:
35 self.assertEqual(obj_1, obj_2)
[all …]
/external/python/cpython3/Lib/unittest/test/
Dsupport.py9 for obj_1, obj_2 in self.eq_pairs:
10 self.assertEqual(obj_1, obj_2)
11 self.assertEqual(obj_2, obj_1)
15 for obj_1, obj_2 in self.ne_pairs:
16 self.assertNotEqual(obj_1, obj_2)
17 self.assertNotEqual(obj_2, obj_1)
24 for obj_1, obj_2 in self.eq_pairs:
26 if not hash(obj_1) == hash(obj_2):
27 self.fail("%r and %r do not hash equal" % (obj_1, obj_2))
29 self.fail("Problem hashing %r and %r: %s" % (obj_1, obj_2, e))
[all …]
/external/tensorflow/tensorflow/python/framework/
Dtraceable_stack_test.py100 obj_2 = t_stack.pop_obj()
105 self.assertEqual(2, obj_2)
/external/harfbuzz_ng/src/
Dtest-repacker.cc491 unsigned obj_2 = add_object ("def", 3, c); in populate_serializer_simple() local
494 add_offset (obj_2, c); in populate_serializer_simple()
508 unsigned obj_2 = add_object (large_string.c_str(), 20000, c); in populate_serializer_with_overflow() local
513 add_offset (obj_2, c); in populate_serializer_with_overflow()
582 unsigned obj_2 = c->pop_pack (false); in populate_serializer_with_dedup_overflow() local
585 add_offset (obj_2, c); in populate_serializer_with_dedup_overflow()
606 unsigned obj_2 = c->pop_pack (false); in populate_serializer_with_isolation_overflow() local
610 add_offset (obj_2, c); in populate_serializer_with_isolation_overflow()
1127 unsigned obj_2 = c->pop_pack (false); in populate_serializer_complex_2() local
1130 add_offset (obj_2, c); in populate_serializer_complex_2()
[all …]