Lines Matching refs:line
1258 def _test_bufsize_equal_one(self, line, expected, universal_newlines):
1268 p.stdin.write(line) # expect that it flushes the line in text mode
1281 # line is flushed in text mode with bufsize=1.
1282 # we should get the full line in return
1283 line = "line\n"
1284 self._test_bufsize_equal_one(line, line, universal_newlines=True)
1287 # line is not flushed in binary mode with bufsize=1.
1289 line = b'line' + os.linesep.encode() # assume ascii-based locale
1290 with self.assertWarnsRegex(RuntimeWarning, 'line buffering'):
1291 self._test_bufsize_equal_one(line, b'', universal_newlines=False)
1892 for line in default_proc_status.splitlines():
1893 if line.startswith(b'SigIgn'):
1894 default_sig_ign_mask = line
1901 for line in restored_proc_status.splitlines():
1902 if line.startswith(b'SigIgn'):
1903 restored_sig_ign_mask = line
3657 # we use mkdtemp in the next line to create an empty directory