pytest-dev / iniconfig

MIT License
58 stars 31 forks source link

Maybe `utf-8` is the best choise for solve decode error. #43

Closed edsion1107 closed 1 year ago

edsion1107 commented 2 years ago

From: #5 #39

My environment is 'Python': '3.9.13', 'Platform': 'Windows-10-10.0.19044-SP0' Call locale.getpreferredencoding() will return cp936,but decode error still occured.

PS: Another option is to support pytest.toml or pytest.yaml ?