def test_readlines_nocr(self):
fn = self.root.join('samplefile')
-> contents = fn.readlines(cr=0)
assert contents == ['samplefile', '']