Skip to content

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

Merged
tomasr8 merged 2 commits into
python:3.14from
miss-islington:backport-b8ec956-3.14
Jul 22, 2026
Merged

[3.14] urllib: Add tests for HTTP errors to complete coverage (GH-154102)#154121
tomasr8 merged 2 commits into
python:3.14from
miss-islington:backport-b8ec956-3.14

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>
@tomasr8
tomasr8 merged commit 6d61cc9 into python:3.14 Jul 22, 2026
45 checks passed
@github-project-automation github-project-automation Bot moved this from Todo to Done in Sprint Jul 22, 2026
@miss-islington
miss-islington deleted the backport-b8ec956-3.14 branch July 22, 2026 08:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants