-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test_csh fails on Solaris due to unexpected prompt in the output #2409
Comments
The prompt is supposed to be on its own, see https://github.com/pypa/virtualenv/blob/main/tests/unit/activation/conftest.py#L117, so I'm not sure here. |
Thanks for the pointer, I think I found the issue. Testing this on Linux I noticed that it uses When I modify test_csh.py to run So I presume that virtualenv expects |
We expect it to work with csh, but wasn't aware of the differences of tcsh. So you can say this behaviour is a bug. |
Good to know. Well, adding that |
Go ahead, thanks! |
Issue
When running the virtualenv test suite on Solaris, I can see both tests in tests/unit/activation/test_csh.py fail.
I executed the test suite simply by downloading the sources (from PyPI) and running
tox
in that directory. I can see the same thing when runningpytest
directly.It seems that the test suite doesn't expect the prompt to be there and I can easily fix that when I replace
assert out[-3] == "wrote pydoc_test.html", raw
withassert "wrote pydoc_test.html" in out[-3], raw
though I am not sure whether I can do that.Environment
The text was updated successfully, but these errors were encountered: