◐ Shell
reader mode source ↗
Skip to content

gh-102799: use sys.exception() instead of sys.exc_info() in tests#103293

Merged
iritkatriel merged 9 commits into
python:mainfrom
iritkatriel:exc_info
Apr 6, 2023
Merged

gh-102799: use sys.exception() instead of sys.exc_info() in tests#103293
iritkatriel merged 9 commits into
python:mainfrom
iritkatriel:exc_info

Conversation

@iritkatriel

@iritkatriel iritkatriel commented Apr 5, 2023

Copy link
Copy Markdown
Member

Now that 3.10 is no longer getting bugfixes, we can use sys.exception() without worrying about it impacting bugfix backports (it exists since 3.11).

This PR does the tests.

@gvanrossum gvanrossum 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.

Hide comment

One nit, no need to wait for another approval after you fix it.

@iritkatriel iritkatriel merged commit 482b6ee into python:main Apr 6, 2023
warsaw pushed a commit to warsaw/cpython that referenced this pull request Apr 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants