-
-
Notifications
You must be signed in to change notification settings - Fork 29.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Do not use EnvironmentError
in tests, use OSError
instead
#121571
Comments
sobolevn
added
type-bug
An unexpected behavior, bug, or error
tests
Tests in the Lib/test dir
labels
Jul 10, 2024
sobolevn
added a commit
to sobolevn/cpython
that referenced
this issue
Jul 10, 2024
sobolevn
added a commit
to sobolevn/cpython
that referenced
this issue
Jul 10, 2024
sobolevn
added a commit
that referenced
this issue
Jul 10, 2024
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Jul 10, 2024
…` instead (pythonGH-121572) (cherry picked from commit e282236) Co-authored-by: sobolevn <mail@sobolevn.me>
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Jul 10, 2024
…` instead (pythonGH-121572) (cherry picked from commit e282236) Co-authored-by: sobolevn <mail@sobolevn.me>
noahbkim
pushed a commit
to hudson-trading/cpython
that referenced
this issue
Jul 11, 2024
estyxx
pushed a commit
to estyxx/cpython
that referenced
this issue
Jul 17, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug report
Since 3.3
EnvironmentError
is just an alias forOSError
. There are several places where it is still used. I propose to modernize the code. Just like we did withIOError
.Linked PRs
EnvironmentError
in tests, useOSError
instead #121572EnvironmentError
in tests, useOSError
instead (GH-121572) #121574EnvironmentError
in tests, useOSError
instead (GH-121572) #121575The text was updated successfully, but these errors were encountered: