concurrencytest
concurrencytest copied to clipboard
Fix Python3 buffering warning
This gives a warning in some situations:
/usr/lib/python3.10/os.py:1029: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used return io.open(fd, mode, buffering, encoding, *args, **kwargs)
Fix this by dropping the line-buffer parameter.