()
| 3754 | |
| 3755 | |
| 3756 | def test_update_rows_0_rows(): |
| 3757 | old = T( |
| 3758 | """ |
| 3759 | | pet | owner | age |
| 3760 | """ |
| 3761 | ) |
| 3762 | update = T( |
| 3763 | """ |
| 3764 | | pet | owner | age |
| 3765 | """ |
| 3766 | ) |
| 3767 | |
| 3768 | expected = T( |
| 3769 | """ |
| 3770 | | pet | owner | age |
| 3771 | """ |
| 3772 | ) |
| 3773 | with warns_here( |
| 3774 | match=re.escape( |
| 3775 | "Universe of self is a subset of universe of other in update_rows. " |
| 3776 | "Returning other." |
| 3777 | ), |
| 3778 | ): |
| 3779 | new = old.update_rows(update) |
| 3780 | assert_table_equality(new, expected) |
| 3781 | |
| 3782 | |
| 3783 | def test_update_rows_columns_dont_match(): |
nothing calls this directly
no test coverage detected