[arch-commits] Commit in python-termstyle/trunk (PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Tue Jul 3 10:29:31 UTC 2018


    Date: Tuesday, July 3, 2018 @ 10:29:31
  Author: foutrelis
Revision: 350757

Fix tests

Modified:
  python-termstyle/trunk/PKGBUILD

----------+
 PKGBUILD |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-07-03 10:29:23 UTC (rev 350756)
+++ PKGBUILD	2018-07-03 10:29:31 UTC (rev 350757)
@@ -29,11 +29,10 @@
 
 check() {
   cd "$srcdir"/termstyle-$pkgver
-  # Python 2 only
-  # python test*.py
+  python test3.py
 
   cd "$srcdir"/termstyle-$pkgver-py2
-  LC_CTYPE=en_US.UTF-8 python2 test*.py || warning "Tests failed"
+  PYTHONIOENCODING=UTF-8 python2 test2.py
 }
 
 package_python-termstyle() {



More information about the arch-commits mailing list