Merge lp:~danken/python-fixtures/staticmethod into lp:~python-fixtures/python-fixtures/trunk
Proposed by
Dan Kenigsberg
Status: | Merged |
---|---|
Merged at revision: | 76 |
Proposed branch: | lp:~danken/python-fixtures/staticmethod |
Merge into: | lp:~python-fixtures/python-fixtures/trunk |
Diff against target: |
55 lines (+23/-0) 2 files modified
lib/fixtures/_fixtures/monkeypatch.py (+8/-0) lib/fixtures/tests/_fixtures/test_monkeypatch.py (+15/-0) |
To merge this branch: | bzr merge lp:~danken/python-fixtures/staticmethod |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
python-fixtures committers | Pending | ||
Review via email: mp+202207@code.launchpad.net |
Description of the change
When MonkeyPatch() is applied to a staticmethod of a class object, it does not restore it into its former state, due to an arcane Python 2 behaviour. Please review the suggested fix to the problem.
To post a comment you must log in.
thank you for the fix, sorry I didn't notice the pending merge till now!