Home
last modified time | relevance | path

Searched refs:expected_set (Results 1 – 5 of 5) sorted by relevance

/external/python/uritemplates/tests/
Dtest_from_fixtures.py20 def expected_set(expected): function
34 expected = expected_set(expected)
/external/autotest/client/site_tests/security_SELinux/
Dsecurity_SELinux.py46 def _assert_in(expected_set, actual, msg='value'): argument
48 if actual not in expected_set:
50 .format(msg, expected_set, actual))
/external/tensorflow/tensorflow/python/kernel_tests/
Dsets_test.py1247 expected_set = set()
1255 self.assertEqual(expected_set, actual_set,
1256 "Expected %s, got %s, at %s." % (expected_set,
1258 expected_set.clear()
1260 expected_set.add(expected_value)
1263 self.assertEqual(expected_set, actual_set,
1264 "Expected %s, got %s, at %s." % (expected_set, actual_set,
/external/tensorflow/tensorflow/python/framework/
Dtest_util.py2409 def assertAllInSet(self, target, expected_set): argument
2425 diff = np.setdiff1d(target.flatten(), list(expected_set))
2428 (np.size(diff), expected_set, diff))
/external/tensorflow/tensorflow/core/grappler/costs/
Dvirtual_scheduler_test.cc1647 std::set<T> expected_set(expected.begin(), expected.end()); in ExpectVectorEq() local
1649 EXPECT_GT(expected_set.count(element), 0); in ExpectVectorEq()