(self)
| 89 | ) |
| 90 | |
| 91 | def test_getrange(self) -> None: |
| 92 | x = self.source[0:2] |
| 93 | assert len(x.lines) == 2 |
| 94 | assert str(x) == "def f(x):\n pass" |
| 95 | |
| 96 | def test_getrange_step_not_supported(self) -> None: |
| 97 | with pytest.raises(IndexError, match=r"step"): |
nothing calls this directly
no outgoing calls
no test coverage detected