Skip to content

Add tests for errors during byte formatting as for strings #131015

Closed
@ApostolFet

Description

@ApostolFet

Bug report

Bug description:

There are tests for string formatting errors - https://github.com/python/cpython/blob/main/Lib/test/test_str.py#L1581-L1591, but no tests for byte formatting errors - https://github.com/python/cpython/blob/main/Lib/test/test_bytes.py#L719.

I would like to send a PR to fix this.

CPython versions tested on:

CPython main branch

Operating systems tested on:

No response

Linked PRs

Metadata

Metadata

Labels

testsTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or error

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions