Visitar URL original
gh-102978: Fix mock.patch function signatures for class and staticmethod decorators by tomasr8 · Pull Request #103228 · python/cpython · GitHub
Skip to content
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/testhelpers.py
  • Loading branch information
cjw296 authored Apr 13, 2023
commit a41d46ebd053a63d7ef3f789dd81ad5a1697c808
1 change: 0 additions & 1 deletion Lib/test/test_unittest/testmock/testhelpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -962,7 +962,6 @@ def static_method(a, b=10, *, c): pass


def test_autospec_signature_classmethod(self):
# Regression test for gh-102978
class Foo:
@classmethod
def class_method(cls, a, b=10, *, c): pass
Expand Down