@@ -235,9 +235,9 @@ def test_boolean_expression_visitor() -> None:
235235 "OR" ,
236236 "EQUALTO" ,
237237 "NOT" ,
238- "AND" ,
239238 "NOTEQUALTO" ,
240239 "AND" ,
240+ "AND" ,
241241 ]
242242
243243
@@ -335,28 +335,28 @@ def test_always_false_or_always_true_expression_binding(table_schema_simple: Sch
335335 ),
336336 ),
337337 And (
338- And (
339- BoundIn (
340- BoundReference (
341- field = NestedField (field_id = 1 , name = "foo" , field_type = StringType (), required = False ),
342- accessor = Accessor (position = 0 , inner = None ),
343- ),
344- {literal ("bar" ), literal ("baz" )},
338+ BoundIn (
339+ BoundReference (
340+ field = NestedField (field_id = 1 , name = "foo" , field_type = StringType (), required = False ),
341+ accessor = Accessor (position = 0 , inner = None ),
345342 ),
343+ {literal ("bar" ), literal ("baz" )},
344+ ),
345+ And (
346346 BoundEqualTo [int ](
347347 BoundReference (
348348 field = NestedField (field_id = 2 , name = "bar" , field_type = IntegerType (), required = True ),
349349 accessor = Accessor (position = 1 , inner = None ),
350350 ),
351351 literal (1 ),
352352 ),
353- ),
354- BoundEqualTo (
355- BoundReference (
356- field = NestedField (field_id = 1 , name = "foo" , field_type = StringType (), required = False ),
357- accessor = Accessor (position = 0 , inner = None ),
353+ BoundEqualTo (
354+ BoundReference (
355+ field = NestedField (field_id = 1 , name = "foo" , field_type = StringType (), required = False ),
356+ accessor = Accessor (position = 0 , inner = None ),
357+ ),
358+ literal ("baz" ),
358359 ),
359- literal ("baz" ),
360360 ),
361361 ),
362362 ),
0 commit comments