pytest
pytest copied to clipboard
Can TerminalReporter support unicode?
@pytest.fixture(params=["风行频道"])
def enter_channel():
...
def test_fengxing(enter_channel):
...

I'm trying to use fixture with params. But terminalReporter doesn't seem to support unicode. Any good suggestions over there?
test ids get escaped due to unicode charactes in them pretty much blowing up lots of things that integrate them in a non-unicode aware way (yay for filesystem encodings and envronment encodings)
currently there is nobody working on fixing this
there is a flag for allowing this and forfeiting all support for those reasons and a older issue around that as well
Closing because of https://github.com/pytest-dev/pytest/issues/9037 😢