Skip to content

[3.15] urllib: Add tests for HTTP errors to complete coverage (GH-154102) - #154120

Merged
tomasr8 merged 1 commit into
python:3.15from
miss-islington:backport-b8ec956-3.15
Jul 20, 2026
Merged

[3.15] urllib: Add tests for HTTP errors to complete coverage (GH-154102)#154120
tomasr8 merged 1 commit into
python:3.15from
miss-islington:backport-b8ec956-3.15

Conversation

@miss-islington

Copy link
Copy Markdown
Contributor
  • add test for httperror props such as reason and fp, and stringified urlerror test

  • rm unnecessary 'reason' attr test, change url to filename and add reason and headers attr

  • separate file pointer test

  • prevent resource warning, close httperror exception

  • exc > err
    (cherry picked from commit b8ec956)

Co-authored-by: Ajob Kustra ajob.edward.kustra@cern.ch

* add test for httperror props such as reason and fp, and stringified urlerror test

* rm unnecessary 'reason' attr test, change url to filename and add reason and headers attr

* separate file pointer test

* prevent resource warning, close httperror exception

* exc > err
(cherry picked from commit b8ec956)

Co-authored-by: Ajob Kustra <ajob.edward.kustra@cern.ch>
@bedevere-app bedevere-app Bot added tests Tests in the Lib/test dir skip issue skip news sprint labels Jul 19, 2026
@github-project-automation github-project-automation Bot moved this to Todo in Sprint Jul 19, 2026
@tomasr8
tomasr8 merged commit 1df0ecd into python:3.15 Jul 20, 2026
60 checks passed
@github-project-automation github-project-automation Bot moved this from Todo to Done in Sprint Jul 20, 2026
@miss-islington
miss-islington deleted the backport-b8ec956-3.15 branch July 20, 2026 06:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants