Skip to content

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

Open
zsaladin wants to merge 1 commit into
python:3.13from
zsaladin:backport-b8ec956-3.13
Open

[3.13] urllib: Add tests for HTTP errors to complete coverage (GH-154102)#155921
zsaladin wants to merge 1 commit into
python:3.13from
zsaladin:backport-b8ec956-3.13

Conversation

@zsaladin

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)

…GH-154102)

* 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>
@zsaladin

Copy link
Copy Markdown
Contributor Author

@hugovk

The problem we faced together was because of my neovim issue that formatted the opened file. 🥲 Thank you for your time.

@github-project-automation github-project-automation Bot moved this from Todo to In Progress in Sprint Aug 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

3 participants