]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-127750: Fix annotations in singledispatchmethod signature tests (GH-143571...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 11 Jan 2026 19:49:30 +0000 (20:49 +0100)
committerGitHub <noreply@github.com>
Sun, 11 Jan 2026 19:49:30 +0000 (19:49 +0000)
commitea26c885fd85e7d57b7eefd72acea280ac93e467
treefa17e59e6247849b4bb479ff4d6da6f35223ab13
parentbfc57f70acf7b9c32b0f75e77f5181212bf0af61
[3.14] gh-127750: Fix annotations in singledispatchmethod signature tests (GH-143571) (GH-143707)

These tests relied on a bug -- gh-84644, which is that singledispatch
doesn't verify the annotation is on the "first" parameter.
(cherry picked from commit 620a5b92693ac1b2cef1f90fd3c2dba1bb794552)

Co-authored-by: Bartosz Sławecki <bartosz@ilikepython.com>
Lib/test/test_functools.py