@@ -57,7 +57,7 @@ def test_generate_batched_addresses_simple():
5757 table .add_register (addr )
5858 batches = table .get_batched_addresses ()
5959 # Should batch: [1,2] (start=1, len=2), [3] (start=3, len=1), [10,11] (start=10, len=2)
60- assert batches == [[ 1 , 2 ], [ 3 , 1 ], [ 10 , 2 ] ]
60+ assert batches == [( 1 , 2 ), ( 3 , 1 ), ( 10 , 2 ) ]
6161
6262
6363def test_generate_batched_addresses_max_batch ():
@@ -66,7 +66,7 @@ def test_generate_batched_addresses_max_batch():
6666 table .add_register (addr )
6767 batches = table .get_batched_addresses ()
6868 # Should batch: [1,2,3,4] (start=1, len=4), [5] (start=5, len=1)
69- assert batches == [[ 1 , 4 ], [ 5 , 1 ] ]
69+ assert batches == [( 1 , 4 ), ( 5 , 1 ) ]
7070
7171
7272def test_generate_batched_addresses_max_batch_write_mode ():
@@ -80,4 +80,4 @@ def test_generate_batched_addresses_max_batch_write_mode():
8080 table .set_value (addr , 123 , write = True )
8181 batches = table .get_batched_addresses (write_mode = True )
8282 # Should batch: [2] (start=2, len=1), [4] (start=4, len=1)
83- assert batches == [[ 2 , 1 ], [ 4 , 1 ] ]
83+ assert batches == [( 2 , 1 ), ( 4 , 1 ) ]
0 commit comments