Fix syntax of $python
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyparsing?expand=0&rev=56
This commit is contained in:
parent
4644063b2e
commit
f75677a570
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user