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
pytest4: use tmpdir fixture #51
base: master
Are you sure you want to change the base?
Conversation
Hey @keszybz, would you drop us a note what this is fixing and how? |
Okay, I found http://doc.pytest.org/en/latest/tmpdir.html#the-tmpdir-fixture |
Looked at the Travis results and several turned red. Some of them might be separate issues, e.g. related to #50, i.e. those failing due to hang in |
The pytest |
Okay, thanks for the clarification. So, I do not see a sufficiently compelling reason for the change that justifies breaking Python 3.5 compatibility. Maybe a fallback would be feasible, but I neither see a sufficiently compelling reason to invest the work to get this change in. @keszybz If you see a reasonably efficient solution, feel free to adjust the PR such that travis turns green. Then I will happily accept it. |
I was updating the Fedora package for mdp for new compatibility with newest pytest and python3.8. I got some error related to this code. It seemed simplest to get rid of the custom code and use the tmpdir fixture. Nevertheless, now that I rested this, the error was most likely caused by something else, and current code in master works correctly with python3.8b3 and pytest-4.6.4. So this patch is not necessary. I think it'd make sense to merge after python3.5 compatiblity is not required anymore. |
No description provided.