[packages/python-pytest-mock] - tests fail with python3-mock installed

qboosh qboosh at pld-linux.org
Tue Mar 7 21:36:01 CET 2017


commit c8cd02d3f3e476522a973830d7eaf5b81d2e6ad7
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Tue Mar 7 21:38:04 2017 +0100

    - tests fail with python3-mock installed

 python-pytest-mock.spec | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/python-pytest-mock.spec b/python-pytest-mock.spec
index 9b7f2b2..1f8e97c 100644
--- a/python-pytest-mock.spec
+++ b/python-pytest-mock.spec
@@ -30,6 +30,8 @@ BuildRequires:	python3-setuptools
 BuildRequires:	python3-setuptools_scm
 %if %{with tests}
 BuildRequires:	python3-pytest >= 2.7
+# there is py3 test which relies on "mock" standalone module not being installed
+BuildConflicts:	python3-mock
 %endif
 %endif
 BuildRequires:	rpm-pythonprov
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-pytest-mock.git/commitdiff/c8cd02d3f3e476522a973830d7eaf5b81d2e6ad7



More information about the pld-cvs-commit mailing list