Skip to content
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

unittest: restore UnitTestFunction.obj to return unbound rather than bound method #9624

Merged
merged 1 commit into from
Feb 9, 2022

Commits on Feb 7, 2022

  1. unittest: restore UnitTestFunction.obj to return unbound rather tha…

    …n bound method
    
    This fixes pytest-dev#9610.
    
    pytest 7.0.0 (unintentionally) changed `UnitTestFunction.obj`'s' behavior
    to match `Function.obj`. That is probably a good thing to have, however
    it evidently causes some regressions as described in the issue, so
    restore the previous behavior for now. In the future we might want to
    make this change again, but with proper consideration.
    bluetech committed Feb 7, 2022
    Configuration menu
    Copy the full SHA
    d00ca3f View commit details
    Browse the repository at this point in the history