'file.readline must handle signals and not lose data.'

def test_readline(self, universal_newlines=False):

    self._test_reading(data_to_write='hello,    world!', read_and_verify_code='line    =    infile.readline()    ;expected_line    =    "hello,    world!\\n"    ;assert    line    ==    expected_line,    ("read    %r    expected    %r"    %    (line,    expected_line))', method_name='readline', universal_newlines=universal_newlines)
