forked from 626_privacy/tensorflow_privacy
Remove test broken by upstream tf changes.
tf.nest.map_structure_up_to has changed so that map_structure_up_to(x, func, x, y) no longer raises an error when y is longer than x, for example x=[1,2], y=[1,2,3]. This broke one of our tests for nested query. Remove the test until (if and when) the old, more reasonable, behavior is restored. PiperOrigin-RevId: 232057385
This commit is contained in:
parent
ff295b6a70
commit
098c5220b5
1 changed files with 0 additions and 2 deletions
|
@ -133,8 +133,6 @@ class NestedQueryTest(tf.test.TestCase, parameterized.TestCase):
|
||||||
@parameterized.named_parameters(
|
@parameterized.named_parameters(
|
||||||
('type_mismatch', [_basic_query], (1.0,), TypeError),
|
('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),
|
||||||
('too_many_records', [_basic_query, _basic_query],
|
|
||||||
[1.0, 2.0, 3.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(
|
def test_record_incompatible_with_query(
|
||||||
self, queries, record, error_type):
|
self, queries, record, error_type):
|
||||||
|
|
Loading…
Reference in a new issue