From efaecd35025e010c7ea24f997400c86d2a5f4b7f1f98f7a410d57926b6d522ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 5 Mar 2019 12:46:18 +0000 Subject: [PATCH] Accepting request 681734 from home:frispete:python - set environment encoding for checks in order to succeed test_encoding with Python < 3.7 OBS-URL: https://build.opensuse.org/request/show/681734 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-radon?expand=0&rev=10 --- python-radon.changes | 6 ++++++ python-radon.spec | 1 + 2 files changed, 7 insertions(+) diff --git a/python-radon.changes b/python-radon.changes index 99b65e7..1beb958 100644 --- a/python-radon.changes +++ b/python-radon.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Mar 5 12:43:17 UTC 2019 - Hans-Peter Jansen + +- set environment encoding for checks in order to succeed + test_encoding with Python < 3.7 + ------------------------------------------------------------------- Thu Feb 14 04:42:27 UTC 2019 - John Vandenberg diff --git a/python-radon.spec b/python-radon.spec index ec6f88e..7481d05 100644 --- a/python-radon.spec +++ b/python-radon.spec @@ -66,6 +66,7 @@ rm -r */lib/radon/tests %python_clone -a %{buildroot}%{_bindir}/radon %check +export LANG=en_US.UTF-8 %python_exec -m pytest --strict %post