]> git.pld-linux.org Git - packages/python-freezegun.git/commitdiff
- disable pytest plugins
authorJakub Bogusz <qboosh@pld-linux.org>
Tue, 15 Mar 2022 21:16:06 +0000 (22:16 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Tue, 15 Mar 2022 21:16:06 +0000 (22:16 +0100)
python-freezegun.spec

index 40e7cfc6f313f215b5ad8898978c86bb4bf86b26..2ce4947b190b11a200b40b7d1b84665530365559 100644 (file)
@@ -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
This page took 0.196478 seconds and 4 git commands to generate.