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 |
|
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