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 02d274377efa8b81bf29cdc6a791908c47ca250b
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 @@ -953,7 +953,6 @@ def __getattr__(self, attribute):


def test_autospec_signature_staticmethod(self):
# Regression test for gh-102978
class Foo:
@staticmethod
def static_method(a, b=10, *, c): pass
Expand Down