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

Function test_update_cells

python/pathway/tests/test_error_messages.py:602–627  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

600
601
602def 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
630def test_update_types():

Callers

nothing calls this directly

Calls 3

TFunction · 0.90
_assert_error_traceFunction · 0.85
update_cellsMethod · 0.80

Tested by

no test coverage detected