'Test QSocketNotifier with a single line of data.'

def test_single_line(self, reader, qtbot):

    with qtbot.waitSignal(reader.got_line) as blocker:
        with open(reader._filepath, 'w', encoding='utf-8') as f:
            f.write('foobar\n')
    assert (blocker.args == ['foobar'])
