[arch-commits] Commit in python-cachecontrol (2 files)

Eli Schwartz eschwartz at archlinux.org
Thu May 17 00:30:20 UTC 2018


    Date: Thursday, May 17, 2018 @ 00:30:16
  Author: eschwartz
Revision: 323289

Somehow the tests error out now for no good reason but this magically fixes it.

The built package does not change (and these tests used to pass???) but for now
I merely bow to the inscrutable will of pytest and invoke the module instead of
the entry point. It seems to more reliably discover the actual code to test it.

Modified:
  python-cachecontrol/repos/community-any/PKGBUILD
  python-cachecontrol/trunk/PKGBUILD

------------------------------+
 repos/community-any/PKGBUILD |    4 ++--
 trunk/PKGBUILD               |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

Modified: repos/community-any/PKGBUILD
===================================================================
--- repos/community-any/PKGBUILD	2018-05-17 00:25:36 UTC (rev 323288)
+++ repos/community-any/PKGBUILD	2018-05-17 00:30:16 UTC (rev 323289)
@@ -34,8 +34,8 @@
 check() {
     cd "${srcdir}"/${_pkgname}-${pkgver}
 
-    pytest
-    pytest2
+    python -m pytest
+    python2 -m pytest
 }
 
 package_python-cachecontrol() {

Modified: trunk/PKGBUILD
===================================================================
--- trunk/PKGBUILD	2018-05-17 00:25:36 UTC (rev 323288)
+++ trunk/PKGBUILD	2018-05-17 00:30:16 UTC (rev 323289)
@@ -34,8 +34,8 @@
 check() {
     cd "${srcdir}"/${_pkgname}-${pkgver}
 
-    pytest
-    pytest2
+    python -m pytest
+    python2 -m pytest
 }
 
 package_python-cachecontrol() {



More information about the arch-commits mailing list