Remove test where nested record and query mismatch on type because a change to tree made it fail.

PiperOrigin-RevId: 380883991
This commit is contained in:
Galen Andrew 2021-06-22 13:45:37 -07:00 committed by A. Unique TensorFlower
parent 5f07198b66
commit af87581387

View file

@ -116,7 +116,6 @@ class NestedQueryTest(tf.test.TestCase, parameterized.TestCase):
self.assertArrayNear(result_stddev, expected_stddev, 0.1) self.assertArrayNear(result_stddev, expected_stddev, 0.1)
@parameterized.named_parameters( @parameterized.named_parameters(
('type_mismatch', [_basic_query], (1.0,), TypeError),
('too_many_queries', [_basic_query, _basic_query], [1.0], ValueError), ('too_many_queries', [_basic_query, _basic_query], [1.0], ValueError),
('query_too_deep', [_basic_query, [_basic_query]], [1.0, 1.0], TypeError)) ('query_too_deep', [_basic_query, [_basic_query]], [1.0, 1.0], TypeError))
def test_record_incompatible_with_query(self, queries, record, error_type): def test_record_incompatible_with_query(self, queries, record, error_type):