

def test_getExclusions(self):
    f = libpry.coverage.File(None)
    fname = 'covfiles/exclusions.py'
    d = open(fname).read()
    l = f.getExclusions(d, fname)
    assert (l == set([4, 5, 11, 12]))

dataset/ETHPy150Open cortesi/pry/test/test_coverage.py uFile.test_getExclusions/original