[Python-modules-team] Bug#867522:

Michael Hudson-Doyle michael.hudson at canonical.com
Wed Jul 19 03:29:25 UTC 2017


Attaching a patch to fix this.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20170719/6474af44/attachment.html>
-------------- next part --------------
diff -Nru pytest-pylint-0.6.0/debian/changelog pytest-pylint-0.6.0/debian/changelog
--- pytest-pylint-0.6.0/debian/changelog	2016-08-02 17:56:04.000000000 +1200
+++ pytest-pylint-0.6.0/debian/changelog	2017-07-19 15:25:40.000000000 +1200
@@ -1,3 +1,10 @@
+pytest-pylint (0.6.0-2) UNRELEASED; urgency=medium
+
+  * Prevent tests in the debian/$pkg directories from being collected when
+    running the tests.
+
+ -- Michael Hudson-Doyle <michael.hudson at ubuntu.com>  Wed, 19 Jul 2017 15:25:09 +1200
+
 pytest-pylint (0.6.0-1) unstable; urgency=medium
 
   [ Ondřej Nový ]
diff -Nru pytest-pylint-0.6.0/debian/rules pytest-pylint-0.6.0/debian/rules
--- pytest-pylint-0.6.0/debian/rules	2016-08-02 17:56:04.000000000 +1200
+++ pytest-pylint-0.6.0/debian/rules	2017-07-19 15:25:52.000000000 +1200
@@ -10,7 +10,7 @@
 
 override_dh_auto_install:
 	dh_auto_install
-	PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS="{interpreter} -m pytest -v -x" dh_auto_test
+	PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS="{interpreter} -m pytest -v -x --ignore debian" dh_auto_test
 	# run tests after install: plugin needs to get registered by setup.py/entry_points
 
 override_dh_installchangelogs:


More information about the Python-modules-team mailing list