Matej Cepl 2019-01-08 17:43:44 +00:00 committed by Git OBS Bridge
parent 4644063b2e
commit f75677a570

View File

@ -91,8 +91,8 @@ cp -r pyparsing.egg-info %{buildroot}%{$python_sitelib}/pyparsing-%{version}-py%
%if %{with test}
%{python_expand export PYTHONPATH=.:example
# unittest from Python 2.7 doesn't load tests correctly
%{$python} -munittest2 -v simple_unit_tests.py examples.test_bibparse examples.antlr_grammar_tests
%{$python} unitTests.py
$python -munittest2 -v simple_unit_tests.py examples.test_bibparse examples.antlr_grammar_tests
$python unitTests.py
}
%endif