[packages/python-dateutil] - try to disable test_iso_raises test on py2

qboosh qboosh at pld-linux.org
Sun Dec 29 12:22:42 CET 2019


commit d734fdcbcc967911eb978e385e90d0e07186a6fd
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Dec 29 12:23:32 2019 +0100

    - try to disable test_iso_raises test on py2

 python-dateutil.spec | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/python-dateutil.spec b/python-dateutil.spec
index 4fd9cef..27ce828 100644
--- a/python-dateutil.spec
+++ b/python-dateutil.spec
@@ -150,9 +150,10 @@ aktualna w stosunku do systemowych danych zoneinfo.
 %py_build
 
 %if %{with tests}
+# python 2 pytest on builders seem to fail when passing exception containing non-ascii characters
 LC_ALL=C.UTF-8 \
 PYTHONPATH=$(pwd) \
-%{__python} -m pytest dateutil/test
+%{__python} -m pytest --deselect=dateutil/test/test_isoparser.py::test_iso_raises dateutil/test
 %endif
 %endif
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-dateutil.git/commitdiff/d734fdcbcc967911eb978e385e90d0e07186a6fd



More information about the pld-cvs-commit mailing list