![](https://seccdn.libravatar.org/avatar/a725014f091bcd9e8ff16e9f2a0d7e20.jpg?s=120&d=mm&r=g)
On Saturday 05 December 2015 19:15:42 Bruno Friedmann wrote:
On Tuesday 01 December 2015 20.33:57 Alin Marin Elena wrote: I'm pretty sure you find it since then
this is what I'm using mostly for tests in python3 packaging obs build doesn't set a UTF-8 aware env leading some part of python3 to use the ascii decode wrongly
# LC is mandatory to have codec using utf-8.py and not ascii export LC_ALL=en_US.UTF-8; nosetests-%{py3_ver} tests -v
IMHO, this is the wrong approach. Any open()ing of files should specify the codec used for the files content. https://docs.python.org/3.4/library/functions.html#open Kind regards, Stefan -- Stefan Brüns / Bergstraße 21 / 52062 Aachen home: +49 241 53809034 mobile: +49 151 50412019 work: +49 2405 49936-424 -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org