bpo-45162: Remove many old deprecated unittest features by serhiy-storchaka · Pull Request #28268 · python/cpython · GitHub

github.com

Tin mới

serhiy-storchaka:unittest-remove-deprecated

GitHub CopilotWrite better code with AI

GitHub Copilot appDirect agents from issue to merge

ActionsAutomate any workflow

CodespacesInstant dev environments

IssuesPlan and track work

Code ReviewManage code changes

Code QualityEnforce quality at merge

GitHub Advanced SecurityFind and fix vulnerabilities

Code securitySecure your code as you build

Secret protectionStop leaks before they start

View all use cases

Financial services

View all industries

Software Development

GitHub SponsorsFund open source developers

Copilot for BusinessEnterprise-grade AI features

Premium SupportEnterprise-grade 24/7 support

Pull requests 2.6k

Security and quality 0

bpo-45162: Remove many old deprecated unittest features

awaiting core review

awaiting core review

Fix removed reference.

🔨 test-with-buildbots

🔨 test-with-buildbots

Merge branch 'main' into unittest-remove-deprecated

Merge branch 'main' into unittest-remove-deprecated

Merge branch 'main' into unittest-remove-deprecated

Use assertEqual instead of assertEquals for Python 3.11 compatibility. spyoungtech/grequests#152

Use assertRegex for Python 3.11 compatibility. PostHog/posthog#6225

Deprecated aliases in unittest were removed in Python 3.11 simplistix/testfixtures#162

Use assertRaisesRegex instead of assertRaisesRegexp for Python 3.11 compatibility. NaturalHistoryMuseum/pyzbar#106

Deprecated unittest aliases were removed in Python 3.11 pytest-dev/nose2pytest#19

Use assertEqual instead of assertEquals for Python 3.11 compatibility. giampaolo/psutil#1995

Refactor deprecated unittest aliases for Python 3.11 compatibility. stravalib/stravalib#223

Refactor deprecated unittest aliases for Python 3.11 compatibility. Legrandin/pycryptodome#560

Refactor deprecated unittest aliases for Python 3.11 compatibility. cpburnz/python-pathspec#51

Refactor deprecated unittest aliases for Python 3.11 compatibility. pyradius/pyrad#162

Refactor deprecated unittest aliases for Python 3.11 compatibility. luozhouyang/python-string-similarity#30

Refactor deprecated unittest aliases for Python 3.11 compatibility. django-cms/djangocms-attributes-field#41

: Revert "Remove many old deprecated unittest features" (

Refactor deprecated unittest aliases for Python 3 compatibility. pypyodbc/pypyodbc#16

test: Use assertEqual instead of assertEquals for Python 3.11 compatibility. frappe/frappe#16357

Refactor deprecated unittest aliases for Python 3.11 compatibility. grycap/im#1337

Use assertEqual instead of assertEquals for Python 3.11 compatibility. Mathics3/mathics-core#235

Use assertEqual instead of assertEquals for Python 3.11 compatibility. cloudtools/stacker#775

Remove old deprecated unittest features #89325

Refactor failIf to assertFalse for Python 3.12 Compatibility

Refactor failIf to assertFalse for Python 3.12 Compatibility testing-cabal/testresources#15

Fix warning test query getredash/redash#6335

remove usage of deprecated assertDictContainsSubset