Handle python_files correctly in assertion rewrite#2140
Handle python_files correctly in assertion rewrite#2140nicoddemus merged 4 commits intopytest-dev:masterfrom
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! 🍻 |
|
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
pyis required.