From 77fd7b5f42dc448f08a92854b8f96bfc6c368964 Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Tue, 23 Jun 2020 02:51:02 -0400 Subject: [PATCH] Use pytest macro. --- scipy.spec | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/scipy.spec b/scipy.spec index 055e30d..ea2dff0 100644 --- a/scipy.spec +++ b/scipy.spec @@ -162,12 +162,9 @@ export k="not test_denormals and not test_decomp" export k="not test_denormals" %endif -# Do not create -PYTEST.pyc files -export PYTHONDONTWRITEBYTECODE=1 - pushd %{buildroot}/%{python3_sitearch} # TODO TestIQR.test_scale fails on Python 3.8+ due to some warnings, investigate -%{__python3} -m pytest --timeout=500 -k "$k and not (TestIQR and test_scale)" scipy --numprocesses=auto +%{pytest} --timeout=500 -k "$k and not (TestIQR and test_scale)" scipy --numprocesses=auto # Remove test remnants rm -rf gram{A,B} popd