diff --git a/python-pluggy.spec b/python-pluggy.spec index f6064ed..f09e0ee 100644 --- a/python-pluggy.spec +++ b/python-pluggy.spec @@ -86,14 +86,13 @@ popd %check pushd python2 -cd testing -py.test test_pluggy.py +export PYTHONPATH=.:$PYTHONPATH +py.test testing/test_pluggy.py popd %if 0%{?with_python3} pushd python3 -cd testing -py.test-3.4 test_pluggy.py +py.test-3.4 testing/test_pluggy.py popd %endif