From 48f1906f04f802fcd052eb4d25d0e1d361343df359170ea884d377bddb5c3a1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 10 Dec 2019 08:16:35 +0000 Subject: [PATCH] Accepting request 755400 from home:emendonca:octoprint - Adding locale variables, as some tests would fail due to unicode errors. OBS-URL: https://build.opensuse.org/request/show/755400 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-webassets?expand=0&rev=4 --- python-webassets.changes | 5 +++++ python-webassets.spec | 2 ++ 2 files changed, 7 insertions(+) diff --git a/python-webassets.changes b/python-webassets.changes index afa5120..fbeba83 100644 --- a/python-webassets.changes +++ b/python-webassets.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Dec 6 20:55:03 UTC 2019 - Erico Mendonca + +- Adding locale variables, as some tests would fail due to unicode errors. + ------------------------------------------------------------------- Fri Mar 8 15:15:52 UTC 2019 - Tomáš Chvátal diff --git a/python-webassets.spec b/python-webassets.spec index 12892de..b0193f0 100644 --- a/python-webassets.spec +++ b/python-webassets.spec @@ -60,6 +60,8 @@ sed -i -e 's:e.message:e.args[0]:g' tests/test_filters.py %python_expand %fdupes %{buildroot}%{$python_sitelib} %check +# for some reason the locale is set to C during tests? +export LANG="en_US.UTF8" %{pytest} %files %{python_files}