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}