From 20fef6ede934814fc88d06c8db2f9d653c943285b94a162e74b77de50d792fbb Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 3 Dec 2019 14:55:45 +0000 Subject: [PATCH] Fix tests OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-path?expand=0&rev=2 --- python-path.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-path.spec b/python-path.spec index 5d2db59..6a51d3e 100644 --- a/python-path.spec +++ b/python-path.spec @@ -77,7 +77,7 @@ rm -f pytest.ini # need to set locale to avoid UnicodeEncodeError export LANG=en_US.UTF-8 # test_import_time -> relies on timing that varies in OBS -%pytest test_%{modname} -k 'not test_import_time' +%pytest -k 'not test_import_time' %endif %if !%{with test}