[packages/python-dateutil] - try with PYTHONIOENCODING
qboosh
qboosh at pld-linux.org
Thu Mar 26 20:30:02 CET 2020
commit 61fb80164af29a3e5d0ab6aa26942a1ae24d1536
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Thu Mar 26 20:31:11 2020 +0100
- try with PYTHONIOENCODING
python-dateutil.spec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/python-dateutil.spec b/python-dateutil.spec
index 27ce828..77fb13b 100644
--- a/python-dateutil.spec
+++ b/python-dateutil.spec
@@ -151,7 +151,7 @@ aktualna w stosunku do systemowych danych zoneinfo.
%if %{with tests}
# python 2 pytest on builders seem to fail when passing exception containing non-ascii characters
-LC_ALL=C.UTF-8 \
+LC_ALL=C.UTF-8 PYTHONIOENCODING=utf8 \
PYTHONPATH=$(pwd) \
%{__python} -m pytest --deselect=dateutil/test/test_isoparser.py::test_iso_raises dateutil/test
%endif
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-dateutil.git/commitdiff/61fb80164af29a3e5d0ab6aa26942a1ae24d1536
More information about the pld-cvs-commit
mailing list