()
| 678 | |
| 679 | |
| 680 | def test_remove_errors(): |
| 681 | t1 = T( |
| 682 | """ |
| 683 | a | b | c |
| 684 | 3 | 3 | 1 |
| 685 | 4 | 0 | 2 |
| 686 | 5 | 5 | 0 |
| 687 | 6 | 2 | 3 |
| 688 | """ |
| 689 | ) |
| 690 | |
| 691 | t2 = t1.select(x=pw.this.a // pw.this.b) |
| 692 | t3 = t1.select(y=pw.this.a // pw.this.c) |
| 693 | |
| 694 | t4 = t1.select(pw.this.a, x=t2.x, y=t3.y) |
| 695 | |
| 696 | res = t4.remove_errors() |
| 697 | |
| 698 | assert_table_equality_wo_index( |
| 699 | res, |
| 700 | T( |
| 701 | """ |
| 702 | a | x | y |
| 703 | 3 | 1 | 3 |
| 704 | 6 | 3 | 2 |
| 705 | """ |
| 706 | ), |
| 707 | terminate_on_error=False, |
| 708 | ) |
| 709 | |
| 710 | |
| 711 | def test_remove_errors_identity(): |
nothing calls this directly
no test coverage detected