[packages/python-freezegun] - disable pytest plugins
qboosh
qboosh at pld-linux.org
Tue Mar 15 22:13:58 CET 2022
commit 837c07bf054813d832609df2b6abb340fc2667a0
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Tue Mar 15 22:16:06 2022 +0100
- disable pytest plugins
python-freezegun.spec | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/python-freezegun.spec b/python-freezegun.spec
index 40e7cfc..2ce4947 100644
--- a/python-freezegun.spec
+++ b/python-freezegun.spec
@@ -7,6 +7,7 @@
Summary: FreezeGun: Let your Python 2 tests travel through time
Summary(pl.UTF-8): FreezeGun - umożliwienie testom Pythona 2 podróżowania w czasie
Name: python-freezegun
+# keep 0.3.x here for python3 support
Version: 0.3.15
Release: 2
License: Apache v2.0
@@ -71,6 +72,7 @@ czasie dzięki atrapie modułu datetime.
%py_build
%if %{with tests}
+PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
%{__python} -m pytest tests
%endif
%endif
@@ -79,6 +81,7 @@ czasie dzięki atrapie modułu datetime.
%py3_build
%if %{with tests}
+PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
%{__python3} -m pytest tests
%endif
%endif
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-freezegun.git/commitdiff/837c07bf054813d832609df2b6abb340fc2667a0
More information about the pld-cvs-commit
mailing list