-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Handle python_files correctly in assertion rewrite #2140
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
Conversation
I've updated the PR with a fix and changelog. The fix in py must land before merging this, though! |
Very nice, thanks @pelme! |
We should also add a requirement for
Hmm pinning a requirement for a different version of |
I'm will update this PR as soon as 1.4.33 is available, then the builds should pass (they do locally with patched py for me). I was thinking about copy/pasting the fnmatch code (which is not huge) from py but that did not seem very nice either. :/ |
@pelme |
python_files handled properly when rewriting assertions.
I've rebased the PR on the current master and adapted the changelog to be towncrier friendly! Anything missing? |
Sorry @pelme this went under the radar, I will review/merge it tomorrow! |
No worries @nicoddemus, I was slow to update the PR. I'm very very grateful for all the work you put into pytest and excited to see all the progress happening! 🍻 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good to me 👍
Awesome, thanks @pelme! 😁 |
oh my goodness, i just have seen that right above in the comment we explicitly have a warning about importing fnmatch too late |
Ouch indeed. And we all missed that. |
This PR solves #2121.
Before merging this, pytest-dev/py#99 and a new release of
py
is required.