Closed Et7f3 closed 2 years ago
Maybe this issue is I don't use the same expect than you. I didn't find requirement.txt so 🤷
This seems to match the advice in https://pexpect.readthedocs.io/en/stable/overview.html#find-the-end-of-line-cr-lf-conventions and it passes in CI so if it fixes the build for you, seems good to me. Thanks for the PR!
ECHO: world final Traceback (most recent call last): File "test/basic.py", line 27, in
expect_eof(child.child_fd)
File "/build/source/test/util.py", line 13, in expect_eof
raise AssertionError("Expected EOF, got read:
{}'".format(data)) AssertionError: Expected EOF, got read:
'When I run in python3 I get
b"\r\n"
Also a test I did to confirm: