Skip to content

[3.6] bpo-33967: Remove use of deprecated assertRaisesRegexp() (GH-8261) - #8295

Merged
vstinner merged 1 commit into
python:3.6from
miss-islington:backport-9e9b2c3-3.6
Jul 16, 2018
Merged

[3.6] bpo-33967: Remove use of deprecated assertRaisesRegexp() (GH-8261)#8295
vstinner merged 1 commit into
python:3.6from
miss-islington:backport-9e9b2c3-3.6

Conversation

@miss-islington

@miss-islingtonmiss-islington commented Jul 16, 2018

Copy link
Copy Markdown
Contributor

It was added in test_functools at 445f1b3.
(cherry picked from commit 9e9b2c3)

Co-authored-by: Zackery Spytz zspytz@gmail.com

https://bugs.python.org/issue33967

It was added in test_functools at 445f1b3.
(cherry picked from commit 9e9b2c3)
Co-authored-by: Zackery Spytz <zspytz@gmail.com>

@vstinnervstinner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM, good bot.

@vstinner
vstinner merged commit 336c953 into python:3.6Jul 16, 2018
@miss-islington
miss-islington deleted the backport-9e9b2c3-3.6 branch July 16, 2018 09:26
gaborbernat added a commit to gaborbernat/cpython that referenced this pull request Jun 3, 2026
Introduced in python#8295 alongside shutil.unpack_archive() as a helper that
created the parent directory of each extracted member.
Orphaned by pythongh-146581 (pythonGH-146591), the ZIP path-traversal fix, which
reworked _unpack_zipfile() to create directories inline and deleted the
last _ensure_directory(targetpath) call site in the same change.
Since then the private helper has had no caller: a word-boundary search
across Lib, Modules, Python, Objects and Include finds zero references
outside its own definition, and a GitHub code search finds no downstream
importers.
gaborbernat added a commit to gaborbernat/cpython that referenced this pull request Jun 3, 2026
Introduced in python#8295 alongside shutil.unpack_archive() as a helper that
created the parent directory of each extracted member.
Orphaned by pythongh-146581 (pythonGH-146591), the ZIP path-traversal fix, which
reworked _unpack_zipfile() to create directories inline and deleted the
last _ensure_directory(targetpath) call site in the same change.
Since then the private helper has had no caller: a word-boundary search
across Lib, Modules, Python, Objects and Include finds zero references
outside its own definition, and a GitHub code search finds no downstream
importers.
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip newstestsTests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@miss-islington@vstinner@the-knights-who-say-ni@bedevere-bot@ZackerySpytz