bpo-5846: Fix deprecations for obsolete unittest functions and add tests. by serhiy-storchaka · Pull Request #28382 · python/cpython · GitHub

github.com

Tin mới

serhiy-storchaka:unittest-obsolete

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

awaiting core review

awaiting core review

bpo-5846: Fix deprecations for obsolete unittest functions and add te…

View reviewed changes

Learn more about hiding disruptive comments

The reason will be displayed to describe this comment to others. Learn more.

bpo-45209: fix UserWarning: resource_tracker in test_multiprocessing #28377

Merge branch 'main' into unittest-obsolete

Replace Python 3.11 deprecated unittest.makeSuite workhorsy/py-cpuinfo#171

unittest.makeSuite is deprecated in Python 3.11 and will be removed in Python 3.13 giampaolo/pysendfile#39

unittest.makeSuite is deprecated and will be removed in Python 3.13 sripathikrishnan/jinjasql#49

unittest.makeSuite() is deprecated and will be removed in Python 3.13 nats-io/stan.py#53

unittest.makeSuite() is deprecated in Python 3.11 and will be removed in Python 3.13 maxcountryman/flask-seasurf#107

unittest.findTestCases is deprecated in Python 3.11 and will be removed in Python 3.13 scoder/fastrlock#16

unittest.findTestCases is deprecated in Python 3.11 and will be removed in Python 3.13 lesscpy/lesscpy#120

unittest.makeSuite is deprecated in Python 3.11 and will be removed in Python 3.13 zopefoundation/zope.security#83

unittest.makeSuite is deprecated in Python 3.11 and will be removed in Python 3.13 zopefoundation/zope.index#36

Feature Proposal: Rewrite unittest.makeSuite|getTestCaseNames|findTestCases. asottile/pyupgrade#631

Fix DeprecationWarnings in unittest.* zopefoundation/meta#143

Deprecate obsolete functions in unittest #50096