New issue 708: EEXIST -- tmpdir fails to make dir -- case-insensitive file
system
https://bitbucket.org/pytest-dev/pytest/issue/708/eexist-tmpdir-fails-to-make-dir-case
Nick Evans:
This corner case occurs on Windows when tmpdir tries to make a new directory
that only differs from a previous directory by case.
tmpdir makes this dir for the first param (None):
"C:\Users\Nick\AppData\Local\Temp\pytest-1198\test_xxxxxxxxxxxxxxxxxxxxxxx_N0"
Then tmpdir tries to make this dir for the second param:
"C:\Users\Nick\AppData\Local\Temp\pytest-1198\test_xxxxxxxxxxxxxxxxxxxxxxx_n0"
NB: Version is 2.7.0 but that isn't an option in the menu.
```
#!python
import pytest
@pytest.fixture(params=[None, b"bytes"])
def nnn(request):
return request.param
def test_xxxxxxxxxxxxxxxxxxxxxxx(nnn, tmpdir):
assert 1
```
_______________________________________________
pytest-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pytest-commit