]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-45678: Add more ``singledispatchmethod`` tests (GH-29412)
authorAlex Waygood <Alex.Waygood@Gmail.com>
Fri, 5 Nov 2021 10:06:18 +0000 (10:06 +0000)
committerGitHub <noreply@github.com>
Fri, 5 Nov 2021 10:06:18 +0000 (11:06 +0100)
commit32f55d1a5de66f9a86964fc0655d7a006a9d90b9
tree4f361551a1695706346b380346dd1014819ea28d
parent3509b26c916707363c71a1df040855e395cf4817
bpo-45678: Add more ``singledispatchmethod`` tests (GH-29412)

In order to fix a bug in the 3.9 branch in #29394, more tests were added to
``test_functools.py`` to ensure that ``singledispatchmethod`` still correctly
wrapped a target method, even if the target method had already been wrapped by
 multiple other decorators. This PR brings the new tests into the 3.11 and 3.10
branches as well.
Lib/test/test_functools.py
Misc/NEWS.d/next/Tests/2021-11-04-20-03-32.bpo-45678.1xNMjN.rst [new file with mode: 0644]