10000 gh-102978: Fix mock.patch function signatures for class and staticmethod decorators by tomasr8 · Pull Request #103228 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-102978: Fix mock.patch function signatures for class and staticmethod decorators #103228

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

Merged
merged 6 commits into from
Apr 13, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update Lib/test/test_unittest/testmock/testpatch.py
  • Loading branch information
cjw296 authored Apr 13, 2023
commit af8397a691454ee1416b1c7c0a83f18702ce3b0e
1 change: 0 additions & 1 deletion Lib/test/test_unittest/testmock/testpatch.py
Original file line number Diff line number Diff line change
Expand Up @@ -997,7 +997,6 @@ def test_autospec_classmethod(self):


def test_autospec_staticmethod_signature(self):
# Regression test for gh-102978
# Patched methods which are decorated with @staticmethod should have the same signature
class Foo:
@staticmethod
Expand Down
0