diff options
author | John Snow <jsnow@redhat.com> | 2021-07-20 13:33:21 -0400 |
---|---|---|
committer | Hanna Reitz <hreitz@redhat.com> | 2021-09-01 12:57:31 +0200 |
commit | 79da62b352a954405b0894b980355497d58c5c84 (patch) | |
tree | b303a7deeaad888550928f54922d868f0894e705 /block.c | |
parent | 06aad78b825cc25329411b10c159f96819ce39a1 (diff) |
iotests: use subprocess.DEVNULL instead of open("/dev/null")
Avoids a warning from pylint not to use open() outside of a
with-statement, and is ... probably more portable anyway. Not that I
think we care too much about running tests *on* Windows, but... eh.
Signed-off-by: John Snow <jsnow@redhat.com>
Message-Id: <20210720173336.1876937-3-jsnow@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Hanna Reitz <hreitz@redhat.com>
Diffstat (limited to 'block.c')
0 files changed, 0 insertions, 0 deletions