()
| 600 | |
| 601 | |
| 602 | def test_update_cells(): |
| 603 | left = T( |
| 604 | """ |
| 605 | | pet | owner |
| 606 | 1 | 1 | Alice |
| 607 | 2 | 1 | Bob |
| 608 | 3 | 2 | Alice |
| 609 | 4 | 1 | Bob |
| 610 | """ |
| 611 | ) |
| 612 | |
| 613 | right = T( |
| 614 | """ |
| 615 | | pet | owner | age |
| 616 | 1 | 1 | Alice | 10 |
| 617 | 2 | 1 | Bob | 9 |
| 618 | """ |
| 619 | ) |
| 620 | |
| 621 | with _assert_error_trace( |
| 622 | ValueError, |
| 623 | match=re.escape( |
| 624 | "Columns of the argument in Table.update_cells() not present in the updated table: ['age']." |
| 625 | ), |
| 626 | ): |
| 627 | left.update_cells(right) # cause |
| 628 | |
| 629 | |
| 630 | def test_update_types(): |
nothing calls this directly
no test coverage detected