From ca4c9c1546a9de3ec699a56d5e74d429c9e9e312f598a7d45282c7209552b240 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 8 Oct 2020 10:14:03 +0000 Subject: [PATCH] - Don't use deprecated 'python setup.py test', use pytest directly. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bcrypt?expand=0&rev=27 --- python-bcrypt.changes | 5 +++++ python-bcrypt.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/python-bcrypt.changes b/python-bcrypt.changes index 945a155..81d30be 100644 --- a/python-bcrypt.changes +++ b/python-bcrypt.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Oct 8 10:13:31 UTC 2020 - Matej Cepl + +- Don't use deprecated 'python setup.py test', use pytest directly. + ------------------------------------------------------------------- Thu Aug 27 22:04:24 UTC 2020 - John Paul Adrian Glaubitz diff --git a/python-bcrypt.spec b/python-bcrypt.spec index 2693cc1..abdb984 100644 --- a/python-bcrypt.spec +++ b/python-bcrypt.spec @@ -61,7 +61,7 @@ export CFLAGS="%{optflags} -fno-strict-aliasing" %python_expand %fdupes %{buildroot}/%{$python_sitearch} %check -%python_exec setup.py test +%pytest_arch tests/ %files %{python_files} %license LICENSE