...num_bytes = 3
chunk 'foo'
num_bytes = 25
chunk 'https://www.oilshell.org/'
......
----------------------------------------------------------------------
Ran 9 tests in 0.001s

OK
[Errno 9] Bad file descriptor
<class 'fanos.IOError'>
[Errno 9] Bad file descriptor
<class 'fanos.IOError'>

___ fanos.recv ___
msg = 'spam'
fd_out = []
py msg = 'eggs-eggs-eggs'
fd_out = []
py msg = ''
fd_out = []
msg = 'foo'
fd_out = []
msg = 'foo'
fd_out = []

___ fanos.send ___
<socket object, fd=4, family=1, type=1, protocol=0>
<socket object, fd=5, family=1, type=1, protocol=0>
None
None

___ testSendReceive ___
None
None
py msg = 'foo'
fd_out = []
py msg = 'https://www.oilshell.org/'
fd_out = [6, 7, 8]
<class 'fanos.ValueError'>
Expected netstring length
<class 'fanos.ValueError'>
Unexpected EOF
<class 'fanos.ValueError'>
Expected : after netstring length
<class 'fanos.ValueError'>
Unexpected EOF