

def test_prettyRanges(self):
    c = libpry.coverage.File(None)
    out = c.prettyRanges([1, 2, (3, 4)], 1, 5)
    assert (out == ' 1 2\n [3...4]')
    out = c.prettyRanges([1, 2, 3, 4], 1, 5)
    assert (out == ' 1 2\n 3 4')
    out = self.prettyRanges([11111, 22222, 33333], 1, 5)
    assert (out == ' 11111\n 22222\n 33333')

dataset/ETHPy150Open cortesi/pry/test/test_coverage.py uFile.test_prettyRanges/VarMisuse@81/113 `c`->`self`