(self)
| 665 | self.check_lines(func, [1,2,3,4,5]) |
| 666 | |
| 667 | def test_branch(self): |
| 668 | def func(): |
| 669 | if "true".startswith("t"): |
| 670 | line = 2 |
| 671 | line = 3 |
| 672 | else: |
| 673 | line = 5 |
| 674 | line = 6 |
| 675 | |
| 676 | self.check_lines(func, [1,2,3,6]) |
| 677 | |
| 678 | def test_try_except(self): |
| 679 |
nothing calls this directly
no test coverage detected