concurrencytest icon indicating copy to clipboard operation
concurrencytest copied to clipboard

Fix Python3 buffering warning

Open sjg20 opened this issue 1 year ago • 0 comments

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.

sjg20 avatar Feb 18 '23 00:02 sjg20