We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Apparently my favourite pytest fixture, tmpdir, is now getting deprecated in favour of tmp_path. Tests should transition away from tmpdir. :-(
tmpdir
tmp_path
The text was updated successfully, but these errors were encountered:
Is it a %s/tmpdir/tmp_path/g sort of deal?
%s/tmpdir/tmp_path/g
Sorry, something went wrong.
Something like that yes, I think my favourite one-liner with tmpdir.as_cwd() may now need to be replaced with os.chdir(tmp_path) as well. :-(
with tmpdir.as_cwd()
os.chdir(tmp_path)
No branches or pull requests
Apparently my favourite pytest fixture,
tmpdir
, is now getting deprecated in favour oftmp_path
. Tests should transition away fromtmpdir
. :-(The text was updated successfully, but these errors were encountered: