Originally reported by: **pawel wilczynski (BitBucket: [pwilczynski](http://bitbucket.org/pwilczynski), GitHub: [pwilczynski](https://github.com/pwilczynski))** --- When using pytest.mark.parametrize tmpdir generates too long dir name what raises an OS error (depends on how long dir names system allows) ``` #!python /tmp/pytest-5/test_bidon___bid_request____timestamp___2013_07_31_16_22_10___bidder_timeout_ms__104__members______id__164____member_ad_profile_id__151__tags______auction_id_64___3133474548355696153__size____728x90___sizes______728x90____smaller_sizes_allowed_____domain___sneakhype_com___inventory_audits______auditor_member_id___null__intended_audience___general___inventory_attributes___4_8_16___content_categories___21_8370_____userdata_json________segments__________0' ``` Plugins turned on: - pytest-pep8-1.0.4 - pytest-django-2.3.0 - pytest-cov-1.6 - pytest-dbfixtures-0.3.5 - pytest-cache-1.0 - pytest-mozwebqa-1.1.1 - pytest-twisted-1.4 - pytest-ipdb-0.1-prerelease --- - Bitbucket: https://bitbucket.org/pytest-dev/pytest/issue/354
Activity
pytestbot commentedon Oct 3, 2013
Original comment by holger krekel (BitBucket: hpk42, GitHub: hpk42):
fix issue354: avoid tmpdir fixture to create too long filenames especially
when parametrization is used