]> git.pld-linux.org Git - packages/python-odfpy.git/commitdiff
- disable pytest plugins
authorJakub Bogusz <qboosh@pld-linux.org>
Thu, 17 Mar 2022 19:16:04 +0000 (20:16 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Thu, 17 Mar 2022 19:16:04 +0000 (20:16 +0100)
python-odfpy.spec

index 0e6c7ba6cc1dd0f4df6245b84f0006bd876f8461..371b0ebf797177638bb5ded438ff085947ade900 100644 (file)
@@ -100,6 +100,7 @@ Narzędzia do operacji na dokumentach OpenDocument.
 
 %if %{with tests}
 # test_xmlgenerator_wo_ns apparently fails with python 2.7
+PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
 %{__python} -m pytest tests -k 'not test_xmlgenerator_wo_ns'
 %endif
 %endif
@@ -108,6 +109,7 @@ Narzędzia do operacji na dokumentach OpenDocument.
 %py3_build
 
 %if %{with tests}
+PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
 %{__python3} -m pytest tests
 %endif
 %endif
This page took 0.134668 seconds and 4 git commands to generate.