You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
make test PYTHON=python3
Path: pseudo-tty/test-tty-color-support
Traceback (most recent call last):
File "/home/sam/w/core/lts/test/pseudo-tty/pty_helper.py", line 97, in <module>
if pipe(parent_fd, STDOUT):
File "/home/sam/w/core/lts/test/pseudo-tty/pty_helper.py", line 33, in pipe
n = os.write(dfd, data)
TypeError: a bytes-like object is required, not 'filter'
Activity
cclauss commentedon Aug 16, 2019
Python 2 does not distinguish between bytes and strings but Py3 strictly enforces it.
See to_utf8() Etc.
tools: make pty_helper.py python3-compatible
tools: make pty_helper.py python3-compatible
tools: make pty_helper.py python3-compatible