]> granicus.if.org Git - python/commit
Issue #25122: sync test_eintr with Python 3.6
authorVictor Stinner <victor.stinner@gmail.com>
Fri, 18 Sep 2015 09:29:16 +0000 (11:29 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Fri, 18 Sep 2015 09:29:16 +0000 (11:29 +0200)
commit4b352171d2b0a4a63cd711df9ebe840419137fa2
treee9005271b7c405b2ec9ecb4b51ffb89fcdef24e5
parentcd6e69439c908a7d3aa0a5b13570c83d7cc57bf7
Issue #25122: sync test_eintr with Python 3.6

* test_eintr: support verbose mode, don't redirect eintr_tester output into
  a pipe
* eintr_tester: replace os.fork() with subprocess to have a cleaner child
  process (ex: don't inherit setitimer())
* eintr_tester: kill the process if the unit test fails
* test_open/test_os_open(): write support.PIPE_MAX_SIZE bytes instead of
  support.PIPE_MAX_SIZE*3 bytes
Lib/test/eintrdata/eintr_tester.py
Lib/test/test_eintr.py