]> git.ipfire.org Git - thirdparty/hostap.git/commit
tests: Change handling of reading non blocked empty stream for python3
authorMasashi Honma <masashi.honma@gmail.com>
Fri, 8 Feb 2019 22:51:07 +0000 (07:51 +0900)
committerJouni Malinen <j@w1.fi>
Sat, 9 Feb 2019 23:43:50 +0000 (01:43 +0200)
commit0da6d93dbf0b2c636aa75eb8d85634b28e20e299
tree1e2effd5545d04ff1b8ca326985108e23faa3c7c
parent6447b8740093bb40448de45416bd466484a57b1f
tests: Change handling of reading non blocked empty stream for python3

The result of reading non blocked empty stream is different between
python2 and 3. The python2 sends "[Errno 11] Resource temporarily
unavailable" exception. The python3 could read "None" without
exception, so handle this "None" case as well.

Signed-off-by: Masashi Honma <masashi.honma@gmail.com>
tests/hwsim/vm/parallel-vm.py