()
| 5672 | |
| 5673 | |
| 5674 | def test_slices_2(): |
| 5675 | left = T( |
| 5676 | """ |
| 5677 | col | on |
| 5678 | a | 11 |
| 5679 | b | 12 |
| 5680 | c | 13 |
| 5681 | """ |
| 5682 | ) |
| 5683 | right = T( |
| 5684 | """ |
| 5685 | col | on |
| 5686 | d | 12 |
| 5687 | e | 13 |
| 5688 | f | 14 |
| 5689 | """, |
| 5690 | ) |
| 5691 | res = left.join(right, left.on == right.on).select( |
| 5692 | **pw.left.with_suffix("_l").with_prefix("t"), |
| 5693 | **pw.right.with_suffix("_r").with_prefix("t"), |
| 5694 | ) |
| 5695 | expected = T( |
| 5696 | """ |
| 5697 | tcol_l | ton_l | tcol_r | ton_r |
| 5698 | b | 12 | d | 12 |
| 5699 | c | 13 | e | 13 |
| 5700 | """ |
| 5701 | ) |
| 5702 | assert_table_equality_wo_index(res, expected) |
| 5703 | |
| 5704 | |
| 5705 | def test_slices_3(): |
nothing calls this directly
no test coverage detected