-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Resolve cwd using os.path.realpath() when generating environment names #6110
Resolve cwd using os.path.realpath() when generating environment names #6110
Conversation
I wasn't sure how to add a suitable new unit test, sorry. |
You probably have to mock |
I meant to say I can't think of a way to unit test that this actually fixes the bug, short of mapping a drive on the test system. |
Let's say you have poetry/tests/utils/test_env.py Lines 1356 to 1362 in 62701fe
Alternatively, instead of mocking you could create a symlink similar to poetry/tests/packages/test_locker.py Line 760 in 62701fe
|
c8c6129
to
1d4321a
Compare
pre-commit.ci autofix |
for more information, see https://pre-commit.ci
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Pull Request Check List
Resolves: #6109