diff --git a/python-cloudpickle.spec b/python-cloudpickle.spec index cdb9f78..ba64068 100644 --- a/python-cloudpickle.spec +++ b/python-cloudpickle.spec @@ -67,7 +67,8 @@ functions and classes defined interactively in the __main__ module. %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%pytest +export PYTHONPATH='.:tests' +%python_expand py.test-%{$python_bin_suffix} -s %files %{python_files} %doc README.md