Skip to content

bpo-40275: Move TransientResource to test_urllib2net #20812

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

Merged
merged 1 commit into from
Jun 11, 2020
Merged

bpo-40275: Move TransientResource to test_urllib2net #20812

merged 1 commit into from
Jun 11, 2020

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Jun 11, 2020

Move TransientResource, time_out, socket_peer_reset and
ioerror_peer_reset from test.support to test_urllib2net.

Remove "import errno" from test.support.

https://bugs.python.org/issue40275

@vstinner
Copy link
Member Author

Remove "import errno" from test.support.

Right now, it's still imported indirectly. But once tests will be modified to import directly import_helper and os_helper, "import test.support" will no longer import errno.

Move TransientResource, time_out, socket_peer_reset and
ioerror_peer_reset from test.support to test_urllib2net.

Remove "import errno" from test.support.
@vstinner
Copy link
Member Author

PR rebased to fix a merge conflict.

@vstinner vstinner merged commit 311110a into python:master Jun 11, 2020
@vstinner vstinner deleted the support_transient_res branch June 11, 2020 16:26
arun-mani-j pushed a commit to arun-mani-j/cpython that referenced this pull request Jul 21, 2020
Move TransientResource, time_out, socket_peer_reset and
ioerror_peer_reset from test.support to test_urllib2net.

Remove "import errno" from test.support.
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request May 24, 2022
…ythonGH-93113)

The code was moved out of test.support in
311110a (pythonGH-20812), thus making
ResourceDenied undefined.
(cherry picked from commit 37c9a35)

Co-authored-by: Florian Bruhin <[email protected]>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request May 24, 2022
…ythonGH-93113)

The code was moved out of test.support in
311110a (pythonGH-20812), thus making
ResourceDenied undefined.
(cherry picked from commit 37c9a35)

Co-authored-by: Florian Bruhin <[email protected]>
vstinner pushed a commit that referenced this pull request May 24, 2022
The code was moved out of test.support in
311110a (GH-20812), thus making
ResourceDenied undefined.
miss-islington added a commit that referenced this pull request May 24, 2022
)

The code was moved out of test.support in
311110a (GH-20812), thus making
ResourceDenied undefined.
(cherry picked from commit 37c9a35)

Co-authored-by: Florian Bruhin <[email protected]>
miss-islington added a commit that referenced this pull request May 24, 2022
)

The code was moved out of test.support in
311110a (GH-20812), thus making
ResourceDenied undefined.
(cherry picked from commit 37c9a35)

Co-authored-by: Florian Bruhin <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants