

def test_getLines_empty(self):
    f = libpry.coverage.File(None)
    fname = 'covfiles/empty.py'
    d = open(fname).read()
    code = compile(d, fname, 'exec')
    l = f.getLines(code)
    assert (l == set([]))

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