MCPcopy Index your code
hub / github.com/pathwaycom/pathway / test_update_rows_0_rows

Function test_update_rows_0_rows

python/pathway/tests/test_common.py:3756–3780  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3754
3755
3756def 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
3783def test_update_rows_columns_dont_match():

Callers

nothing calls this directly

Calls 3

TFunction · 0.90
warns_hereFunction · 0.90
update_rowsMethod · 0.80

Tested by

no test coverage detected