summaryrefslogtreecommitdiffstats
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorGuilherme Leobas <guilhermeleobas@gmail.com>2025-08-07 21:29:45 (GMT)
committerGitHub <noreply@github.com>2025-08-07 21:29:45 (GMT)
commit16cebe69a87c5c6dcbfd3ba4730574b703963f56 (patch)
tree842512ae70ef6789d2d8f5deb41a9bce12146c07 /Python/pythonrun.c
parentd1d543fb1e4a23efe719d6a70b503b01a6d1b7ce (diff)
downloadcpython-16cebe69a87c5c6dcbfd3ba4730574b703963f56.zip
cpython-16cebe69a87c5c6dcbfd3ba4730574b703963f56.tar.gz
cpython-16cebe69a87c5c6dcbfd3ba4730574b703963f56.tar.bz2
[3.13] gh-137463: Update validate_abstract_methods in test_collections.py (GH-137464) (#137521)
gh-137463: Update `validate_abstract_methods` in `test_collections.py` (#137464) Update `validate_abstract_methods` in `test_collections.py` The test for missing abstract methods in `validate_abstract_methods` incorrectly attempted to instantiate the generated class `C` with an argument (`C(name)`), which always raises a `TypeError: C() takes no arguments`. Although the test originally passes, it passes for the wrong reason. This change makes the test correctly validate the enforcement of abstract methods in ABCs. (cherry picked from commit 5be872350d562e6c9987b09ff4b7bda80a2f9cd0)
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions