-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Closed
Labels
topic: reportingrelated to terminal output and user-facing messages and errorsrelated to terminal output and user-facing messages and errorstopic: selectionrelated to test selection from the command linerelated to test selection from the command linetype: enhancementnew feature or API change, should be merged into features branchnew feature or API change, should be merged into features branch
Description
@pytest.mark.parametrize(
"string1", [
pytest.param("test1", id="unicode in id い")
])
def test_unicode_in_param_id(string1:str) -> None:
assert string1 == "test1"running it with pytest -v test.py gives me
platform darwin -- Python 3.9.6, pytest-6.1.2, py-1.9.0, pluggy-0.13.1 -- /usr/local/opt/python@3.9/bin/python3.9
cachedir: .pytest_cache
rootdir: /Users/solarmist/repos/pytest
collected 1 item
test.py::test_unicode_in_param_id[unicode in id \u3044] PASSED [100%]
I expected the [] to show unicode in id い
pip list
---------- -------
pip 21.2.4
setuptools 57.4.0
wheel 0.36.2```
This is on a macOS 11.4.
last-partizan, obaltian, PaleNeutron, voyager0003 and moajo
Metadata
Metadata
Assignees
Labels
topic: reportingrelated to terminal output and user-facing messages and errorsrelated to terminal output and user-facing messages and errorstopic: selectionrelated to test selection from the command linerelated to test selection from the command linetype: enhancementnew feature or API change, should be merged into features branchnew feature or API change, should be merged into features branch