File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -627,13 +627,13 @@ def test_jax_formatter_device(self):
627
627
device = jax .devices ()[0 ]
628
628
formatter = JaxFormatter (device = str (device ))
629
629
row = formatter .format_row (pa_table )
630
- assert row ["a" ].device () == device
631
- assert row ["c" ].device () == device
630
+ assert row ["a" ].devices (). pop () == device
631
+ assert row ["c" ].devices (). pop () == device
632
632
col = formatter .format_column (pa_table )
633
- assert col .device () == device
633
+ assert col .devices (). pop () == device
634
634
batch = formatter .format_batch (pa_table )
635
- assert batch ["a" ].device () == device
636
- assert batch ["c" ].device () == device
635
+ assert batch ["a" ].devices (). pop () == device
636
+ assert batch ["c" ].devices (). pop () == device
637
637
638
638
639
639
class QueryTest (TestCase ):
You can’t perform that action at this time.
0 commit comments