Skip to content

Better Unicode handling in ID generation #656

Closed
@pytestbot

Description

@pytestbot

Originally reported by: BitBucket: thiefmaster, GitHub: thiefmaster


some::test[foo-bar] is much nicer than some::test[a0-b0]

Any non-ascii characters could be simply skipped or replaced with an underscore (or even transliterated).

I think it would also make perfect sense to replace whitespace with underscores.


Metadata

Metadata

Assignees

No one assigned

    Labels

    topic: parametrizerelated to @pytest.mark.parametrizetype: enhancementnew feature or API change, should be merged into features branch

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions