[arch-commits] Commit in python-txaio/trunk (PKGBUILD)
Evangelos Foutras
foutrelis at archlinux.org
Mon Jul 23 09:01:49 UTC 2018
Date: Monday, July 23, 2018 @ 09:01:49
Author: foutrelis
Revision: 362936
Fix tests on Python 3.7
Modified:
python-txaio/trunk/PKGBUILD
----------+
PKGBUILD | 4 ++++
1 file changed, 4 insertions(+)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-07-23 08:39:24 UTC (rev 362935)
+++ PKGBUILD 2018-07-23 09:01:49 UTC (rev 362936)
@@ -21,6 +21,10 @@
# https://github.com/crossbario/txaio/issues/77#issuecomment-246276723
rm txaio-$pkgver/test/test_packaging.py
cp -a txaio-$pkgver{,-py2}
+
+ # Fix tests on Python 3.7 (https://github.com/crossbario/txaio/issues/134)
+ sed -i 's/await/async_wait/' txaio-$pkgver/test/*.py
+ sed -i 's/asyncio\.test_utils/test.test_asyncio.utils/' txaio-$pkgver/test/*.py
}
build() {
More information about the arch-commits
mailing list