GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — bpo-5846: Fix deprecations for obsolete unittest functions and add tests. by serhiy-storchaka · Pull Request #28382 · python/cpython

Conversation

@serhiy-storchaka

@serhiy-storchaka serhiy-storchaka commented Sep 16, 2021 •
edited by bedevere-bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

https://bugs.python.org/issue5846

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@serhiy-storchaka serhiy-storchaka added the skip news label Sep 16, 2021
@the-knights-who-say-ni the-knights-who-say-ni added the CLA signed label Sep 16, 2021
@bedevere-bot bedevere-bot added the awaiting core review label Sep 16, 2021
@serhiy-storchaka
serhiy-storchaka force-pushed the unittest-obsolete branch from d461761 to 575f123 Compare September 16, 2021 08:28
@serhiy-storchaka
bpo-5846: Fix deprecations for obsolete unittest functions and add te…
450c3be
…sts.
@serhiy-storchaka
serhiy-storchaka force-pushed the unittest-obsolete branch from 575f123 to 450c3be Compare September 16, 2021 08:28
@serhiy-storchaka serhiy-storchaka changed the title bpo-5846: Fix deprecations for obsolete functions and add tests. bpo-5846: Fix deprecations for obsolete unittest functions and add tests. Sep 16, 2021
@serhiy-storchaka
serhiy-storchaka requested a review from erlend-aasland September 16, 2021 08:29
erlend-aasland
erlend-aasland approved these changes Sep 16, 2021
View reviewed changes

@erlend-aasland erlend-aasland left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

LGTM. Thanks for the fix!

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@sobolevn sobolevn mentioned this pull request Sep 16, 2021
bpo-45209: fix UserWarning: resource_tracker in test_multiprocessing #28377
Merged
@serhiy-storchaka
Merge branch 'main' into unittest-obsolete
48df942
@serhiy-storchaka
serhiy-storchaka merged commit b2b035a into python:main Sep 17, 2021
@bedevere-bot bedevere-bot removed the awaiting core review label Sep 17, 2021
@serhiy-storchaka
serhiy-storchaka deleted the unittest-obsolete branch September 17, 2021 09:09
This was referenced Mar 14, 2022
Replace Python 3.11 deprecated unittest.makeSuite workhorsy/py-cpuinfo#171
Closed
unittest.makeSuite is deprecated in Python 3.11 and will be removed in Python 3.13 giampaolo/pysendfile#39
Open
unittest.makeSuite is deprecated and will be removed in Python 3.13 sripathikrishnan/jinjasql#49
Open
unittest.makeSuite() is deprecated and will be removed in Python 3.13 nats-io/stan.py#53
Open
unittest.makeSuite() is deprecated in Python 3.11 and will be removed in Python 3.13 maxcountryman/flask-seasurf#107
Closed
unittest.findTestCases is deprecated in Python 3.11 and will be removed in Python 3.13 scoder/fastrlock#16
Closed
unittest.findTestCases is deprecated in Python 3.11 and will be removed in Python 3.13 lesscpy/lesscpy#120
Open
unittest.makeSuite is deprecated in Python 3.11 and will be removed in Python 3.13 zopefoundation/zope.security#83
Closed
unittest.makeSuite is deprecated in Python 3.11 and will be removed in Python 3.13 zopefoundation/zope.index#36
Closed
This was referenced Apr 13, 2022
Feature Proposal: Rewrite unittest.makeSuite|getTestCaseNames|findTestCases. asottile/pyupgrade#631
Closed
Fix DeprecationWarnings in unittest.* zopefoundation/meta#143
Closed
@voidspace voidspace mentioned this pull request May 24, 2023
Deprecate obsolete functions in unittest #50096
Closed
costero-e pushed a commit to EGA-archive/beacon2-ri-tools-v2 that referenced this pull request Sep 30, 2026
@rub-br
switch to TestLoader as makeSuite is deprecated
7abdb89
python/cpython#28382
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@erlend-aasland erlend-aasland erlend-aasland approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

skip news

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

4 participants

@serhiy-storchaka @erlend-aasland @the-knights-who-say-ni @bedevere-bot
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.