https://launchpad.net/ubuntu/+archive/test-rebuild-20191220-focal/+build/18296707 RUN: /usr/share/launchpad-buildd/bin/builder-prep Kernel version: Linux bos02-ppc64el-009 4.4.0-170-generic #199-Ubuntu SMP Thu Nov 14 01:45:08 UTC 2019 ppc64le Buildd toolchain package versions: launchpad-buildd_183 python-lpbuildd_183 sbuild_0.67.0-2ubuntu7.1 bzr-builder_0.7.3+bzr174~ppa13~ubuntu14.10.1 bzr_2.7.0-2ubuntu3.1 git-build-recipe_0.3.6~git201906051340.ff11471~ubuntu16.04.1 git_1:2.7.4-0ubuntu1.7 dpkg-dev_1.18.4ubuntu1.6 python-debian_0.1.27ubuntu2. Syncing the system clock with the buildd NTP service... 5 Jan 10:54:21 ntpdate[1890]: adjust time server 10.211.37.1 offset 0.003381 sec RUN: /usr/share/launchpad-buildd/bin/in-target unpack-chroot --backend=chroot --series=focal --arch=ppc64el PACKAGEBUILD-18296707 --image-type chroot /home/buildd/filecache-default/dc614fa4772464ee6d43f8f857199c7f024663c7 Creating target for build PACKAGEBUILD-18296707 RUN: /usr/share/launchpad-buildd/bin/in-target mount-chroot --backend=chroot --series=focal --arch=ppc64el PACKAGEBUILD-18296707 Starting target for build PACKAGEBUILD-18296707 RUN: /usr/share/launchpad-buildd/bin/in-target override-sources-list --backend=chroot --series=focal --arch=ppc64el PACKAGEBUILD-18296707 'deb http://ftpmaster.internal/ubuntu focal main restricted universe multiverse' Overriding sources.list in build-PACKAGEBUILD-18296707 RUN: /usr/share/launchpad-buildd/bin/in-target update-debian-chroot --backend=chroot --series=focal --arch=ppc64el PACKAGEBUILD-18296707 Updating target for build PACKAGEBUILD-18296707 Get:1 http://ftpmaster.internal/ubuntu focal InRelease [255 kB] Get:2 http://ftpmaster.internal/ubuntu focal/main ppc64el Packages [934 kB] Get:3 http://ftpmaster.internal/ubuntu focal/main Translation-en [499 kB] Get:4 http://ftpmaster.internal/ubuntu focal/restricted ppc64el Packages [1288 B] Get:5 http://ftpmaster.internal/ubuntu focal/restricted Translation-en [5768 B] Get:6 http://ftpmaster.internal/ubuntu focal/universe ppc64el Packages [8446 kB] Get:7 http://ftpmaster.internal/ubuntu focal/universe Translation-en [5195 kB] Get:8 http://ftpmaster.internal/ubuntu focal/multiverse ppc64el Packages [127 kB] Get:9 http://ftpmaster.internal/ubuntu focal/multiverse Translation-en [110 kB] Fetched 15.6 MB in 4s (4302 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... Calculating upgrade... The following packages were automatically installed and are no longer required: libhogweed4 libisl21 libnettle6 libperl5.28 perl-modules-5.28 Use 'sudo apt autoremove' to remove them. The following NEW packages will be installed: libhogweed5 libisl22 libnettle7 libperl5.30 perl-modules-5.30 The following packages will be upgraded: apt base-files base-passwd bash binutils binutils-common binutils-powerpc64le-linux-gnu bsdutils bzip2 cpp-9 debianutils fdisk g++-9 gcc-9 gcc-9-base gpg gpg-agent gpgconf gpgv gzip hostname libacl1 libapparmor1 libapt-pkg5.90 libasan5 libatomic1 libattr1 libaudit-common libaudit1 libbinutils libblkid1 libbz2-1.0 libc-bin libc-dev-bin libc6 libc6-dev libcap-ng0 libcap2 libcc1-0 libcryptsetup12 libdebconfclient0 libdevmapper1.02.1 libfdisk1 libgcc-9-dev libgcc1 libgcrypt20 libgnutls30 libgomp1 libitm1 libjson-c4 libkmod2 liblockfile-bin liblockfile1 liblsan0 liblz4-1 libmount1 libncurses6 libncursesw6 libp11-kit0 libpam-modules libpam-modules-bin libpam-runtime libpam0g libpcre2-8-0 libquadmath0 libseccomp2 libselinux1 libsemanage-common libsemanage1 libsepol1 libsmartcols1 libsqlite3-0 libstdc++-9-dev libstdc++6 libsystemd0 libtasn1-6 libtinfo6 libtsan0 libubsan1 libudev1 libuuid1 libzstd1 linux-libc-dev lsb-base mount ncurses-base ncurses-bin perl perl-base sensible-utils systemd systemd-sysv sysvinit-utils util-linux 94 upgraded, 5 newly installed, 0 to remove and 0 not upgraded. Need to get 71.4 MB of archives. After this operation, 53.6 MB of additional disk space will be used. Get:1 http://ftpmaster.internal/ubuntu focal/main ppc64el libc6-dev ppc64el 2.30-0ubuntu3 [2556 kB] Get:2 http://ftpmaster.internal/ubuntu focal/main ppc64el libc-dev-bin ppc64el 2.30-0ubuntu3 [72.8 kB] Get:3 http://ftpmaster.internal/ubuntu focal/main ppc64el linux-libc-dev ppc64el 5.3.0-24.26 [1091 kB] Get:4 http://ftpmaster.internal/ubuntu focal/main ppc64el libisl22 ppc64el 0.22-2 [691 kB] Get:5 http://ftpmaster.internal/ubuntu focal/main ppc64el libcc1-0 ppc64el 9.2.1-21ubuntu1 [52.8 kB] Get:6 http://ftpmaster.internal/ubuntu focal/main ppc64el binutils-powerpc64le-linux-gnu ppc64el 2.33.1-6ubuntu3 [1789 kB] Get:7 http://ftpmaster.internal/ubuntu focal/main ppc64el libbinutils ppc64el 2.33.1-6ubuntu3 [510 kB] Get:8 http://ftpmaster.internal/ubuntu focal/main ppc64el binutils-common ppc64el 2.33.1-6ubuntu3 [203 kB] Get:9 http://ftpmaster.internal/ubuntu focal/main ppc64el binutils ppc64el 2.33.1-6ubuntu3 [3404 B] Get:10 http://ftpmaster.internal/ubuntu focal/main ppc64el gcc-9-base ppc64el 9.2.1-21ubuntu1 [19.1 kB] Get:11 http://ftpmaster.internal/ubuntu focal/main ppc64el libgcc1 ppc64el 1:9.2.1-21ubuntu1 [29.6 kB] Get:12 http://ftpmaster.internal/ubuntu focal/main ppc64el libgomp1 ppc64el 9.2.1-21ubuntu1 [92.4 kB] Get:13 http://ftpmaster.internal/ubuntu focal/main ppc64el libitm1 ppc64el 9.2.1-21ubuntu1 [29.5 kB] Get:14 http://ftpmaster.internal/ubuntu focal/main ppc64el libatomic1 ppc64el 9.2.1-21ubuntu1 [9940 B] Get:15 http://ftpmaster.internal/ubuntu focal/main ppc64el libasan5 ppc64el 9.2.1-21ubuntu1 [408 kB] Get:16 http://ftpmaster.internal/ubuntu focal/main ppc64el liblsan0 ppc64el 9.2.1-21ubuntu1 [148 kB] Get:17 http://ftpmaster.internal/ubuntu focal/main ppc64el libtsan0 ppc64el 9.2.1-21ubuntu1 [305 kB] Get:18 http://ftpmaster.internal/ubuntu focal/main ppc64el libubsan1 ppc64el 9.2.1-21ubuntu1 [140 kB] Get:19 http://ftpmaster.internal/ubuntu focal/main ppc64el libquadmath0 ppc64el 9.2.1-21ubuntu1 [149 kB] Get:20 http://ftpmaster.internal/ubuntu focal/main ppc64el g++-9 ppc64el 9.2.1-21ubuntu1 [11.2 MB] Get:21 http://ftpmaster.internal/ubuntu focal/main ppc64el libstdc++-9-dev ppc64el 9.2.1-21ubuntu1 [1746 kB] Get:22 http://ftpmaster.internal/ubuntu focal/main ppc64el libgcc-9-dev ppc64el 9.2.1-21ubuntu1 [1264 kB] Get:23 http://ftpmaster.internal/ubuntu focal/main ppc64el gcc-9 ppc64el 9.2.1-21ubuntu1 [10.4 MB] Get:24 http://ftpmaster.internal/ubuntu focal/main ppc64el cpp-9 ppc64el 9.2.1-21ubuntu1 [9806 kB] Get:25 http://ftpmaster.internal/ubuntu focal/main ppc64el libstdc++6 ppc64el 9.2.1-21ubuntu1 [543 kB] Get:26 http://ftpmaster.internal/ubuntu focal/main ppc64el libc6 ppc64el 2.30-0ubuntu3 [2700 kB] Get:27 http://ftpmaster.internal/ubuntu focal/main ppc64el base-files ppc64el 11ubuntu2 [60.3 kB] Get:28 http://ftpmaster.internal/ubuntu focal/main ppc64el debianutils ppc64el 4.9.1 [86.6 kB] Get:29 http://ftpmaster.internal/ubuntu focal/main ppc64el bash ppc64el 5.0-5ubuntu1 [716 kB] Get:30 http://ftpmaster.internal/ubuntu focal/main ppc64el bsdutils ppc64el 1:2.34-0.1ubuntu4 [67.9 kB] Get:31 http://ftpmaster.internal/ubuntu focal/main ppc64el gzip ppc64el 1.10-0ubuntu4 [104 kB] Get:32 http://ftpmaster.internal/ubuntu focal/main ppc64el hostname ppc64el 3.23 [11.8 kB] Get:33 http://ftpmaster.internal/ubuntu focal/main ppc64el ncurses-bin ppc64el 6.1+20191019-1ubuntu1 [179 kB] Get:34 http://ftpmaster.internal/ubuntu focal/main ppc64el perl-modules-5.30 all 5.30.0-9 [2739 kB] Get:35 http://ftpmaster.internal/ubuntu focal/main ppc64el libperl5.30 ppc64el 5.30.0-9 [3914 kB] Get:36 http://ftpmaster.internal/ubuntu focal/main ppc64el perl ppc64el 5.30.0-9 [224 kB] Get:37 http://ftpmaster.internal/ubuntu focal/main ppc64el perl-base ppc64el 5.30.0-9 [1494 kB] Get:38 http://ftpmaster.internal/ubuntu focal/main ppc64el bzip2 ppc64el 1.0.8-2 [36.9 kB] Get:39 http://ftpmaster.internal/ubuntu focal/main ppc64el libbz2-1.0 ppc64el 1.0.8-2 [43.3 kB] Get:40 http://ftpmaster.internal/ubuntu focal/main ppc64el libblkid1 ppc64el 2.34-0.1ubuntu4 [158 kB] Get:41 http://ftpmaster.internal/ubuntu focal/main ppc64el libuuid1 ppc64el 2.34-0.1ubuntu4 [21.8 kB] Get:42 http://ftpmaster.internal/ubuntu focal/main ppc64el libfdisk1 ppc64el 2.34-0.1ubuntu4 [193 kB] Get:43 http://ftpmaster.internal/ubuntu focal/main ppc64el libpcre2-8-0 ppc64el 10.34-7 [203 kB] Get:44 http://ftpmaster.internal/ubuntu focal/main ppc64el libselinux1 ppc64el 3.0-1 [81.1 kB] Get:45 http://ftpmaster.internal/ubuntu focal/main ppc64el libmount1 ppc64el 2.34-0.1ubuntu4 [170 kB] Get:46 http://ftpmaster.internal/ubuntu focal/main ppc64el libncurses6 ppc64el 6.1+20191019-1ubuntu1 [120 kB] Get:47 http://ftpmaster.internal/ubuntu focal/main ppc64el libtinfo6 ppc64el 6.1+20191019-1ubuntu1 [101 kB] Get:48 http://ftpmaster.internal/ubuntu focal/main ppc64el libncursesw6 ppc64el 6.1+20191019-1ubuntu1 [152 kB] Get:49 http://ftpmaster.internal/ubuntu focal/main ppc64el libsmartcols1 ppc64el 2.34-0.1ubuntu4 [113 kB] Get:50 http://ftpmaster.internal/ubuntu focal/main ppc64el fdisk ppc64el 2.34-0.1ubuntu4 [128 kB] Get:51 http://ftpmaster.internal/ubuntu focal/main ppc64el util-linux ppc64el 2.34-0.1ubuntu4 [1066 kB] Get:52 http://ftpmaster.internal/ubuntu focal/main ppc64el libdebconfclient0 ppc64el 0.250ubuntu2 [6260 B] Get:53 http://ftpmaster.internal/ubuntu focal/main ppc64el base-passwd ppc64el 3.5.47 [50.2 kB] Get:54 http://ftpmaster.internal/ubuntu focal/main ppc64el libc-bin ppc64el 2.30-0ubuntu3 [626 kB] Get:55 http://ftpmaster.internal/ubuntu focal/main ppc64el ncurses-base all 6.1+20191019-1ubuntu1 [17.9 kB] Get:56 http://ftpmaster.internal/ubuntu focal/main ppc64el lsb-base all 11.1.0ubuntu2 [12.1 kB] Get:57 http://ftpmaster.internal/ubuntu focal/main ppc64el sysvinit-utils ppc64el 2.96-1ubuntu1 [23.0 kB] Get:58 http://ftpmaster.internal/ubuntu focal/main ppc64el liblz4-1 ppc64el 1.9.2-2 [62.0 kB] Get:59 http://ftpmaster.internal/ubuntu focal/main ppc64el systemd-sysv ppc64el 244-3ubuntu1 [9368 B] Get:60 http://ftpmaster.internal/ubuntu focal/main ppc64el libacl1 ppc64el 2.2.53-5ubuntu1 [20.3 kB] Get:61 http://ftpmaster.internal/ubuntu focal/main ppc64el libapparmor1 ppc64el 2.13.3-7ubuntu1 [38.0 kB] Get:62 http://ftpmaster.internal/ubuntu focal/main ppc64el libaudit-common all 1:2.8.5-2ubuntu5 [4076 B] Get:63 http://ftpmaster.internal/ubuntu focal/main ppc64el libcap-ng0 ppc64el 0.7.9-2.1 [11.7 kB] Get:64 http://ftpmaster.internal/ubuntu focal/main ppc64el libaudit1 ppc64el 1:2.8.5-2ubuntu5 [42.7 kB] Get:65 http://ftpmaster.internal/ubuntu focal/main ppc64el libcap2 ppc64el 1:2.27-1 [15.2 kB] Get:66 http://ftpmaster.internal/ubuntu focal/main ppc64el libudev1 ppc64el 244-3ubuntu1 [88.9 kB] Get:67 http://ftpmaster.internal/ubuntu focal/main ppc64el libdevmapper1.02.1 ppc64el 2:1.02.155-2ubuntu7 [153 kB] Get:68 http://ftpmaster.internal/ubuntu focal/main ppc64el libjson-c4 ppc64el 0.13.1+dfsg-6 [33.1 kB] Get:69 http://ftpmaster.internal/ubuntu focal/main ppc64el libcryptsetup12 ppc64el 2:2.2.2-1ubuntu1 [213 kB] Get:70 http://ftpmaster.internal/ubuntu focal/main ppc64el libnettle7 ppc64el 3.5.1+really3.5.1-2 [145 kB] Get:71 http://ftpmaster.internal/ubuntu focal/main ppc64el libhogweed5 ppc64el 3.5.1+really3.5.1-2 [140 kB] Get:72 http://ftpmaster.internal/ubuntu focal/main ppc64el libp11-kit0 ppc64el 0.23.18.1-2 [199 kB] Get:73 http://ftpmaster.internal/ubuntu focal/main ppc64el libtasn1-6 ppc64el 4.15.0-2 [44.7 kB] Get:74 http://ftpmaster.internal/ubuntu focal/main ppc64el libgnutls30 ppc64el 3.6.11.1-2 [774 kB] Get:75 http://ftpmaster.internal/ubuntu focal/main ppc64el libkmod2 ppc64el 26-3ubuntu1 [50.1 kB] Get:76 http://ftpmaster.internal/ubuntu focal/main ppc64el libpam0g ppc64el 1.3.1-5ubuntu4 [60.8 kB] Get:77 http://ftpmaster.internal/ubuntu focal/main ppc64el libseccomp2 ppc64el 2.4.2-2ubuntu1 [50.0 kB] Get:78 http://ftpmaster.internal/ubuntu focal/main ppc64el mount ppc64el 2.34-0.1ubuntu4 [122 kB] Get:79 http://ftpmaster.internal/ubuntu focal/main ppc64el systemd ppc64el 244-3ubuntu1 [4405 kB] Get:80 http://ftpmaster.internal/ubuntu focal/main ppc64el libsystemd0 ppc64el 244-3ubuntu1 [300 kB] Get:81 http://ftpmaster.internal/ubuntu focal/main ppc64el libzstd1 ppc64el 1.4.4+dfsg-1 [298 kB] Get:82 http://ftpmaster.internal/ubuntu focal/main ppc64el libapt-pkg5.90 ppc64el 1.9.5 [916 kB] Get:83 http://ftpmaster.internal/ubuntu focal/main ppc64el libgcrypt20 ppc64el 1.8.5-3ubuntu1 [439 kB] Get:84 http://ftpmaster.internal/ubuntu focal/main ppc64el gpgv ppc64el 2.2.17-3ubuntu1 [232 kB] Get:85 http://ftpmaster.internal/ubuntu focal/main ppc64el apt ppc64el 1.9.5 [1310 kB] Get:86 http://ftpmaster.internal/ubuntu focal/main ppc64el libpam-modules-bin ppc64el 1.3.1-5ubuntu4 [42.5 kB] Get:87 http://ftpmaster.internal/ubuntu focal/main ppc64el libpam-modules ppc64el 1.3.1-5ubuntu4 [282 kB] Get:88 http://ftpmaster.internal/ubuntu focal/main ppc64el libattr1 ppc64el 1:2.4.48-5 [13.6 kB] Get:89 http://ftpmaster.internal/ubuntu focal/main ppc64el libpam-runtime all 1.3.1-5ubuntu4 [37.3 kB] Get:90 http://ftpmaster.internal/ubuntu focal/main ppc64el libsepol1 ppc64el 3.0-1 [284 kB] Get:91 http://ftpmaster.internal/ubuntu focal/main ppc64el libsemanage-common all 3.0-1 [9880 B] Get:92 http://ftpmaster.internal/ubuntu focal/main ppc64el libsemanage1 ppc64el 3.0-1 [95.5 kB] Get:93 http://ftpmaster.internal/ubuntu focal/main ppc64el sensible-utils all 0.0.12+nmu1 [15.0 kB] Get:94 http://ftpmaster.internal/ubuntu focal/main ppc64el libsqlite3-0 ppc64el 3.30.1-1ubuntu1 [568 kB] Get:95 http://ftpmaster.internal/ubuntu focal/main ppc64el gpg ppc64el 2.2.17-3ubuntu1 [532 kB] Get:96 http://ftpmaster.internal/ubuntu focal/main ppc64el gpgconf ppc64el 2.2.17-3ubuntu1 [144 kB] Get:97 http://ftpmaster.internal/ubuntu focal/main ppc64el gpg-agent ppc64el 2.2.17-3ubuntu1 [267 kB] Get:98 http://ftpmaster.internal/ubuntu focal/main ppc64el liblockfile-bin ppc64el 1.16-1.1 [12.1 kB] Get:99 http://ftpmaster.internal/ubuntu focal/main ppc64el liblockfile1 ppc64el 1.16-1.1 [7236 B] debconf: delaying package configuration, since apt-utils is not installed Fetched 71.4 MB in 1s (82.5 MB/s) (Reading database ... 12684 files and directories currently installed.) Preparing to unpack .../0-libc6-dev_2.30-0ubuntu3_ppc64el.deb ... Unpacking libc6-dev:ppc64el (2.30-0ubuntu3) over (2.30-0ubuntu2) ... Preparing to unpack .../1-libc-dev-bin_2.30-0ubuntu3_ppc64el.deb ... Unpacking libc-dev-bin (2.30-0ubuntu3) over (2.30-0ubuntu2) ... Preparing to unpack .../2-linux-libc-dev_5.3.0-24.26_ppc64el.deb ... Unpacking linux-libc-dev:ppc64el (5.3.0-24.26) over (5.3.0-18.19) ... Selecting previously unselected package libisl22:ppc64el. Preparing to unpack .../3-libisl22_0.22-2_ppc64el.deb ... Unpacking libisl22:ppc64el (0.22-2) ... Preparing to unpack .../4-libcc1-0_9.2.1-21ubuntu1_ppc64el.deb ... Unpacking libcc1-0:ppc64el (9.2.1-21ubuntu1) over (9.2.1-9ubuntu2) ... Preparing to unpack .../5-binutils-powerpc64le-linux-gnu_2.33.1-6ubuntu3_ppc64el.deb ... Unpacking binutils-powerpc64le-linux-gnu (2.33.1-6ubuntu3) over (2.33-2ubuntu1) ... Preparing to unpack .../6-libbinutils_2.33.1-6ubuntu3_ppc64el.deb ... Unpacking libbinutils:ppc64el (2.33.1-6ubuntu3) over (2.33-2ubuntu1) ... Preparing to unpack .../7-binutils-common_2.33.1-6ubuntu3_ppc64el.deb ... Unpacking binutils-common:ppc64el (2.33.1-6ubuntu3) over (2.33-2ubuntu1) ... Preparing to unpack .../8-binutils_2.33.1-6ubuntu3_ppc64el.deb ... Unpacking binutils (2.33.1-6ubuntu3) over (2.33-2ubuntu1) ... Preparing to unpack .../9-gcc-9-base_9.2.1-21ubuntu1_ppc64el.deb ... Unpacking gcc-9-base:ppc64el (9.2.1-21ubuntu1) over (9.2.1-9ubuntu2) ... Setting up gcc-9-base:ppc64el (9.2.1-21ubuntu1) ... (Reading database ... 12690 files and directories currently installed.) Preparing to unpack .../libgcc1_1%3a9.2.1-21ubuntu1_ppc64el.deb ... Unpacking libgcc1:ppc64el (1:9.2.1-21ubuntu1) over (1:9.2.1-9ubuntu2) ... Setting up libgcc1:ppc64el (1:9.2.1-21ubuntu1) ... (Reading database ... 12690 files and directories currently installed.) Preparing to unpack .../00-libgomp1_9.2.1-21ubuntu1_ppc64el.deb ... Unpacking libgomp1:ppc64el (9.2.1-21ubuntu1) over (9.2.1-9ubuntu2) ... Preparing to unpack .../01-libitm1_9.2.1-21ubuntu1_ppc64el.deb ... Unpacking libitm1:ppc64el (9.2.1-21ubuntu1) over (9.2.1-9ubuntu2) ... Preparing to unpack .../02-libatomic1_9.2.1-21ubuntu1_ppc64el.deb ... Unpacking libatomic1:ppc64el (9.2.1-21ubuntu1) over (9.2.1-9ubuntu2) ... Preparing to unpack .../03-libasan5_9.2.1-21ubuntu1_ppc64el.deb ... Unpacking libasan5:ppc64el (9.2.1-21ubuntu1) over (9.2.1-9ubuntu2) ... Preparing to unpack .../04-liblsan0_9.2.1-21ubuntu1_ppc64el.deb ... Unpacking liblsan0:ppc64el (9.2.1-21ubuntu1) over (9.2.1-9ubuntu2) ... Preparing to unpack .../05-libtsan0_9.2.1-21ubuntu1_ppc64el.deb ... Unpacking libtsan0:ppc64el (9.2.1-21ubuntu1) over (9.2.1-9ubuntu2) ... Preparing to unpack .../06-libubsan1_9.2.1-21ubuntu1_ppc64el.deb ... Unpacking libubsan1:ppc64el (9.2.1-21ubuntu1) over (9.2.1-9ubuntu2) ... Preparing to unpack .../07-libquadmath0_9.2.1-21ubuntu1_ppc64el.deb ... Unpacking libquadmath0:ppc64el (9.2.1-21ubuntu1) over (9.2.1-9ubuntu2) ... Preparing to unpack .../08-g++-9_9.2.1-21ubuntu1_ppc64el.deb ... Unpacking g++-9 (9.2.1-21ubuntu1) over (9.2.1-9ubuntu2) ... Preparing to unpack .../09-libstdc++-9-dev_9.2.1-21ubuntu1_ppc64el.deb ... Unpacking libstdc++-9-dev:ppc64el (9.2.1-21ubuntu1) over (9.2.1-9ubuntu2) ... Preparing to unpack .../10-libgcc-9-dev_9.2.1-21ubuntu1_ppc64el.deb ... Unpacking libgcc-9-dev:ppc64el (9.2.1-21ubuntu1) over (9.2.1-9ubuntu2) ... Preparing to unpack .../11-gcc-9_9.2.1-21ubuntu1_ppc64el.deb ... Unpacking gcc-9 (9.2.1-21ubuntu1) over (9.2.1-9ubuntu2) ... Preparing to unpack .../12-cpp-9_9.2.1-21ubuntu1_ppc64el.deb ... Unpacking cpp-9 (9.2.1-21ubuntu1) over (9.2.1-9ubuntu2) ... Preparing to unpack .../13-libstdc++6_9.2.1-21ubuntu1_ppc64el.deb ... Unpacking libstdc++6:ppc64el (9.2.1-21ubuntu1) over (9.2.1-9ubuntu2) ... Setting up libstdc++6:ppc64el (9.2.1-21ubuntu1) ... (Reading database ... 12690 files and directories currently installed.) Preparing to unpack .../libc6_2.30-0ubuntu3_ppc64el.deb ... Unpacking libc6:ppc64el (2.30-0ubuntu3) over (2.30-0ubuntu2) ... Setting up libc6:ppc64el (2.30-0ubuntu3) ... (Reading database ... 12690 files and directories currently installed.) Preparing to unpack .../base-files_11ubuntu2_ppc64el.deb ... Unpacking base-files (11ubuntu2) over (10.2ubuntu7) ... Setting up base-files (11ubuntu2) ... Installing new version of config file /etc/debian_version ... Installing new version of config file /etc/issue ... Installing new version of config file /etc/issue.net ... Installing new version of config file /etc/lsb-release ... Installing new version of config file /etc/update-motd.d/50-motd-news ... Updating /root/.profile to current default. (Reading database ... 12690 files and directories currently installed.) Preparing to unpack .../debianutils_4.9.1_ppc64el.deb ... Unpacking debianutils (4.9.1) over (4.8.6.3) ... Setting up debianutils (4.9.1) ... (Reading database ... 12690 files and directories currently installed.) Preparing to unpack .../bash_5.0-5ubuntu1_ppc64el.deb ... Unpacking bash (5.0-5ubuntu1) over (5.0-4ubuntu1) ... Setting up bash (5.0-5ubuntu1) ... update-alternatives: using /usr/share/man/man7/bash-builtins.7.gz to provide /usr/share/man/man7/builtins.7.gz (builtins.7.gz) in auto mode (Reading database ... 12690 files and directories currently installed.) Preparing to unpack .../bsdutils_1%3a2.34-0.1ubuntu4_ppc64el.deb ... Unpacking bsdutils (1:2.34-0.1ubuntu4) over (1:2.34-0.1ubuntu2) ... Setting up bsdutils (1:2.34-0.1ubuntu4) ... (Reading database ... 12690 files and directories currently installed.) Preparing to unpack .../gzip_1.10-0ubuntu4_ppc64el.deb ... Unpacking gzip (1.10-0ubuntu4) over (1.10-0ubuntu3) ... Setting up gzip (1.10-0ubuntu4) ... (Reading database ... 12690 files and directories currently installed.) Preparing to unpack .../hostname_3.23_ppc64el.deb ... Unpacking hostname (3.23) over (3.22) ... Setting up hostname (3.23) ... (Reading database ... 12690 files and directories currently installed.) Preparing to unpack .../ncurses-bin_6.1+20191019-1ubuntu1_ppc64el.deb ... Unpacking ncurses-bin (6.1+20191019-1ubuntu1) over (6.1+20190803-1ubuntu1) ... Setting up ncurses-bin (6.1+20191019-1ubuntu1) ... (Reading database ... 12690 files and directories currently installed.) Preparing to unpack .../perl_5.30.0-9_ppc64el.deb ... Unpacking perl (5.30.0-9) over (5.28.1-6build1) ... Replacing files in old package perl-base (5.28.1-6build1) ... Selecting previously unselected package perl-modules-5.30. Preparing to unpack .../perl-modules-5.30_5.30.0-9_all.deb ... Unpacking perl-modules-5.30 (5.30.0-9) ... Selecting previously unselected package libperl5.30:ppc64el. Preparing to unpack .../libperl5.30_5.30.0-9_ppc64el.deb ... Unpacking libperl5.30:ppc64el (5.30.0-9) ... Preparing to unpack .../perl-base_5.30.0-9_ppc64el.deb ... Unpacking perl-base (5.30.0-9) over (5.28.1-6build1) ... Setting up perl-base (5.30.0-9) ... (Reading database ... 14594 files and directories currently installed.) Preparing to unpack .../bzip2_1.0.8-2_ppc64el.deb ... Unpacking bzip2 (1.0.8-2) over (1.0.6-9.2) ... Preparing to unpack .../libbz2-1.0_1.0.8-2_ppc64el.deb ... Unpacking libbz2-1.0:ppc64el (1.0.8-2) over (1.0.6-9.2) ... Setting up libbz2-1.0:ppc64el (1.0.8-2) ... (Reading database ... 14594 files and directories currently installed.) Preparing to unpack .../libblkid1_2.34-0.1ubuntu4_ppc64el.deb ... Unpacking libblkid1:ppc64el (2.34-0.1ubuntu4) over (2.34-0.1ubuntu2) ... Setting up libblkid1:ppc64el (2.34-0.1ubuntu4) ... (Reading database ... 14594 files and directories currently installed.) Preparing to unpack .../libuuid1_2.34-0.1ubuntu4_ppc64el.deb ... Unpacking libuuid1:ppc64el (2.34-0.1ubuntu4) over (2.34-0.1ubuntu2) ... Setting up libuuid1:ppc64el (2.34-0.1ubuntu4) ... (Reading database ... 14594 files and directories currently installed.) Preparing to unpack .../libfdisk1_2.34-0.1ubuntu4_ppc64el.deb ... Unpacking libfdisk1:ppc64el (2.34-0.1ubuntu4) over (2.34-0.1ubuntu2) ... Setting up libfdisk1:ppc64el (2.34-0.1ubuntu4) ... (Reading database ... 14594 files and directories currently installed.) Preparing to unpack .../libpcre2-8-0_10.34-7_ppc64el.deb ... Unpacking libpcre2-8-0:ppc64el (10.34-7) over (10.32-5) ... Setting up libpcre2-8-0:ppc64el (10.34-7) ... (Reading database ... 14594 files and directories currently installed.) Preparing to unpack .../libselinux1_3.0-1_ppc64el.deb ... Unpacking libselinux1:ppc64el (3.0-1) over (2.9-2) ... Setting up libselinux1:ppc64el (3.0-1) ... (Reading database ... 14594 files and directories currently installed.) Preparing to unpack .../libmount1_2.34-0.1ubuntu4_ppc64el.deb ... Unpacking libmount1:ppc64el (2.34-0.1ubuntu4) over (2.34-0.1ubuntu2) ... Setting up libmount1:ppc64el (2.34-0.1ubuntu4) ... (Reading database ... 14594 files and directories currently installed.) Preparing to unpack .../libncurses6_6.1+20191019-1ubuntu1_ppc64el.deb ... Unpacking libncurses6:ppc64el (6.1+20191019-1ubuntu1) over (6.1+20190803-1ubuntu1) ... Preparing to unpack .../libtinfo6_6.1+20191019-1ubuntu1_ppc64el.deb ... Unpacking libtinfo6:ppc64el (6.1+20191019-1ubuntu1) over (6.1+20190803-1ubuntu1) ... Setting up libtinfo6:ppc64el (6.1+20191019-1ubuntu1) ... (Reading database ... 14594 files and directories currently installed.) Preparing to unpack .../libncursesw6_6.1+20191019-1ubuntu1_ppc64el.deb ... Unpacking libncursesw6:ppc64el (6.1+20191019-1ubuntu1) over (6.1+20190803-1ubuntu1) ... Setting up libncursesw6:ppc64el (6.1+20191019-1ubuntu1) ... (Reading database ... 14594 files and directories currently installed.) Preparing to unpack .../libsmartcols1_2.34-0.1ubuntu4_ppc64el.deb ... Unpacking libsmartcols1:ppc64el (2.34-0.1ubuntu4) over (2.34-0.1ubuntu2) ... Setting up libsmartcols1:ppc64el (2.34-0.1ubuntu4) ... (Reading database ... 14594 files and directories currently installed.) Preparing to unpack .../fdisk_2.34-0.1ubuntu4_ppc64el.deb ... Unpacking fdisk (2.34-0.1ubuntu4) over (2.34-0.1ubuntu2) ... Setting up fdisk (2.34-0.1ubuntu4) ... (Reading database ... 14594 files and directories currently installed.) Preparing to unpack .../util-linux_2.34-0.1ubuntu4_ppc64el.deb ... Unpacking util-linux (2.34-0.1ubuntu4) over (2.34-0.1ubuntu2) ... Setting up util-linux (2.34-0.1ubuntu4) ... (Reading database ... 14594 files and directories currently installed.) Preparing to unpack .../libdebconfclient0_0.250ubuntu2_ppc64el.deb ... Unpacking libdebconfclient0:ppc64el (0.250ubuntu2) over (0.249ubuntu1) ... Setting up libdebconfclient0:ppc64el (0.250ubuntu2) ... (Reading database ... 14594 files and directories currently installed.) Preparing to unpack .../base-passwd_3.5.47_ppc64el.deb ... Unpacking base-passwd (3.5.47) over (3.5.46) ... Setting up base-passwd (3.5.47) ... (Reading database ... 14594 files and directories currently installed.) Preparing to unpack .../libc-bin_2.30-0ubuntu3_ppc64el.deb ... Unpacking libc-bin (2.30-0ubuntu3) over (2.30-0ubuntu2) ... Setting up libc-bin (2.30-0ubuntu3) ... (Reading database ... 14594 files and directories currently installed.) Preparing to unpack .../ncurses-base_6.1+20191019-1ubuntu1_all.deb ... Unpacking ncurses-base (6.1+20191019-1ubuntu1) over (6.1+20190803-1ubuntu1) ... Setting up ncurses-base (6.1+20191019-1ubuntu1) ... (Reading database ... 14594 files and directories currently installed.) Preparing to unpack .../lsb-base_11.1.0ubuntu2_all.deb ... Unpacking lsb-base (11.1.0ubuntu2) over (11.0.1ubuntu1) ... Setting up lsb-base (11.1.0ubuntu2) ... (Reading database ... 14593 files and directories currently installed.) Preparing to unpack .../sysvinit-utils_2.96-1ubuntu1_ppc64el.deb ... Unpacking sysvinit-utils (2.96-1ubuntu1) over (2.95-5ubuntu2) ... Setting up sysvinit-utils (2.96-1ubuntu1) ... (Reading database ... 14593 files and directories currently installed.) Preparing to unpack .../liblz4-1_1.9.2-2_ppc64el.deb ... Unpacking liblz4-1:ppc64el (1.9.2-2) over (1.9.1-1) ... Setting up liblz4-1:ppc64el (1.9.2-2) ... (Reading database ... 14593 files and directories currently installed.) Preparing to unpack .../systemd-sysv_244-3ubuntu1_ppc64el.deb ... Unpacking systemd-sysv (244-3ubuntu1) over (242-7ubuntu3) ... Preparing to unpack .../libacl1_2.2.53-5ubuntu1_ppc64el.deb ... Unpacking libacl1:ppc64el (2.2.53-5ubuntu1) over (2.2.53-4) ... Setting up libacl1:ppc64el (2.2.53-5ubuntu1) ... (Reading database ... 14593 files and directories currently installed.) Preparing to unpack .../libapparmor1_2.13.3-7ubuntu1_ppc64el.deb ... Unpacking libapparmor1:ppc64el (2.13.3-7ubuntu1) over (2.13.3-5ubuntu1) ... Preparing to unpack .../libaudit-common_1%3a2.8.5-2ubuntu5_all.deb ... Unpacking libaudit-common (1:2.8.5-2ubuntu5) over (1:2.8.5-2ubuntu1) ... Setting up libaudit-common (1:2.8.5-2ubuntu5) ... (Reading database ... 14593 files and directories currently installed.) Preparing to unpack .../libcap-ng0_0.7.9-2.1_ppc64el.deb ... Unpacking libcap-ng0:ppc64el (0.7.9-2.1) over (0.7.9-2) ... Setting up libcap-ng0:ppc64el (0.7.9-2.1) ... (Reading database ... 14593 files and directories currently installed.) Preparing to unpack .../libaudit1_1%3a2.8.5-2ubuntu5_ppc64el.deb ... Unpacking libaudit1:ppc64el (1:2.8.5-2ubuntu5) over (1:2.8.5-2ubuntu1) ... Setting up libaudit1:ppc64el (1:2.8.5-2ubuntu5) ... (Reading database ... 14593 files and directories currently installed.) Preparing to unpack .../libcap2_1%3a2.27-1_ppc64el.deb ... Unpacking libcap2:ppc64el (1:2.27-1) over (1:2.25-2) ... Preparing to unpack .../libudev1_244-3ubuntu1_ppc64el.deb ... Unpacking libudev1:ppc64el (244-3ubuntu1) over (242-7ubuntu3) ... Setting up libudev1:ppc64el (244-3ubuntu1) ... (Reading database ... 14593 files and directories currently installed.) Preparing to unpack .../libdevmapper1.02.1_2%3a1.02.155-2ubuntu7_ppc64el.deb ... Unpacking libdevmapper1.02.1:ppc64el (2:1.02.155-2ubuntu7) over (2:1.02.155-2ubuntu6) ... Preparing to unpack .../libjson-c4_0.13.1+dfsg-6_ppc64el.deb ... Unpacking libjson-c4:ppc64el (0.13.1+dfsg-6) over (0.13.1+dfsg-4) ... Preparing to unpack .../libcryptsetup12_2%3a2.2.2-1ubuntu1_ppc64el.deb ... Unpacking libcryptsetup12:ppc64el (2:2.2.2-1ubuntu1) over (2:2.2.0-3ubuntu1) ... Selecting previously unselected package libnettle7:ppc64el. Preparing to unpack .../libnettle7_3.5.1+really3.5.1-2_ppc64el.deb ... Unpacking libnettle7:ppc64el (3.5.1+really3.5.1-2) ... Setting up libnettle7:ppc64el (3.5.1+really3.5.1-2) ... Selecting previously unselected package libhogweed5:ppc64el. (Reading database ... 14600 files and directories currently installed.) Preparing to unpack .../libhogweed5_3.5.1+really3.5.1-2_ppc64el.deb ... Unpacking libhogweed5:ppc64el (3.5.1+really3.5.1-2) ... Setting up libhogweed5:ppc64el (3.5.1+really3.5.1-2) ... (Reading database ... 14603 files and directories currently installed.) Preparing to unpack .../libp11-kit0_0.23.18.1-2_ppc64el.deb ... Unpacking libp11-kit0:ppc64el (0.23.18.1-2) over (0.23.17-2) ... Setting up libp11-kit0:ppc64el (0.23.18.1-2) ... (Reading database ... 14603 files and directories currently installed.) Preparing to unpack .../libtasn1-6_4.15.0-2_ppc64el.deb ... Unpacking libtasn1-6:ppc64el (4.15.0-2) over (4.14-3) ... Setting up libtasn1-6:ppc64el (4.15.0-2) ... (Reading database ... 14603 files and directories currently installed.) Preparing to unpack .../libgnutls30_3.6.11.1-2_ppc64el.deb ... Unpacking libgnutls30:ppc64el (3.6.11.1-2) over (3.6.9-5ubuntu1) ... Setting up libgnutls30:ppc64el (3.6.11.1-2) ... (Reading database ... 14602 files and directories currently installed.) Preparing to unpack .../libkmod2_26-3ubuntu1_ppc64el.deb ... Unpacking libkmod2:ppc64el (26-3ubuntu1) over (26-1ubuntu1) ... Preparing to unpack .../libpam0g_1.3.1-5ubuntu4_ppc64el.deb ... Unpacking libpam0g:ppc64el (1.3.1-5ubuntu4) over (1.3.1-5ubuntu1) ... Setting up libpam0g:ppc64el (1.3.1-5ubuntu4) ... (Reading database ... 14602 files and directories currently installed.) Preparing to unpack .../libseccomp2_2.4.2-2ubuntu1_ppc64el.deb ... Unpacking libseccomp2:ppc64el (2.4.2-2ubuntu1) over (2.4.1-0ubuntu0.19.10.3) ... Setting up libseccomp2:ppc64el (2.4.2-2ubuntu1) ... (Reading database ... 14602 files and directories currently installed.) Preparing to unpack .../mount_2.34-0.1ubuntu4_ppc64el.deb ... Unpacking mount (2.34-0.1ubuntu4) over (2.34-0.1ubuntu2) ... Preparing to unpack .../systemd_244-3ubuntu1_ppc64el.deb ... Unpacking systemd (244-3ubuntu1) over (242-7ubuntu3) ... Preparing to unpack .../libsystemd0_244-3ubuntu1_ppc64el.deb ... Unpacking libsystemd0:ppc64el (244-3ubuntu1) over (242-7ubuntu3) ... Setting up libsystemd0:ppc64el (244-3ubuntu1) ... (Reading database ... 14596 files and directories currently installed.) Preparing to unpack .../libzstd1_1.4.4+dfsg-1_ppc64el.deb ... Unpacking libzstd1:ppc64el (1.4.4+dfsg-1) over (1.4.3+dfsg-1) ... Setting up libzstd1:ppc64el (1.4.4+dfsg-1) ... (Reading database ... 14596 files and directories currently installed.) Preparing to unpack .../libapt-pkg5.90_1.9.5_ppc64el.deb ... Unpacking libapt-pkg5.90:ppc64el (1.9.5) over (1.9.4) ... Setting up libapt-pkg5.90:ppc64el (1.9.5) ... (Reading database ... 14596 files and directories currently installed.) Preparing to unpack .../libgcrypt20_1.8.5-3ubuntu1_ppc64el.deb ... Unpacking libgcrypt20:ppc64el (1.8.5-3ubuntu1) over (1.8.4-5ubuntu2) ... Setting up libgcrypt20:ppc64el (1.8.5-3ubuntu1) ... (Reading database ... 14596 files and directories currently installed.) Preparing to unpack .../gpgv_2.2.17-3ubuntu1_ppc64el.deb ... Unpacking gpgv (2.2.17-3ubuntu1) over (2.2.12-1ubuntu3) ... Setting up gpgv (2.2.17-3ubuntu1) ... (Reading database ... 14596 files and directories currently installed.) Preparing to unpack .../archives/apt_1.9.5_ppc64el.deb ... Unpacking apt (1.9.5) over (1.9.4) ... Setting up apt (1.9.5) ... (Reading database ... 14596 files and directories currently installed.) Preparing to unpack .../libpam-modules-bin_1.3.1-5ubuntu4_ppc64el.deb ... Unpacking libpam-modules-bin (1.3.1-5ubuntu4) over (1.3.1-5ubuntu1) ... Setting up libpam-modules-bin (1.3.1-5ubuntu4) ... (Reading database ... 14596 files and directories currently installed.) Preparing to unpack .../libpam-modules_1.3.1-5ubuntu4_ppc64el.deb ... Unpacking libpam-modules:ppc64el (1.3.1-5ubuntu4) over (1.3.1-5ubuntu1) ... Setting up libpam-modules:ppc64el (1.3.1-5ubuntu4) ... (Reading database ... 14596 files and directories currently installed.) Preparing to unpack .../libattr1_1%3a2.4.48-5_ppc64el.deb ... Unpacking libattr1:ppc64el (1:2.4.48-5) over (1:2.4.48-4) ... Setting up libattr1:ppc64el (1:2.4.48-5) ... (Reading database ... 14596 files and directories currently installed.) Preparing to unpack .../libpam-runtime_1.3.1-5ubuntu4_all.deb ... Unpacking libpam-runtime (1.3.1-5ubuntu4) over (1.3.1-5ubuntu1) ... Setting up libpam-runtime (1.3.1-5ubuntu4) ... (Reading database ... 14596 files and directories currently installed.) Preparing to unpack .../libsepol1_3.0-1_ppc64el.deb ... Unpacking libsepol1:ppc64el (3.0-1) over (2.9-2) ... Setting up libsepol1:ppc64el (3.0-1) ... (Reading database ... 14596 files and directories currently installed.) Preparing to unpack .../libsemanage-common_3.0-1_all.deb ... Unpacking libsemanage-common (3.0-1) over (2.9-3) ... Setting up libsemanage-common (3.0-1) ... (Reading database ... 14596 files and directories currently installed.) Preparing to unpack .../libsemanage1_3.0-1_ppc64el.deb ... Unpacking libsemanage1:ppc64el (3.0-1) over (2.9-3) ... Setting up libsemanage1:ppc64el (3.0-1) ... (Reading database ... 14596 files and directories currently installed.) Preparing to unpack .../0-sensible-utils_0.0.12+nmu1_all.deb ... Unpacking sensible-utils (0.0.12+nmu1) over (0.0.12) ... Preparing to unpack .../1-libsqlite3-0_3.30.1-1ubuntu1_ppc64el.deb ... Unpacking libsqlite3-0:ppc64el (3.30.1-1ubuntu1) over (3.29.0-2) ... Preparing to unpack .../2-gpg_2.2.17-3ubuntu1_ppc64el.deb ... Unpacking gpg (2.2.17-3ubuntu1) over (2.2.12-1ubuntu3) ... Preparing to unpack .../3-gpgconf_2.2.17-3ubuntu1_ppc64el.deb ... Unpacking gpgconf (2.2.17-3ubuntu1) over (2.2.12-1ubuntu3) ... Preparing to unpack .../4-gpg-agent_2.2.17-3ubuntu1_ppc64el.deb ... Unpacking gpg-agent (2.2.17-3ubuntu1) over (2.2.12-1ubuntu3) ... Preparing to unpack .../5-liblockfile-bin_1.16-1.1_ppc64el.deb ... Unpacking liblockfile-bin (1.16-1.1) over (1.15-1) ... Preparing to unpack .../6-liblockfile1_1.16-1.1_ppc64el.deb ... Unpacking liblockfile1:ppc64el (1.16-1.1) over (1.15-1) ... Setting up libapparmor1:ppc64el (2.13.3-7ubuntu1) ... Setting up liblockfile-bin (1.16-1.1) ... Setting up perl-modules-5.30 (5.30.0-9) ... Setting up libsqlite3-0:ppc64el (3.30.1-1ubuntu1) ... Setting up binutils-common:ppc64el (2.33.1-6ubuntu3) ... Setting up linux-libc-dev:ppc64el (5.3.0-24.26) ... Setting up libgomp1:ppc64el (9.2.1-21ubuntu1) ... Setting up bzip2 (1.0.8-2) ... Setting up libcap2:ppc64el (1:2.27-1) ... Setting up libasan5:ppc64el (9.2.1-21ubuntu1) ... Setting up libncurses6:ppc64el (6.1+20191019-1ubuntu1) ... Setting up libquadmath0:ppc64el (9.2.1-21ubuntu1) ... Setting up libatomic1:ppc64el (9.2.1-21ubuntu1) ... Setting up libubsan1:ppc64el (9.2.1-21ubuntu1) ... Setting up libdevmapper1.02.1:ppc64el (2:1.02.155-2ubuntu7) ... Setting up mount (2.34-0.1ubuntu4) ... Setting up sensible-utils (0.0.12+nmu1) ... Setting up gpgconf (2.2.17-3ubuntu1) ... Setting up libperl5.30:ppc64el (5.30.0-9) ... Setting up libisl22:ppc64el (0.22-2) ... Setting up liblockfile1:ppc64el (1.16-1.1) ... Setting up libjson-c4:ppc64el (0.13.1+dfsg-6) ... Setting up libbinutils:ppc64el (2.33.1-6ubuntu3) ... Setting up libc-dev-bin (2.30-0ubuntu3) ... Setting up libcc1-0:ppc64el (9.2.1-21ubuntu1) ... Setting up gpg (2.2.17-3ubuntu1) ... Setting up liblsan0:ppc64el (9.2.1-21ubuntu1) ... Setting up libitm1:ppc64el (9.2.1-21ubuntu1) ... Setting up libkmod2:ppc64el (26-3ubuntu1) ... Setting up libtsan0:ppc64el (9.2.1-21ubuntu1) ... Setting up gpg-agent (2.2.17-3ubuntu1) ... Installing new version of config file /etc/logcheck/ignore.d.server/gpg-agent ... Created symlink /etc/systemd/user/sockets.target.wants/gpg-agent-browser.socket -> /usr/lib/systemd/user/gpg-agent-browser.socket. Created symlink /etc/systemd/user/sockets.target.wants/gpg-agent-extra.socket -> /usr/lib/systemd/user/gpg-agent-extra.socket. Created symlink /etc/systemd/user/sockets.target.wants/gpg-agent-ssh.socket -> /usr/lib/systemd/user/gpg-agent-ssh.socket. Created symlink /etc/systemd/user/sockets.target.wants/gpg-agent.socket -> /usr/lib/systemd/user/gpg-agent.socket. Setting up libgcc-9-dev:ppc64el (9.2.1-21ubuntu1) ... Setting up perl (5.30.0-9) ... Setting up cpp-9 (9.2.1-21ubuntu1) ... Setting up libc6-dev:ppc64el (2.30-0ubuntu3) ... Setting up libcryptsetup12:ppc64el (2:2.2.2-1ubuntu1) ... Setting up binutils-powerpc64le-linux-gnu (2.33.1-6ubuntu3) ... Setting up libstdc++-9-dev:ppc64el (9.2.1-21ubuntu1) ... Setting up systemd (244-3ubuntu1) ... Installing new version of config file /etc/dhcp/dhclient-enter-hooks.d/resolved ... Installing new version of config file /etc/systemd/networkd.conf ... Installing new version of config file /etc/systemd/system.conf ... Installing new version of config file /etc/systemd/user.conf ... Initializing machine ID from random generator. Setting up binutils (2.33.1-6ubuntu3) ... Setting up gcc-9 (9.2.1-21ubuntu1) ... Setting up systemd-sysv (244-3ubuntu1) ... Setting up g++-9 (9.2.1-21ubuntu1) ... Processing triggers for libc-bin (2.30-0ubuntu3) ... RUN: /usr/share/launchpad-buildd/bin/sbuild-package PACKAGEBUILD-18296707 ppc64el focal -c chroot:build-PACKAGEBUILD-18296707 --arch=ppc64el --dist=focal --nolog genshi_0.7.1-5.dsc Initiating build PACKAGEBUILD-18296707 with 4 jobs across 4 processor cores. Kernel reported to sbuild: 4.4.0-170-generic #199-Ubuntu SMP Thu Nov 14 01:45:08 UTC 2019 ppc64le sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on bos02-ppc64el-009.buildd +==============================================================================+ | genshi 0.7.1-5 (ppc64el) 05 Jan 2020 10:54 | +==============================================================================+ Package: genshi Version: 0.7.1-5 Source Version: 0.7.1-5 Distribution: focal Machine Architecture: ppc64el Host Architecture: ppc64el Build Architecture: ppc64el I: NOTICE: Log filtering will replace 'build/genshi-ZoZUNe/genshi-0.7.1' with '<>' I: NOTICE: Log filtering will replace 'build/genshi-ZoZUNe' with '<>' I: NOTICE: Log filtering will replace 'home/buildd/build-PACKAGEBUILD-18296707/chroot-autobuild' with '<>' +------------------------------------------------------------------------------+ | Fetch source files | +------------------------------------------------------------------------------+ Local sources ------------- genshi_0.7.1-5.dsc exists in .; copying to chroot Check architectures ------------------- Check dependencies ------------------ Merged Build-Depends: build-essential, fakeroot Filtered Build-Depends: build-essential, fakeroot dpkg-deb: building package 'sbuild-build-depends-core-dummy' in '/<>/resolver-msvY66/apt_archive/sbuild-build-depends-core-dummy.deb'. Ign:1 copy:/<>/resolver-msvY66/apt_archive ./ InRelease Get:2 copy:/<>/resolver-msvY66/apt_archive ./ Release [2119 B] Ign:3 copy:/<>/resolver-msvY66/apt_archive ./ Release.gpg Get:4 copy:/<>/resolver-msvY66/apt_archive ./ Sources [214 B] Get:5 copy:/<>/resolver-msvY66/apt_archive ./ Packages [528 B] Fetched 2861 B in 0s (161 kB/s) Reading package lists... Reading package lists... +------------------------------------------------------------------------------+ | Install core build dependencies (apt-based resolver) | +------------------------------------------------------------------------------+ Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following packages were automatically installed and are no longer required: libhogweed4 libisl21 libnettle6 libperl5.28 perl-modules-5.28 Use 'apt autoremove' to remove them. The following NEW packages will be installed: sbuild-build-depends-core-dummy 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 856 B of archives. After this operation, 0 B of additional disk space will be used. Get:1 copy:/<>/resolver-msvY66/apt_archive ./ sbuild-build-depends-core-dummy 0.invalid.0 [856 B] debconf: delaying package configuration, since apt-utils is not installed Fetched 856 B in 0s (0 B/s) Selecting previously unselected package sbuild-build-depends-core-dummy. (Reading database ... 14596 files and directories currently installed.) Preparing to unpack .../sbuild-build-depends-core-dummy_0.invalid.0_ppc64el.deb ... Unpacking sbuild-build-depends-core-dummy (0.invalid.0) ... Setting up sbuild-build-depends-core-dummy (0.invalid.0) ... Merged Build-Depends: debhelper (>= 12), dh-python, python-all-dev (>= 2.6.6-3~), python-setuptools (>= 0.6b3), python3-all, python3-setuptools Filtered Build-Depends: debhelper (>= 12), dh-python, python-all-dev (>= 2.6.6-3~), python-setuptools (>= 0.6b3), python3-all, python3-setuptools dpkg-deb: building package 'sbuild-build-depends-genshi-dummy' in '/<>/resolver-PkhIyJ/apt_archive/sbuild-build-depends-genshi-dummy.deb'. Ign:1 copy:/<>/resolver-PkhIyJ/apt_archive ./ InRelease Get:2 copy:/<>/resolver-PkhIyJ/apt_archive ./ Release [2119 B] Ign:3 copy:/<>/resolver-PkhIyJ/apt_archive ./ Release.gpg Get:4 copy:/<>/resolver-PkhIyJ/apt_archive ./ Sources [259 B] Get:5 copy:/<>/resolver-PkhIyJ/apt_archive ./ Packages [575 B] Fetched 2953 B in 0s (220 kB/s) Reading package lists... Reading package lists... +------------------------------------------------------------------------------+ | Install genshi build dependencies (apt-based resolver) | +------------------------------------------------------------------------------+ Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following packages were automatically installed and are no longer required: libhogweed4 libisl21 libnettle6 libperl5.28 perl-modules-5.28 Use 'apt autoremove' to remove them. The following additional packages will be installed: autoconf automake autopoint autotools-dev bsdmainutils debhelper dh-autoreconf dh-python dh-strip-nondeterminism dwz file gettext gettext-base groff-base intltool-debian libarchive-zip-perl libbsd0 libcroco3 libdebhelper-perl libelf1 libexpat1 libexpat1-dev libfile-stripnondeterminism-perl libglib2.0-0 libicu63 libmagic-mgc libmagic1 libmpdec2 libpipeline1 libpython-all-dev libpython-dev libpython-stdlib libpython2-dev libpython2-stdlib libpython2.7 libpython2.7-dev libpython2.7-minimal libpython2.7-stdlib libpython3-stdlib libpython3.7-minimal libpython3.7-stdlib libpython3.8-minimal libpython3.8-stdlib libsigsegv2 libsub-override-perl libtool libuchardet0 libxml2 m4 man-db mime-support po-debconf python python-all python-all-dev python-dev python-minimal python-pkg-resources python-setuptools python2 python2-dev python2-minimal python2.7 python2.7-dev python2.7-minimal python3 python3-all python3-distutils python3-lib2to3 python3-minimal python3-pkg-resources python3-setuptools python3.7 python3.7-minimal python3.8 python3.8-minimal Suggested packages: autoconf-archive gnu-standards autoconf-doc wamerican | wordlist whois vacation dh-make gettext-doc libasprintf-dev libgettextpo-dev groff libtool-doc gfortran | fortran95-compiler gcj-jdk m4-doc apparmor less www-browser libmail-box-perl python-doc python-tk python-setuptools-doc python2-doc python2.7-doc binfmt-support python3-doc python3-tk python3-venv python3.7-venv python3.7-doc python3.8-venv python3.8-doc Recommended packages: curl | wget | lynx libarchive-cpio-perl libglib2.0-data shared-mime-info xdg-user-dirs libltdl-dev libmail-sendmail-perl The following NEW packages will be installed: autoconf automake autopoint autotools-dev bsdmainutils debhelper dh-autoreconf dh-python dh-strip-nondeterminism dwz file gettext gettext-base groff-base intltool-debian libarchive-zip-perl libbsd0 libcroco3 libdebhelper-perl libelf1 libexpat1 libexpat1-dev libfile-stripnondeterminism-perl libglib2.0-0 libicu63 libmagic-mgc libmagic1 libmpdec2 libpipeline1 libpython-all-dev libpython-dev libpython-stdlib libpython2-dev libpython2-stdlib libpython2.7 libpython2.7-dev libpython2.7-minimal libpython2.7-stdlib libpython3-stdlib libpython3.7-minimal libpython3.7-stdlib libpython3.8-minimal libpython3.8-stdlib libsigsegv2 libsub-override-perl libtool libuchardet0 libxml2 m4 man-db mime-support po-debconf python python-all python-all-dev python-dev python-minimal python-pkg-resources python-setuptools python2 python2-dev python2-minimal python2.7 python2.7-dev python2.7-minimal python3 python3-all python3-distutils python3-lib2to3 python3-minimal python3-pkg-resources python3-setuptools python3.7 python3.7-minimal python3.8 python3.8-minimal sbuild-build-depends-genshi-dummy 0 upgraded, 77 newly installed, 0 to remove and 0 not upgraded. Need to get 36.9 MB of archives. After this operation, 170 MB of additional disk space will be used. Get:1 copy:/<>/resolver-PkhIyJ/apt_archive ./ sbuild-build-depends-genshi-dummy 0.invalid.0 [900 B] Get:2 http://ftpmaster.internal/ubuntu focal/main ppc64el libpython3.7-minimal ppc64el 3.7.5-2 [549 kB] Get:3 http://ftpmaster.internal/ubuntu focal/main ppc64el libexpat1 ppc64el 2.2.9-1 [77.4 kB] Get:4 http://ftpmaster.internal/ubuntu focal/main ppc64el python3.7-minimal ppc64el 3.7.5-2 [2026 kB] Get:5 http://ftpmaster.internal/ubuntu focal/main ppc64el python3-minimal ppc64el 3.7.5-1ubuntu1 [23.3 kB] Get:6 http://ftpmaster.internal/ubuntu focal/main ppc64el mime-support all 3.64ubuntu1 [30.6 kB] Get:7 http://ftpmaster.internal/ubuntu focal/main ppc64el libmpdec2 ppc64el 2.4.2-2 [86.8 kB] Get:8 http://ftpmaster.internal/ubuntu focal/main ppc64el libpython3.7-stdlib ppc64el 3.7.5-2 [1788 kB] Get:9 http://ftpmaster.internal/ubuntu focal/main ppc64el python3.7 ppc64el 3.7.5-2 [301 kB] Get:10 http://ftpmaster.internal/ubuntu focal/main ppc64el libpython3-stdlib ppc64el 3.7.5-1ubuntu1 [6844 B] Get:11 http://ftpmaster.internal/ubuntu focal/main ppc64el python3 ppc64el 3.7.5-1ubuntu1 [47.2 kB] Get:12 http://ftpmaster.internal/ubuntu focal/main ppc64el libbsd0 ppc64el 0.10.0-1 [55.1 kB] Get:13 http://ftpmaster.internal/ubuntu focal/main ppc64el bsdmainutils ppc64el 11.1.2ubuntu2 [185 kB] Get:14 http://ftpmaster.internal/ubuntu focal/main ppc64el libuchardet0 ppc64el 0.0.6-3 [67.7 kB] Get:15 http://ftpmaster.internal/ubuntu focal/main ppc64el groff-base ppc64el 1.22.4-4 [941 kB] Get:16 http://ftpmaster.internal/ubuntu focal/main ppc64el libpipeline1 ppc64el 1.5.1-3 [28.5 kB] Get:17 http://ftpmaster.internal/ubuntu focal/main ppc64el man-db ppc64el 2.9.0-2 [1145 kB] Get:18 http://ftpmaster.internal/ubuntu focal/universe ppc64el libpython2.7-minimal ppc64el 2.7.17-1 [335 kB] Get:19 http://ftpmaster.internal/ubuntu focal/universe ppc64el python2.7-minimal ppc64el 2.7.17-1 [1448 kB] Get:20 http://ftpmaster.internal/ubuntu focal/universe ppc64el python2-minimal ppc64el 2.7.17-1 [27.8 kB] Get:21 http://ftpmaster.internal/ubuntu focal/universe ppc64el python-minimal ppc64el 2.7.17-1 [5996 B] Get:22 http://ftpmaster.internal/ubuntu focal/universe ppc64el libpython2.7-stdlib ppc64el 2.7.17-1 [1948 kB] Get:23 http://ftpmaster.internal/ubuntu focal/universe ppc64el python2.7 ppc64el 2.7.17-1 [248 kB] Get:24 http://ftpmaster.internal/ubuntu focal/universe ppc64el libpython2-stdlib ppc64el 2.7.17-1 [7400 B] Get:25 http://ftpmaster.internal/ubuntu focal/universe ppc64el libpython-stdlib ppc64el 2.7.17-1 [5836 B] Get:26 http://ftpmaster.internal/ubuntu focal/universe ppc64el python2 ppc64el 2.7.17-1 [26.5 kB] Get:27 http://ftpmaster.internal/ubuntu focal/universe ppc64el python ppc64el 2.7.17-1 [7836 B] Get:28 http://ftpmaster.internal/ubuntu focal/main ppc64el libpython3.8-minimal ppc64el 3.8.0-5 [707 kB] Get:29 http://ftpmaster.internal/ubuntu focal/main ppc64el python3.8-minimal ppc64el 3.8.0-5 [2142 kB] Get:30 http://ftpmaster.internal/ubuntu focal/main ppc64el libmagic-mgc ppc64el 1:5.37-6 [209 kB] Get:31 http://ftpmaster.internal/ubuntu focal/main ppc64el libmagic1 ppc64el 1:5.37-6 [91.9 kB] Get:32 http://ftpmaster.internal/ubuntu focal/main ppc64el file ppc64el 1:5.37-6 [24.0 kB] Get:33 http://ftpmaster.internal/ubuntu focal/main ppc64el libelf1 ppc64el 0.176-1.1 [51.6 kB] Get:34 http://ftpmaster.internal/ubuntu focal/main ppc64el libglib2.0-0 ppc64el 2.63.3-1 [1375 kB] Get:35 http://ftpmaster.internal/ubuntu focal/main ppc64el libicu63 ppc64el 63.2-2 [8505 kB] Get:36 http://ftpmaster.internal/ubuntu focal/main ppc64el libxml2 ppc64el 2.9.4+dfsg1-8ubuntu1 [680 kB] Get:37 http://ftpmaster.internal/ubuntu focal/main ppc64el python3-pkg-resources all 41.4.0-1 [100 kB] Get:38 http://ftpmaster.internal/ubuntu focal/main ppc64el gettext-base ppc64el 0.19.8.1-10 [52.7 kB] Get:39 http://ftpmaster.internal/ubuntu focal/main ppc64el libsigsegv2 ppc64el 2.12-2 [13.9 kB] Get:40 http://ftpmaster.internal/ubuntu focal/main ppc64el m4 ppc64el 1.4.18-4 [210 kB] Get:41 http://ftpmaster.internal/ubuntu focal/main ppc64el autoconf all 2.69-11ubuntu1 [321 kB] Get:42 http://ftpmaster.internal/ubuntu focal/main ppc64el autotools-dev all 20180224.1 [39.6 kB] Get:43 http://ftpmaster.internal/ubuntu focal/main ppc64el automake all 1:1.16.1-4ubuntu3 [522 kB] Get:44 http://ftpmaster.internal/ubuntu focal/main ppc64el autopoint all 0.19.8.1-10 [412 kB] Get:45 http://ftpmaster.internal/ubuntu focal/main ppc64el libtool all 2.4.6-11 [194 kB] Get:46 http://ftpmaster.internal/ubuntu focal/main ppc64el dh-autoreconf all 19 [16.1 kB] Get:47 http://ftpmaster.internal/ubuntu focal/main ppc64el libdebhelper-perl all 12.7.1ubuntu1 [52.0 kB] Get:48 http://ftpmaster.internal/ubuntu focal/main ppc64el libarchive-zip-perl all 1.67-1 [90.4 kB] Get:49 http://ftpmaster.internal/ubuntu focal/main ppc64el libsub-override-perl all 0.09-2 [9532 B] Get:50 http://ftpmaster.internal/ubuntu focal/main ppc64el libfile-stripnondeterminism-perl all 1.6.3-1 [16.0 kB] Get:51 http://ftpmaster.internal/ubuntu focal/main ppc64el dh-strip-nondeterminism all 1.6.3-1 [5224 B] Get:52 http://ftpmaster.internal/ubuntu focal/main ppc64el dwz ppc64el 0.13-5 [136 kB] Get:53 http://ftpmaster.internal/ubuntu focal/main ppc64el libcroco3 ppc64el 0.6.13-1 [92.1 kB] Get:54 http://ftpmaster.internal/ubuntu focal/main ppc64el gettext ppc64el 0.19.8.1-10 [959 kB] Get:55 http://ftpmaster.internal/ubuntu focal/main ppc64el intltool-debian all 0.35.0+20060710.5 [24.9 kB] Get:56 http://ftpmaster.internal/ubuntu focal/main ppc64el po-debconf all 1.0.21 [233 kB] Get:57 http://ftpmaster.internal/ubuntu focal/main ppc64el debhelper all 12.7.1ubuntu1 [875 kB] Get:58 http://ftpmaster.internal/ubuntu focal/main ppc64el python3-lib2to3 all 3.8.0-1 [75.6 kB] Get:59 http://ftpmaster.internal/ubuntu focal/main ppc64el python3-distutils all 3.8.0-1 [142 kB] Get:60 http://ftpmaster.internal/ubuntu focal/main ppc64el dh-python all 4.20191017ubuntu1 [88.5 kB] Get:61 http://ftpmaster.internal/ubuntu focal/main ppc64el libexpat1-dev ppc64el 2.2.9-1 [121 kB] Get:62 http://ftpmaster.internal/ubuntu focal/universe ppc64el libpython2.7 ppc64el 2.7.17-1 [1087 kB] Get:63 http://ftpmaster.internal/ubuntu focal/universe ppc64el libpython2.7-dev ppc64el 2.7.17-1 [2763 kB] Get:64 http://ftpmaster.internal/ubuntu focal/universe ppc64el libpython2-dev ppc64el 2.7.17-1 [7464 B] Get:65 http://ftpmaster.internal/ubuntu focal/universe ppc64el libpython-dev ppc64el 2.7.17-1 [5892 B] Get:66 http://ftpmaster.internal/ubuntu focal/universe ppc64el libpython-all-dev ppc64el 2.7.17-1 [1112 B] Get:67 http://ftpmaster.internal/ubuntu focal/main ppc64el libpython3.8-stdlib ppc64el 3.8.0-5 [1711 kB] Get:68 http://ftpmaster.internal/ubuntu focal/universe ppc64el python-all ppc64el 2.7.17-1 [1088 B] Get:69 http://ftpmaster.internal/ubuntu focal/universe ppc64el python2.7-dev ppc64el 2.7.17-1 [279 kB] Get:70 http://ftpmaster.internal/ubuntu focal/universe ppc64el python2-dev ppc64el 2.7.17-1 [1268 B] Get:71 http://ftpmaster.internal/ubuntu focal/universe ppc64el python-dev ppc64el 2.7.17-1 [1244 B] Get:72 http://ftpmaster.internal/ubuntu focal/universe ppc64el python-all-dev ppc64el 2.7.17-1 [1112 B] Get:73 http://ftpmaster.internal/ubuntu focal/universe ppc64el python-pkg-resources all 41.4.0-1 [129 kB] Get:74 http://ftpmaster.internal/ubuntu focal/universe ppc64el python-setuptools all 41.4.0-1 [333 kB] Get:75 http://ftpmaster.internal/ubuntu focal/main ppc64el python3.8 ppc64el 3.8.0-5 [355 kB] Get:76 http://ftpmaster.internal/ubuntu focal/main ppc64el python3-all ppc64el 3.7.5-1ubuntu1 [1124 B] Get:77 http://ftpmaster.internal/ubuntu focal/main ppc64el python3-setuptools all 41.4.0-1 [255 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 36.9 MB in 0s (77.9 MB/s) Selecting previously unselected package libpython3.7-minimal:ppc64el. (Reading database ... 14596 files and directories currently installed.) Preparing to unpack .../libpython3.7-minimal_3.7.5-2_ppc64el.deb ... Unpacking libpython3.7-minimal:ppc64el (3.7.5-2) ... Selecting previously unselected package libexpat1:ppc64el. Preparing to unpack .../libexpat1_2.2.9-1_ppc64el.deb ... Unpacking libexpat1:ppc64el (2.2.9-1) ... Selecting previously unselected package python3.7-minimal. Preparing to unpack .../python3.7-minimal_3.7.5-2_ppc64el.deb ... Unpacking python3.7-minimal (3.7.5-2) ... Setting up libpython3.7-minimal:ppc64el (3.7.5-2) ... Setting up libexpat1:ppc64el (2.2.9-1) ... Setting up python3.7-minimal (3.7.5-2) ... Selecting previously unselected package python3-minimal. (Reading database ... 14845 files and directories currently installed.) Preparing to unpack .../0-python3-minimal_3.7.5-1ubuntu1_ppc64el.deb ... Unpacking python3-minimal (3.7.5-1ubuntu1) ... Selecting previously unselected package mime-support. Preparing to unpack .../1-mime-support_3.64ubuntu1_all.deb ... Unpacking mime-support (3.64ubuntu1) ... Selecting previously unselected package libmpdec2:ppc64el. Preparing to unpack .../2-libmpdec2_2.4.2-2_ppc64el.deb ... Unpacking libmpdec2:ppc64el (2.4.2-2) ... Selecting previously unselected package libpython3.7-stdlib:ppc64el. Preparing to unpack .../3-libpython3.7-stdlib_3.7.5-2_ppc64el.deb ... Unpacking libpython3.7-stdlib:ppc64el (3.7.5-2) ... Selecting previously unselected package python3.7. Preparing to unpack .../4-python3.7_3.7.5-2_ppc64el.deb ... Unpacking python3.7 (3.7.5-2) ... Selecting previously unselected package libpython3-stdlib:ppc64el. Preparing to unpack .../5-libpython3-stdlib_3.7.5-1ubuntu1_ppc64el.deb ... Unpacking libpython3-stdlib:ppc64el (3.7.5-1ubuntu1) ... Setting up python3-minimal (3.7.5-1ubuntu1) ... Selecting previously unselected package python3. (Reading database ... 15283 files and directories currently installed.) Preparing to unpack .../00-python3_3.7.5-1ubuntu1_ppc64el.deb ... Unpacking python3 (3.7.5-1ubuntu1) ... Selecting previously unselected package libbsd0:ppc64el. Preparing to unpack .../01-libbsd0_0.10.0-1_ppc64el.deb ... Unpacking libbsd0:ppc64el (0.10.0-1) ... Selecting previously unselected package bsdmainutils. Preparing to unpack .../02-bsdmainutils_11.1.2ubuntu2_ppc64el.deb ... Unpacking bsdmainutils (11.1.2ubuntu2) ... Selecting previously unselected package libuchardet0:ppc64el. Preparing to unpack .../03-libuchardet0_0.0.6-3_ppc64el.deb ... Unpacking libuchardet0:ppc64el (0.0.6-3) ... Selecting previously unselected package groff-base. Preparing to unpack .../04-groff-base_1.22.4-4_ppc64el.deb ... Unpacking groff-base (1.22.4-4) ... Selecting previously unselected package libpipeline1:ppc64el. Preparing to unpack .../05-libpipeline1_1.5.1-3_ppc64el.deb ... Unpacking libpipeline1:ppc64el (1.5.1-3) ... Selecting previously unselected package man-db. Preparing to unpack .../06-man-db_2.9.0-2_ppc64el.deb ... Unpacking man-db (2.9.0-2) ... Selecting previously unselected package libpython2.7-minimal:ppc64el. Preparing to unpack .../07-libpython2.7-minimal_2.7.17-1_ppc64el.deb ... Unpacking libpython2.7-minimal:ppc64el (2.7.17-1) ... Selecting previously unselected package python2.7-minimal. Preparing to unpack .../08-python2.7-minimal_2.7.17-1_ppc64el.deb ... Unpacking python2.7-minimal (2.7.17-1) ... Selecting previously unselected package python2-minimal. Preparing to unpack .../09-python2-minimal_2.7.17-1_ppc64el.deb ... Unpacking python2-minimal (2.7.17-1) ... Selecting previously unselected package python-minimal. Preparing to unpack .../10-python-minimal_2.7.17-1_ppc64el.deb ... Unpacking python-minimal (2.7.17-1) ... Selecting previously unselected package libpython2.7-stdlib:ppc64el. Preparing to unpack .../11-libpython2.7-stdlib_2.7.17-1_ppc64el.deb ... Unpacking libpython2.7-stdlib:ppc64el (2.7.17-1) ... Selecting previously unselected package python2.7. Preparing to unpack .../12-python2.7_2.7.17-1_ppc64el.deb ... Unpacking python2.7 (2.7.17-1) ... Selecting previously unselected package libpython2-stdlib:ppc64el. Preparing to unpack .../13-libpython2-stdlib_2.7.17-1_ppc64el.deb ... Unpacking libpython2-stdlib:ppc64el (2.7.17-1) ... Selecting previously unselected package libpython-stdlib:ppc64el. Preparing to unpack .../14-libpython-stdlib_2.7.17-1_ppc64el.deb ... Unpacking libpython-stdlib:ppc64el (2.7.17-1) ... Setting up libpython2.7-minimal:ppc64el (2.7.17-1) ... Setting up python2.7-minimal (2.7.17-1) ... Setting up python2-minimal (2.7.17-1) ... Selecting previously unselected package python2. (Reading database ... 16661 files and directories currently installed.) Preparing to unpack .../python2_2.7.17-1_ppc64el.deb ... Unpacking python2 (2.7.17-1) ... Setting up python-minimal (2.7.17-1) ... Selecting previously unselected package python. (Reading database ... 16693 files and directories currently installed.) Preparing to unpack .../00-python_2.7.17-1_ppc64el.deb ... Unpacking python (2.7.17-1) ... Selecting previously unselected package libpython3.8-minimal:ppc64el. Preparing to unpack .../01-libpython3.8-minimal_3.8.0-5_ppc64el.deb ... Unpacking libpython3.8-minimal:ppc64el (3.8.0-5) ... Selecting previously unselected package python3.8-minimal. Preparing to unpack .../02-python3.8-minimal_3.8.0-5_ppc64el.deb ... Unpacking python3.8-minimal (3.8.0-5) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../03-libmagic-mgc_1%3a5.37-6_ppc64el.deb ... Unpacking libmagic-mgc (1:5.37-6) ... Selecting previously unselected package libmagic1:ppc64el. Preparing to unpack .../04-libmagic1_1%3a5.37-6_ppc64el.deb ... Unpacking libmagic1:ppc64el (1:5.37-6) ... Selecting previously unselected package file. Preparing to unpack .../05-file_1%3a5.37-6_ppc64el.deb ... Unpacking file (1:5.37-6) ... Selecting previously unselected package libelf1:ppc64el. Preparing to unpack .../06-libelf1_0.176-1.1_ppc64el.deb ... Unpacking libelf1:ppc64el (0.176-1.1) ... Selecting previously unselected package libglib2.0-0:ppc64el. Preparing to unpack .../07-libglib2.0-0_2.63.3-1_ppc64el.deb ... Unpacking libglib2.0-0:ppc64el (2.63.3-1) ... Selecting previously unselected package libicu63:ppc64el. Preparing to unpack .../08-libicu63_63.2-2_ppc64el.deb ... Unpacking libicu63:ppc64el (63.2-2) ... Selecting previously unselected package libxml2:ppc64el. Preparing to unpack .../09-libxml2_2.9.4+dfsg1-8ubuntu1_ppc64el.deb ... Unpacking libxml2:ppc64el (2.9.4+dfsg1-8ubuntu1) ... Selecting previously unselected package python3-pkg-resources. Preparing to unpack .../10-python3-pkg-resources_41.4.0-1_all.deb ... Unpacking python3-pkg-resources (41.4.0-1) ... Selecting previously unselected package gettext-base. Preparing to unpack .../11-gettext-base_0.19.8.1-10_ppc64el.deb ... Unpacking gettext-base (0.19.8.1-10) ... Selecting previously unselected package libsigsegv2:ppc64el. Preparing to unpack .../12-libsigsegv2_2.12-2_ppc64el.deb ... Unpacking libsigsegv2:ppc64el (2.12-2) ... Selecting previously unselected package m4. Preparing to unpack .../13-m4_1.4.18-4_ppc64el.deb ... Unpacking m4 (1.4.18-4) ... Selecting previously unselected package autoconf. Preparing to unpack .../14-autoconf_2.69-11ubuntu1_all.deb ... Unpacking autoconf (2.69-11ubuntu1) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../15-autotools-dev_20180224.1_all.deb ... Unpacking autotools-dev (20180224.1) ... Selecting previously unselected package automake. Preparing to unpack .../16-automake_1%3a1.16.1-4ubuntu3_all.deb ... Unpacking automake (1:1.16.1-4ubuntu3) ... Selecting previously unselected package autopoint. Preparing to unpack .../17-autopoint_0.19.8.1-10_all.deb ... Unpacking autopoint (0.19.8.1-10) ... Selecting previously unselected package libtool. Preparing to unpack .../18-libtool_2.4.6-11_all.deb ... Unpacking libtool (2.4.6-11) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../19-dh-autoreconf_19_all.deb ... Unpacking dh-autoreconf (19) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../20-libdebhelper-perl_12.7.1ubuntu1_all.deb ... Unpacking libdebhelper-perl (12.7.1ubuntu1) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../21-libarchive-zip-perl_1.67-1_all.deb ... Unpacking libarchive-zip-perl (1.67-1) ... Selecting previously unselected package libsub-override-perl. Preparing to unpack .../22-libsub-override-perl_0.09-2_all.deb ... Unpacking libsub-override-perl (0.09-2) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../23-libfile-stripnondeterminism-perl_1.6.3-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.6.3-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../24-dh-strip-nondeterminism_1.6.3-1_all.deb ... Unpacking dh-strip-nondeterminism (1.6.3-1) ... Selecting previously unselected package dwz. Preparing to unpack .../25-dwz_0.13-5_ppc64el.deb ... Unpacking dwz (0.13-5) ... Selecting previously unselected package libcroco3:ppc64el. Preparing to unpack .../26-libcroco3_0.6.13-1_ppc64el.deb ... Unpacking libcroco3:ppc64el (0.6.13-1) ... Selecting previously unselected package gettext. Preparing to unpack .../27-gettext_0.19.8.1-10_ppc64el.deb ... Unpacking gettext (0.19.8.1-10) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../28-intltool-debian_0.35.0+20060710.5_all.deb ... Unpacking intltool-debian (0.35.0+20060710.5) ... Selecting previously unselected package po-debconf. Preparing to unpack .../29-po-debconf_1.0.21_all.deb ... Unpacking po-debconf (1.0.21) ... Selecting previously unselected package debhelper. Preparing to unpack .../30-debhelper_12.7.1ubuntu1_all.deb ... Unpacking debhelper (12.7.1ubuntu1) ... Selecting previously unselected package python3-lib2to3. Preparing to unpack .../31-python3-lib2to3_3.8.0-1_all.deb ... Unpacking python3-lib2to3 (3.8.0-1) ... Selecting previously unselected package python3-distutils. Preparing to unpack .../32-python3-distutils_3.8.0-1_all.deb ... Unpacking python3-distutils (3.8.0-1) ... Selecting previously unselected package dh-python. Preparing to unpack .../33-dh-python_4.20191017ubuntu1_all.deb ... Unpacking dh-python (4.20191017ubuntu1) ... Selecting previously unselected package libexpat1-dev:ppc64el. Preparing to unpack .../34-libexpat1-dev_2.2.9-1_ppc64el.deb ... Unpacking libexpat1-dev:ppc64el (2.2.9-1) ... Selecting previously unselected package libpython2.7:ppc64el. Preparing to unpack .../35-libpython2.7_2.7.17-1_ppc64el.deb ... Unpacking libpython2.7:ppc64el (2.7.17-1) ... Selecting previously unselected package libpython2.7-dev:ppc64el. Preparing to unpack .../36-libpython2.7-dev_2.7.17-1_ppc64el.deb ... Unpacking libpython2.7-dev:ppc64el (2.7.17-1) ... Selecting previously unselected package libpython2-dev:ppc64el. Preparing to unpack .../37-libpython2-dev_2.7.17-1_ppc64el.deb ... Unpacking libpython2-dev:ppc64el (2.7.17-1) ... Selecting previously unselected package libpython-dev:ppc64el. Preparing to unpack .../38-libpython-dev_2.7.17-1_ppc64el.deb ... Unpacking libpython-dev:ppc64el (2.7.17-1) ... Selecting previously unselected package libpython-all-dev:ppc64el. Preparing to unpack .../39-libpython-all-dev_2.7.17-1_ppc64el.deb ... Unpacking libpython-all-dev:ppc64el (2.7.17-1) ... Selecting previously unselected package libpython3.8-stdlib:ppc64el. Preparing to unpack .../40-libpython3.8-stdlib_3.8.0-5_ppc64el.deb ... Unpacking libpython3.8-stdlib:ppc64el (3.8.0-5) ... Selecting previously unselected package python-all. Preparing to unpack .../41-python-all_2.7.17-1_ppc64el.deb ... Unpacking python-all (2.7.17-1) ... Selecting previously unselected package python2.7-dev. Preparing to unpack .../42-python2.7-dev_2.7.17-1_ppc64el.deb ... Unpacking python2.7-dev (2.7.17-1) ... Selecting previously unselected package python2-dev. Preparing to unpack .../43-python2-dev_2.7.17-1_ppc64el.deb ... Unpacking python2-dev (2.7.17-1) ... Selecting previously unselected package python-dev. Preparing to unpack .../44-python-dev_2.7.17-1_ppc64el.deb ... Unpacking python-dev (2.7.17-1) ... Selecting previously unselected package python-all-dev. Preparing to unpack .../45-python-all-dev_2.7.17-1_ppc64el.deb ... Unpacking python-all-dev (2.7.17-1) ... Selecting previously unselected package python-pkg-resources. Preparing to unpack .../46-python-pkg-resources_41.4.0-1_all.deb ... Unpacking python-pkg-resources (41.4.0-1) ... Selecting previously unselected package python-setuptools. Preparing to unpack .../47-python-setuptools_41.4.0-1_all.deb ... Unpacking python-setuptools (41.4.0-1) ... Selecting previously unselected package python3.8. Preparing to unpack .../48-python3.8_3.8.0-5_ppc64el.deb ... Unpacking python3.8 (3.8.0-5) ... Selecting previously unselected package python3-all. Preparing to unpack .../49-python3-all_3.7.5-1ubuntu1_ppc64el.deb ... Unpacking python3-all (3.7.5-1ubuntu1) ... Selecting previously unselected package python3-setuptools. Preparing to unpack .../50-python3-setuptools_41.4.0-1_all.deb ... Unpacking python3-setuptools (41.4.0-1) ... Selecting previously unselected package sbuild-build-depends-genshi-dummy. Preparing to unpack .../51-sbuild-build-depends-genshi-dummy_0.invalid.0_ppc64el.deb ... Unpacking sbuild-build-depends-genshi-dummy (0.invalid.0) ... Setting up libpipeline1:ppc64el (1.5.1-3) ... Setting up libpython3.8-minimal:ppc64el (3.8.0-5) ... Setting up mime-support (3.64ubuntu1) ... Setting up libmagic-mgc (1:5.37-6) ... Setting up libarchive-zip-perl (1.67-1) ... Setting up libglib2.0-0:ppc64el (2.63.3-1) ... No schema files found: doing nothing. Setting up libdebhelper-perl (12.7.1ubuntu1) ... Setting up libmagic1:ppc64el (1:5.37-6) ... Setting up gettext-base (0.19.8.1-10) ... Setting up file (1:5.37-6) ... Setting up libicu63:ppc64el (63.2-2) ... Setting up libpython2.7-stdlib:ppc64el (2.7.17-1) ... Setting up autotools-dev (20180224.1) ... Setting up libexpat1-dev:ppc64el (2.2.9-1) ... Setting up libsigsegv2:ppc64el (2.12-2) ... Setting up autopoint (0.19.8.1-10) ... Setting up python3.8-minimal (3.8.0-5) ... Setting up libuchardet0:ppc64el (0.0.6-3) ... Setting up libsub-override-perl (0.09-2) ... Setting up libmpdec2:ppc64el (2.4.2-2) ... Setting up libpython3.8-stdlib:ppc64el (3.8.0-5) ... Setting up python3.8 (3.8.0-5) ... Setting up libbsd0:ppc64el (0.10.0-1) ... Setting up libelf1:ppc64el (0.176-1.1) ... Setting up libxml2:ppc64el (2.9.4+dfsg1-8ubuntu1) ... Setting up libfile-stripnondeterminism-perl (1.6.3-1) ... Setting up libpython3.7-stdlib:ppc64el (3.7.5-2) ... Setting up libpython2.7:ppc64el (2.7.17-1) ... Setting up libpython2.7-dev:ppc64el (2.7.17-1) ... Setting up python2.7 (2.7.17-1) ... Setting up libtool (2.4.6-11) ... Setting up libpython2-stdlib:ppc64el (2.7.17-1) ... Setting up m4 (1.4.18-4) ... Setting up python2 (2.7.17-1) ... Setting up libpython-stdlib:ppc64el (2.7.17-1) ... Setting up bsdmainutils (11.1.2ubuntu2) ... update-alternatives: using /usr/bin/bsd-write to provide /usr/bin/write (write) in auto mode update-alternatives: using /usr/bin/bsd-from to provide /usr/bin/from (from) in auto mode Setting up libcroco3:ppc64el (0.6.13-1) ... Setting up autoconf (2.69-11ubuntu1) ... Setting up dh-strip-nondeterminism (1.6.3-1) ... Setting up dwz (0.13-5) ... Setting up groff-base (1.22.4-4) ... Setting up libpython2-dev:ppc64el (2.7.17-1) ... Setting up python (2.7.17-1) ... Setting up libpython3-stdlib:ppc64el (3.7.5-1ubuntu1) ... Setting up python2.7-dev (2.7.17-1) ... Setting up automake (1:1.16.1-4ubuntu3) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up python3.7 (3.7.5-2) ... Setting up gettext (0.19.8.1-10) ... Setting up python2-dev (2.7.17-1) ... Setting up python-pkg-resources (41.4.0-1) ... Setting up python3 (3.7.5-1ubuntu1) ... Setting up python-all (2.7.17-1) ... Setting up man-db (2.9.0-2) ... Not building database; man-db/auto-update is not 'true'. Created symlink /etc/systemd/system/timers.target.wants/man-db.timer → /lib/systemd/system/man-db.timer. Setting up intltool-debian (0.35.0+20060710.5) ... Setting up libpython-dev:ppc64el (2.7.17-1) ... Setting up python-setuptools (41.4.0-1) ... Setting up python3-lib2to3 (3.8.0-1) ... Setting up python-dev (2.7.17-1) ... Setting up python3-pkg-resources (41.4.0-1) ... Setting up python3-distutils (3.8.0-1) ... Setting up dh-python (4.20191017ubuntu1) ... Setting up python3-setuptools (41.4.0-1) ... Setting up libpython-all-dev:ppc64el (2.7.17-1) ... Setting up po-debconf (1.0.21) ... Setting up python3-all (3.7.5-1ubuntu1) ... Setting up python-all-dev (2.7.17-1) ... Setting up dh-autoreconf (19) ... Setting up debhelper (12.7.1ubuntu1) ... Setting up sbuild-build-depends-genshi-dummy (0.invalid.0) ... Processing triggers for libc-bin (2.30-0ubuntu3) ... +------------------------------------------------------------------------------+ | Build environment | +------------------------------------------------------------------------------+ Kernel: Linux 4.4.0-170-generic ppc64el (ppc64le) Toolchain package versions: binutils_2.33.1-6ubuntu3 dpkg-dev_1.19.7ubuntu2 g++-9_9.2.1-21ubuntu1 gcc-9_9.2.1-21ubuntu1 libc6-dev_2.30-0ubuntu3 libstdc++-9-dev_9.2.1-21ubuntu1 libstdc++6_9.2.1-21ubuntu1 linux-libc-dev_5.3.0-24.26 Package versions: adduser_3.118ubuntu1 advancecomp_2.1-2.1 apt_1.9.5 autoconf_2.69-11ubuntu1 automake_1:1.16.1-4ubuntu3 autopoint_0.19.8.1-10 autotools-dev_20180224.1 base-files_11ubuntu2 base-passwd_3.5.47 bash_5.0-5ubuntu1 binutils_2.33.1-6ubuntu3 binutils-common_2.33.1-6ubuntu3 binutils-powerpc64le-linux-gnu_2.33.1-6ubuntu3 bsdmainutils_11.1.2ubuntu2 bsdutils_1:2.34-0.1ubuntu4 build-essential_12.8ubuntu1 bzip2_1.0.8-2 ca-certificates_20190110 coreutils_8.30-3ubuntu2 cpp_4:9.2.1-3.1ubuntu1 cpp-9_9.2.1-21ubuntu1 dash_0.5.10.2-6 debconf_1.5.73 debhelper_12.7.1ubuntu1 debianutils_4.9.1 dh-autoreconf_19 dh-python_4.20191017ubuntu1 dh-strip-nondeterminism_1.6.3-1 diffutils_1:3.7-3 dpkg_1.19.7ubuntu2 dpkg-dev_1.19.7ubuntu2 dwz_0.13-5 e2fsprogs_1.45.3-4ubuntu2 fakeroot_1.24-1 fdisk_2.34-0.1ubuntu4 file_1:5.37-6 findutils_4.6.0+git+20190209-2ubuntu1 g++_4:9.2.1-3.1ubuntu1 g++-9_9.2.1-21ubuntu1 gcc_4:9.2.1-3.1ubuntu1 gcc-9_9.2.1-21ubuntu1 gcc-9-base_9.2.1-21ubuntu1 gettext_0.19.8.1-10 gettext-base_0.19.8.1-10 gpg_2.2.17-3ubuntu1 gpg-agent_2.2.17-3ubuntu1 gpgconf_2.2.17-3ubuntu1 gpgv_2.2.17-3ubuntu1 grep_3.3-1build1 groff-base_1.22.4-4 gzip_1.10-0ubuntu4 hostname_3.23 init_1.57 init-system-helpers_1.57 intltool-debian_0.35.0+20060710.5 libacl1_2.2.53-5ubuntu1 libapparmor1_2.13.3-7ubuntu1 libapt-pkg5.90_1.9.5 libarchive-zip-perl_1.67-1 libargon2-1_0~20171227-0.2 libasan5_9.2.1-21ubuntu1 libassuan0_2.5.3-7ubuntu1 libatomic1_9.2.1-21ubuntu1 libattr1_1:2.4.48-5 libaudit-common_1:2.8.5-2ubuntu5 libaudit1_1:2.8.5-2ubuntu5 libbinutils_2.33.1-6ubuntu3 libblkid1_2.34-0.1ubuntu4 libbsd0_0.10.0-1 libbz2-1.0_1.0.8-2 libc-bin_2.30-0ubuntu3 libc-dev-bin_2.30-0ubuntu3 libc6_2.30-0ubuntu3 libc6-dev_2.30-0ubuntu3 libcap-ng0_0.7.9-2.1 libcap2_1:2.27-1 libcc1-0_9.2.1-21ubuntu1 libcom-err2_1.45.3-4ubuntu2 libcroco3_0.6.13-1 libcryptsetup12_2:2.2.2-1ubuntu1 libdb5.3_5.3.28+dfsg1-0.6ubuntu1 libdebconfclient0_0.250ubuntu2 libdebhelper-perl_12.7.1ubuntu1 libdevmapper1.02.1_2:1.02.155-2ubuntu7 libdpkg-perl_1.19.7ubuntu2 libelf1_0.176-1.1 libexpat1_2.2.9-1 libexpat1-dev_2.2.9-1 libext2fs2_1.45.3-4ubuntu2 libfakeroot_1.24-1 libfdisk1_2.34-0.1ubuntu4 libffi6_3.2.1-9 libfile-stripnondeterminism-perl_1.6.3-1 libgcc-9-dev_9.2.1-21ubuntu1 libgcc1_1:9.2.1-21ubuntu1 libgcrypt20_1.8.5-3ubuntu1 libgdbm-compat4_1.18.1-5 libgdbm6_1.18.1-5 libglib2.0-0_2.63.3-1 libgmp10_2:6.1.2+dfsg-4 libgnutls30_3.6.11.1-2 libgomp1_9.2.1-21ubuntu1 libgpg-error0_1.36-7 libhogweed4_3.4.1-1 libhogweed5_3.5.1+really3.5.1-2 libicu63_63.2-2 libidn2-0_2.2.0-2 libip4tc2_1.8.3-2ubuntu5 libisl21_0.21-2 libisl22_0.22-2 libitm1_9.2.1-21ubuntu1 libjson-c4_0.13.1+dfsg-6 libkmod2_26-3ubuntu1 liblockfile-bin_1.16-1.1 liblockfile1_1.16-1.1 liblsan0_9.2.1-21ubuntu1 liblz4-1_1.9.2-2 liblzma5_5.2.4-1 libmagic-mgc_1:5.37-6 libmagic1_1:5.37-6 libmount1_2.34-0.1ubuntu4 libmpc3_1.1.0-1 libmpdec2_2.4.2-2 libmpfr6_4.0.2-1 libncurses6_6.1+20191019-1ubuntu1 libncursesw6_6.1+20191019-1ubuntu1 libnettle6_3.4.1-1 libnettle7_3.5.1+really3.5.1-2 libnpth0_1.6-1 libp11-kit0_0.23.18.1-2 libpam-modules_1.3.1-5ubuntu4 libpam-modules-bin_1.3.1-5ubuntu4 libpam-runtime_1.3.1-5ubuntu4 libpam0g_1.3.1-5ubuntu4 libpcre2-8-0_10.34-7 libpcre3_2:8.39-12 libperl5.28_5.28.1-6build1 libperl5.30_5.30.0-9 libpipeline1_1.5.1-3 libpng16-16_1.6.37-1 libprocps7_2:3.3.15-2ubuntu3 libpython-all-dev_2.7.17-1 libpython-dev_2.7.17-1 libpython-stdlib_2.7.17-1 libpython2-dev_2.7.17-1 libpython2-stdlib_2.7.17-1 libpython2.7_2.7.17-1 libpython2.7-dev_2.7.17-1 libpython2.7-minimal_2.7.17-1 libpython2.7-stdlib_2.7.17-1 libpython3-stdlib_3.7.5-1ubuntu1 libpython3.7-minimal_3.7.5-2 libpython3.7-stdlib_3.7.5-2 libpython3.8-minimal_3.8.0-5 libpython3.8-stdlib_3.8.0-5 libquadmath0_9.2.1-21ubuntu1 libreadline8_8.0-3 libseccomp2_2.4.2-2ubuntu1 libselinux1_3.0-1 libsemanage-common_3.0-1 libsemanage1_3.0-1 libsepol1_3.0-1 libsigsegv2_2.12-2 libsmartcols1_2.34-0.1ubuntu4 libsqlite3-0_3.30.1-1ubuntu1 libss2_1.45.3-4ubuntu2 libssl1.1_1.1.1c-1ubuntu4 libstdc++-9-dev_9.2.1-21ubuntu1 libstdc++6_9.2.1-21ubuntu1 libsub-override-perl_0.09-2 libsystemd0_244-3ubuntu1 libtasn1-6_4.15.0-2 libtinfo6_6.1+20191019-1ubuntu1 libtool_2.4.6-11 libtsan0_9.2.1-21ubuntu1 libubsan1_9.2.1-21ubuntu1 libuchardet0_0.0.6-3 libudev1_244-3ubuntu1 libunistring2_0.9.10-2 libuuid1_2.34-0.1ubuntu4 libxml2_2.9.4+dfsg1-8ubuntu1 libzstd1_1.4.4+dfsg-1 linux-libc-dev_5.3.0-24.26 lockfile-progs_0.1.18 login_1:4.5-1.1ubuntu4 logsave_1.45.3-4ubuntu2 lsb-base_11.1.0ubuntu2 m4_1.4.18-4 make_4.2.1-1.2 man-db_2.9.0-2 mawk_1.3.3-17ubuntu3 mime-support_3.64ubuntu1 mount_2.34-0.1ubuntu4 ncurses-base_6.1+20191019-1ubuntu1 ncurses-bin_6.1+20191019-1ubuntu1 openssl_1.1.1c-1ubuntu4 optipng_0.7.7-1 passwd_1:4.5-1.1ubuntu4 patch_2.7.6-6 perl_5.30.0-9 perl-base_5.30.0-9 perl-modules-5.28_5.28.1-6build1 perl-modules-5.30_5.30.0-9 pinentry-curses_1.1.0-3 pkgbinarymangler_144 po-debconf_1.0.21 policyrcd-script-zg2_0.1-3 procps_2:3.3.15-2ubuntu3 python_2.7.17-1 python-all_2.7.17-1 python-all-dev_2.7.17-1 python-dev_2.7.17-1 python-minimal_2.7.17-1 python-pkg-resources_41.4.0-1 python-setuptools_41.4.0-1 python2_2.7.17-1 python2-dev_2.7.17-1 python2-minimal_2.7.17-1 python2.7_2.7.17-1 python2.7-dev_2.7.17-1 python2.7-minimal_2.7.17-1 python3_3.7.5-1ubuntu1 python3-all_3.7.5-1ubuntu1 python3-distutils_3.8.0-1 python3-lib2to3_3.8.0-1 python3-minimal_3.7.5-1ubuntu1 python3-pkg-resources_41.4.0-1 python3-setuptools_41.4.0-1 python3.7_3.7.5-2 python3.7-minimal_3.7.5-2 python3.8_3.8.0-5 python3.8-minimal_3.8.0-5 readline-common_8.0-3 sbuild-build-depends-core-dummy_0.invalid.0 sbuild-build-depends-genshi-dummy_0.invalid.0 sed_4.7-1 sensible-utils_0.0.12+nmu1 systemd_244-3ubuntu1 systemd-sysv_244-3ubuntu1 sysvinit-utils_2.96-1ubuntu1 tar_1.30+dfsg-6 tzdata_2019c-3 ubuntu-keyring_2018.09.18.1 util-linux_2.34-0.1ubuntu4 xz-utils_5.2.4-1 zlib1g_1:1.2.11.dfsg-1ubuntu3 +------------------------------------------------------------------------------+ | Build | +------------------------------------------------------------------------------+ Unpack source ------------- gpgv: Signature made Sun Feb 17 11:06:35 2019 UTC gpgv: using RSA key E8E043456AB0F34E7951B288F004ACE4F0131ECF gpgv: issuer "hpfn@debian.org" gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./genshi_0.7.1-5.dsc dpkg-source: info: extracting genshi in genshi-0.7.1 dpkg-source: info: unpacking genshi_0.7.1.orig.tar.gz dpkg-source: info: unpacking genshi_0.7.1-5.debian.tar.xz Check disc space ---------------- Sufficient free space for build User Environment ---------------- APT_CONFIG=/var/lib/sbuild/apt.conf DEB_BUILD_OPTIONS=noautodbgsym parallel=4 HOME=/sbuild-nonexistent LANG=C.UTF-8 LC_ALL=C.UTF-8 LOGNAME=buildd PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games SCHROOT_ALIAS_NAME=build-PACKAGEBUILD-18296707 SCHROOT_CHROOT_NAME=build-PACKAGEBUILD-18296707 SCHROOT_COMMAND=env SCHROOT_GID=2501 SCHROOT_GROUP=buildd SCHROOT_SESSION_ID=build-PACKAGEBUILD-18296707 SCHROOT_UID=2001 SCHROOT_USER=buildd SHELL=/bin/sh TERM=unknown USER=buildd V=1 dpkg-buildpackage ----------------- dpkg-buildpackage: info: source package genshi dpkg-buildpackage: info: source version 0.7.1-5 dpkg-buildpackage: info: source distribution unstable dpkg-source --before-build . dpkg-buildpackage: info: host architecture ppc64el fakeroot debian/rules clean dh clean --with python2,python3 --buildsystem=pybuild dh_auto_clean -O--buildsystem=pybuild I: pybuild base:217: python2.7 setup.py clean setup.py:76: DistDeprecationWarning: Features are deprecated and will be removed in a future version. See https://github.com/pypa/setuptools/issues/65. Extension('genshi._speedups', ['genshi/_speedups.c']), /usr/lib/python2.7/distutils/core.py:111: DistDeprecationWarning: Features are deprecated and will be removed in a future version. See https://github.com/pypa/setuptools/issues/65. _setup_distribution = dist = klass(attrs) running clean removing '/<>/.pybuild/cpython2_2.7_genshi/build' (and everything under it) 'build/bdist.linux-ppc64el' does not exist -- can't clean it 'build/scripts-2.7' does not exist -- can't clean it I: pybuild base:217: python3.8 setup.py clean running clean removing '/<>/.pybuild/cpython3_3.8_genshi/build' (and everything under it) setup.py:72: DistDeprecationWarning: Features are deprecated and will be removed in a future version. See https://github.com/pypa/setuptools/issues/65. speedups = Feature( /usr/lib/python3.8/distutils/core.py:108: DistDeprecationWarning: Features are deprecated and will be removed in a future version. See https://github.com/pypa/setuptools/issues/65. _setup_distribution = dist = klass(attrs) 'build/bdist.linux-ppc64el' does not exist -- can't clean it 'build/scripts-3.8' does not exist -- can't clean it I: pybuild base:217: python3.7 setup.py clean running clean removing '/<>/.pybuild/cpython3_3.7_genshi/build' (and everything under it) setup.py:76: DistDeprecationWarning: Features are deprecated and will be removed in a future version. See https://github.com/pypa/setuptools/issues/65. Extension('genshi._speedups', ['genshi/_speedups.c']), /usr/lib/python3.7/distutils/core.py:108: DistDeprecationWarning: Features are deprecated and will be removed in a future version. See https://github.com/pypa/setuptools/issues/65. _setup_distribution = dist = klass(attrs) 'build/bdist.linux-ppc64el' does not exist -- can't clean it 'build/scripts-3.7' does not exist -- can't clean it dh_autoreconf_clean -O--buildsystem=pybuild debian/rules override_dh_clean make[1]: Entering directory '/<>' dh_clean -O--buildsystem=pybuild rm -f genshi/_speedups.so rm -fr Genshi.egg-info/ make[1]: Leaving directory '/<>' debian/rules build-arch dh build-arch --with python2,python3 --buildsystem=pybuild dh_update_autotools_config -a -O--buildsystem=pybuild dh_autoreconf -a -O--buildsystem=pybuild dh_auto_configure -a -O--buildsystem=pybuild I: pybuild base:217: python2.7 setup.py config setup.py:76: DistDeprecationWarning: Features are deprecated and will be removed in a future version. See https://github.com/pypa/setuptools/issues/65. Extension('genshi._speedups', ['genshi/_speedups.c']), /usr/lib/python2.7/distutils/core.py:111: DistDeprecationWarning: Features are deprecated and will be removed in a future version. See https://github.com/pypa/setuptools/issues/65. _setup_distribution = dist = klass(attrs) running config I: pybuild base:217: python3.8 setup.py config running config setup.py:72: DistDeprecationWarning: Features are deprecated and will be removed in a future version. See https://github.com/pypa/setuptools/issues/65. speedups = Feature( /usr/lib/python3.8/distutils/core.py:108: DistDeprecationWarning: Features are deprecated and will be removed in a future version. See https://github.com/pypa/setuptools/issues/65. _setup_distribution = dist = klass(attrs) I: pybuild base:217: python3.7 setup.py config running config setup.py:76: DistDeprecationWarning: Features are deprecated and will be removed in a future version. See https://github.com/pypa/setuptools/issues/65. Extension('genshi._speedups', ['genshi/_speedups.c']), /usr/lib/python3.7/distutils/core.py:108: DistDeprecationWarning: Features are deprecated and will be removed in a future version. See https://github.com/pypa/setuptools/issues/65. _setup_distribution = dist = klass(attrs) dh_auto_build -a -O--buildsystem=pybuild I: pybuild base:217: /usr/bin/python2 setup.py build setup.py:76: DistDeprecationWarning: Features are deprecated and will be removed in a future version. See https://github.com/pypa/setuptools/issues/65. Extension('genshi._speedups', ['genshi/_speedups.c']), /usr/lib/python2.7/distutils/core.py:111: DistDeprecationWarning: Features are deprecated and will be removed in a future version. See https://github.com/pypa/setuptools/issues/65. _setup_distribution = dist = klass(attrs) running build running build_py creating /<>/.pybuild/cpython2_2.7_genshi/build/genshi copying genshi/__init__.py -> /<>/.pybuild/cpython2_2.7_genshi/build/genshi copying genshi/path.py -> /<>/.pybuild/cpython2_2.7_genshi/build/genshi copying genshi/compat.py -> /<>/.pybuild/cpython2_2.7_genshi/build/genshi copying genshi/builder.py -> /<>/.pybuild/cpython2_2.7_genshi/build/genshi copying genshi/input.py -> /<>/.pybuild/cpython2_2.7_genshi/build/genshi copying genshi/core.py -> /<>/.pybuild/cpython2_2.7_genshi/build/genshi copying genshi/util.py -> /<>/.pybuild/cpython2_2.7_genshi/build/genshi copying genshi/output.py -> /<>/.pybuild/cpython2_2.7_genshi/build/genshi creating /<>/.pybuild/cpython2_2.7_genshi/build/genshi/filters copying genshi/filters/__init__.py -> /<>/.pybuild/cpython2_2.7_genshi/build/genshi/filters copying genshi/filters/transform.py -> /<>/.pybuild/cpython2_2.7_genshi/build/genshi/filters copying genshi/filters/html.py -> /<>/.pybuild/cpython2_2.7_genshi/build/genshi/filters copying genshi/filters/i18n.py -> /<>/.pybuild/cpython2_2.7_genshi/build/genshi/filters creating /<>/.pybuild/cpython2_2.7_genshi/build/genshi/template copying genshi/template/eval.py -> /<>/.pybuild/cpython2_2.7_genshi/build/genshi/template copying genshi/template/astutil.py -> /<>/.pybuild/cpython2_2.7_genshi/build/genshi/template copying genshi/template/_ast24.py -> /<>/.pybuild/cpython2_2.7_genshi/build/genshi/template copying genshi/template/markup.py -> /<>/.pybuild/cpython2_2.7_genshi/build/genshi/template copying genshi/template/text.py -> /<>/.pybuild/cpython2_2.7_genshi/build/genshi/template copying genshi/template/ast24.py -> /<>/.pybuild/cpython2_2.7_genshi/build/genshi/template copying genshi/template/plugin.py -> /<>/.pybuild/cpython2_2.7_genshi/build/genshi/template copying genshi/template/loader.py -> /<>/.pybuild/cpython2_2.7_genshi/build/genshi/template copying genshi/template/__init__.py -> /<>/.pybuild/cpython2_2.7_genshi/build/genshi/template copying genshi/template/base.py -> /<>/.pybuild/cpython2_2.7_genshi/build/genshi/template copying genshi/template/directives.py -> /<>/.pybuild/cpython2_2.7_genshi/build/genshi/template copying genshi/template/interpolation.py -> /<>/.pybuild/cpython2_2.7_genshi/build/genshi/template creating /<>/.pybuild/cpython2_2.7_genshi/build/genshi/tests copying genshi/tests/__init__.py -> /<>/.pybuild/cpython2_2.7_genshi/build/genshi/tests copying genshi/tests/path.py -> /<>/.pybuild/cpython2_2.7_genshi/build/genshi/tests copying genshi/tests/builder.py -> /<>/.pybuild/cpython2_2.7_genshi/build/genshi/tests copying genshi/tests/input.py -> /<>/.pybuild/cpython2_2.7_genshi/build/genshi/tests copying genshi/tests/core.py -> /<>/.pybuild/cpython2_2.7_genshi/build/genshi/tests copying genshi/tests/util.py -> /<>/.pybuild/cpython2_2.7_genshi/build/genshi/tests copying genshi/tests/output.py -> /<>/.pybuild/cpython2_2.7_genshi/build/genshi/tests creating /<>/.pybuild/cpython2_2.7_genshi/build/genshi/filters/tests copying genshi/filters/tests/test_html.py -> /<>/.pybuild/cpython2_2.7_genshi/build/genshi/filters/tests copying genshi/filters/tests/__init__.py -> /<>/.pybuild/cpython2_2.7_genshi/build/genshi/filters/tests copying genshi/filters/tests/transform.py -> /<>/.pybuild/cpython2_2.7_genshi/build/genshi/filters/tests copying genshi/filters/tests/i18n.py -> /<>/.pybuild/cpython2_2.7_genshi/build/genshi/filters/tests creating /<>/.pybuild/cpython2_2.7_genshi/build/genshi/template/tests copying genshi/template/tests/eval.py -> /<>/.pybuild/cpython2_2.7_genshi/build/genshi/template/tests copying genshi/template/tests/markup.py -> /<>/.pybuild/cpython2_2.7_genshi/build/genshi/template/tests copying genshi/template/tests/text.py -> /<>/.pybuild/cpython2_2.7_genshi/build/genshi/template/tests copying genshi/template/tests/plugin.py -> /<>/.pybuild/cpython2_2.7_genshi/build/genshi/template/tests copying genshi/template/tests/loader.py -> /<>/.pybuild/cpython2_2.7_genshi/build/genshi/template/tests copying genshi/template/tests/__init__.py -> /<>/.pybuild/cpython2_2.7_genshi/build/genshi/template/tests copying genshi/template/tests/base.py -> /<>/.pybuild/cpython2_2.7_genshi/build/genshi/template/tests copying genshi/template/tests/directives.py -> /<>/.pybuild/cpython2_2.7_genshi/build/genshi/template/tests copying genshi/template/tests/interpolation.py -> /<>/.pybuild/cpython2_2.7_genshi/build/genshi/template/tests creating /<>/.pybuild/cpython2_2.7_genshi/build/genshi/template/tests/templates copying genshi/template/tests/templates/__init__.py -> /<>/.pybuild/cpython2_2.7_genshi/build/genshi/template/tests/templates running build_ext building 'genshi._speedups' extension creating build creating build/temp.linux-ppc64el-2.7 creating build/temp.linux-ppc64el-2.7/genshi powerpc64le-linux-gnu-gcc -pthread -fno-strict-aliasing -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python2.7 -c genshi/_speedups.c -o build/temp.linux-ppc64el-2.7/genshi/_speedups.o powerpc64le-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-5X2Adq/python2.7-2.7.17=. -fstack-protector-strong -Wformat -Werror=format-security -fexceptions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC build/temp.linux-ppc64el-2.7/genshi/_speedups.o -o /<>/.pybuild/cpython2_2.7_genshi/build/genshi/_speedups.so I: pybuild base:217: /usr/bin/python3.8 setup.py build running build running build_py creating /<>/.pybuild/cpython3_3.8_genshi/build/genshi copying genshi/__init__.py -> /<>/.pybuild/cpython3_3.8_genshi/build/genshi copying genshi/path.py -> /<>/.pybuild/cpython3_3.8_genshi/build/genshi copying genshi/compat.py -> /<>/.pybuild/cpython3_3.8_genshi/build/genshi copying genshi/builder.py -> /<>/.pybuild/cpython3_3.8_genshi/build/genshi copying genshi/input.py -> /<>/.pybuild/cpython3_3.8_genshi/build/genshi copying genshi/core.py -> /<>/.pybuild/cpython3_3.8_genshi/build/genshi copying genshi/util.py -> /<>/.pybuild/cpython3_3.8_genshi/build/genshi copying genshi/output.py -> /<>/.pybuild/cpython3_3.8_genshi/build/genshi creating /<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters copying genshi/filters/__init__.py -> /<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters copying genshi/filters/transform.py -> /<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters copying genshi/filters/html.py -> /<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters copying genshi/filters/i18n.py -> /<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters creating /<>/.pybuild/cpython3_3.8_genshi/build/genshi/template copying genshi/template/eval.py -> /<>/.pybuild/cpython3_3.8_genshi/build/genshi/template copying genshi/template/astutil.py -> /<>/.pybuild/cpython3_3.8_genshi/build/genshi/template copying genshi/template/_ast24.py -> /<>/.pybuild/cpython3_3.8_genshi/build/genshi/template copying genshi/template/markup.py -> /<>/.pybuild/cpython3_3.8_genshi/build/genshi/template copying genshi/template/text.py -> /<>/.pybuild/cpython3_3.8_genshi/build/genshi/template copying genshi/template/ast24.py -> /<>/.pybuild/cpython3_3.8_genshi/build/genshi/template copying genshi/template/plugin.py -> /<>/.pybuild/cpython3_3.8_genshi/build/genshi/template copying genshi/template/loader.py -> /<>/.pybuild/cpython3_3.8_genshi/build/genshi/template copying genshi/template/__init__.py -> /<>/.pybuild/cpython3_3.8_genshi/build/genshi/template copying genshi/template/base.py -> /<>/.pybuild/cpython3_3.8_genshi/build/genshi/template copying genshi/template/directives.py -> /<>/.pybuild/cpython3_3.8_genshi/build/genshi/template copying genshi/template/interpolation.py -> /<>/.pybuild/cpython3_3.8_genshi/build/genshi/template creating /<>/.pybuild/cpython3_3.8_genshi/build/genshi/tests copying genshi/tests/__init__.py -> /<>/.pybuild/cpython3_3.8_genshi/build/genshi/tests copying genshi/tests/path.py -> /<>/.pybuild/cpython3_3.8_genshi/build/genshi/tests copying genshi/tests/builder.py -> /<>/.pybuild/cpython3_3.8_genshi/build/genshi/tests copying genshi/tests/input.py -> /<>/.pybuild/cpython3_3.8_genshi/build/genshi/tests copying genshi/tests/core.py -> /<>/.pybuild/cpython3_3.8_genshi/build/genshi/tests copying genshi/tests/util.py -> /<>/.pybuild/cpython3_3.8_genshi/build/genshi/tests copying genshi/tests/output.py -> /<>/.pybuild/cpython3_3.8_genshi/build/genshi/tests creating /<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/tests copying genshi/filters/tests/test_html.py -> /<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/tests copying genshi/filters/tests/__init__.py -> /<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/tests copying genshi/filters/tests/transform.py -> /<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/tests copying genshi/filters/tests/i18n.py -> /<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/tests creating /<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests copying genshi/template/tests/eval.py -> /<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests copying genshi/template/tests/markup.py -> /<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests copying genshi/template/tests/text.py -> /<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests copying genshi/template/tests/plugin.py -> /<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests copying genshi/template/tests/loader.py -> /<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests copying genshi/template/tests/__init__.py -> /<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests copying genshi/template/tests/base.py -> /<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests copying genshi/template/tests/directives.py -> /<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests copying genshi/template/tests/interpolation.py -> /<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests creating /<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/templates copying genshi/template/tests/templates/__init__.py -> /<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/templates running egg_info creating Genshi.egg-info writing Genshi.egg-info/PKG-INFO writing dependency_links to Genshi.egg-info/dependency_links.txt writing entry points to Genshi.egg-info/entry_points.txt writing requirements to Genshi.egg-info/requires.txt writing top-level names to Genshi.egg-info/top_level.txt writing manifest file 'Genshi.egg-info/SOURCES.txt' reading manifest file 'Genshi.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' setup.py:72: DistDeprecationWarning: Features are deprecated and will be removed in a future version. See https://github.com/pypa/setuptools/issues/65. speedups = Feature( /usr/lib/python3.8/distutils/core.py:108: DistDeprecationWarning: Features are deprecated and will be removed in a future version. See https://github.com/pypa/setuptools/issues/65. _setup_distribution = dist = klass(attrs) warning: no files found matching '*.html' under directory 'doc' warning: no files found matching '*.css' under directory 'doc' warning: no files found matching '*.py' under directory 'doc' warning: no files found matching '*.ini' under directory 'doc' warning: no files found matching 'COPYING' under directory 'doc' warning: no previously-included files matching '*' found under directory 'doc/logo.lineform' warning: no previously-included files found matching 'doc/2000ft.graffle' warning: no previously-included files matching '*.pyc' found anywhere in distribution writing manifest file 'Genshi.egg-info/SOURCES.txt' copying genshi/_speedups.c -> /<>/.pybuild/cpython3_3.8_genshi/build/genshi copying genshi/template/tests/templates/functions.html -> /<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/templates copying genshi/template/tests/templates/functions.txt -> /<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/templates copying genshi/template/tests/templates/new_syntax.txt -> /<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/templates copying genshi/template/tests/templates/test.html -> /<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/templates copying genshi/template/tests/templates/test.txt -> /<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/templates copying genshi/template/tests/templates/test_no_doctype.html -> /<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/templates Fixing /<>/.pybuild/cpython3_3.8_genshi/build/genshi/__init__.py /<>/.pybuild/cpython3_3.8_genshi/build/genshi/path.py /<>/.pybuild/cpython3_3.8_genshi/build/genshi/compat.py /<>/.pybuild/cpython3_3.8_genshi/build/genshi/builder.py /<>/.pybuild/cpython3_3.8_genshi/build/genshi/input.py /<>/.pybuild/cpython3_3.8_genshi/build/genshi/core.py /<>/.pybuild/cpython3_3.8_genshi/build/genshi/util.py /<>/.pybuild/cpython3_3.8_genshi/build/genshi/output.py /<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/__init__.py /<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/transform.py /<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/html.py /<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/i18n.py /<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py /<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py /<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/_ast24.py /<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py /<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/text.py /<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/ast24.py /<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/plugin.py /<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/loader.py /<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/__init__.py /<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py /<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py /<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py /<>/.pybuild/cpython3_3.8_genshi/build/genshi/tests/__init__.py /<>/.pybuild/cpython3_3.8_genshi/build/genshi/tests/path.py /<>/.pybuild/cpython3_3.8_genshi/build/genshi/tests/builder.py /<>/.pybuild/cpython3_3.8_genshi/build/genshi/tests/input.py /<>/.pybuild/cpython3_3.8_genshi/build/genshi/tests/core.py /<>/.pybuild/cpython3_3.8_genshi/build/genshi/tests/util.py /<>/.pybuild/cpython3_3.8_genshi/build/genshi/tests/output.py /<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/tests/test_html.py /<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/tests/__init__.py /<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/tests/transform.py /<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/tests/i18n.py /<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py /<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/markup.py /<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/text.py /<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/plugin.py /<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/loader.py /<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/__init__.py /<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/base.py /<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/directives.py /<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/interpolation.py /<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/templates/__init__.py Skipping optional fixer: buffer Skipping optional fixer: idioms Skipping optional fixer: set_literal Skipping optional fixer: ws_comma Fixing /<>/.pybuild/cpython3_3.8_genshi/build/genshi/__init__.py /<>/.pybuild/cpython3_3.8_genshi/build/genshi/path.py /<>/.pybuild/cpython3_3.8_genshi/build/genshi/compat.py /<>/.pybuild/cpython3_3.8_genshi/build/genshi/builder.py /<>/.pybuild/cpython3_3.8_genshi/build/genshi/input.py /<>/.pybuild/cpython3_3.8_genshi/build/genshi/core.py /<>/.pybuild/cpython3_3.8_genshi/build/genshi/util.py /<>/.pybuild/cpython3_3.8_genshi/build/genshi/output.py /<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/__init__.py /<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/transform.py /<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/html.py /<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/i18n.py /<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py /<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py /<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/_ast24.py /<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py /<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/text.py /<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/ast24.py /<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/plugin.py /<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/loader.py /<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/__init__.py /<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py /<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py /<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py /<>/.pybuild/cpython3_3.8_genshi/build/genshi/tests/__init__.py /<>/.pybuild/cpython3_3.8_genshi/build/genshi/tests/path.py /<>/.pybuild/cpython3_3.8_genshi/build/genshi/tests/builder.py /<>/.pybuild/cpython3_3.8_genshi/build/genshi/tests/input.py /<>/.pybuild/cpython3_3.8_genshi/build/genshi/tests/core.py /<>/.pybuild/cpython3_3.8_genshi/build/genshi/tests/util.py /<>/.pybuild/cpython3_3.8_genshi/build/genshi/tests/output.py /<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/tests/test_html.py /<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/tests/__init__.py /<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/tests/transform.py /<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/tests/i18n.py /<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py /<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/markup.py /<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/text.py /<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/plugin.py /<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/loader.py /<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/__init__.py /<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/base.py /<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/directives.py /<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/interpolation.py /<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/templates/__init__.py Skipping optional fixer: buffer Skipping optional fixer: idioms Skipping optional fixer: set_literal Skipping optional fixer: ws_comma I: pybuild base:217: /usr/bin/python3 setup.py build running build running build_py creating /<>/.pybuild/cpython3_3.7_genshi/build/genshi copying genshi/__init__.py -> /<>/.pybuild/cpython3_3.7_genshi/build/genshi copying genshi/path.py -> /<>/.pybuild/cpython3_3.7_genshi/build/genshi copying genshi/compat.py -> /<>/.pybuild/cpython3_3.7_genshi/build/genshi copying genshi/builder.py -> /<>/.pybuild/cpython3_3.7_genshi/build/genshi copying genshi/input.py -> /<>/.pybuild/cpython3_3.7_genshi/build/genshi copying genshi/core.py -> /<>/.pybuild/cpython3_3.7_genshi/build/genshi copying genshi/util.py -> /<>/.pybuild/cpython3_3.7_genshi/build/genshi copying genshi/output.py -> /<>/.pybuild/cpython3_3.7_genshi/build/genshi creating /<>/.pybuild/cpython3_3.7_genshi/build/genshi/filters copying genshi/filters/__init__.py -> /<>/.pybuild/cpython3_3.7_genshi/build/genshi/filters copying genshi/filters/transform.py -> /<>/.pybuild/cpython3_3.7_genshi/build/genshi/filters copying genshi/filters/html.py -> /<>/.pybuild/cpython3_3.7_genshi/build/genshi/filters copying genshi/filters/i18n.py -> /<>/.pybuild/cpython3_3.7_genshi/build/genshi/filters creating /<>/.pybuild/cpython3_3.7_genshi/build/genshi/template copying genshi/template/eval.py -> /<>/.pybuild/cpython3_3.7_genshi/build/genshi/template copying genshi/template/astutil.py -> /<>/.pybuild/cpython3_3.7_genshi/build/genshi/template copying genshi/template/_ast24.py -> /<>/.pybuild/cpython3_3.7_genshi/build/genshi/template copying genshi/template/markup.py -> /<>/.pybuild/cpython3_3.7_genshi/build/genshi/template copying genshi/template/text.py -> /<>/.pybuild/cpython3_3.7_genshi/build/genshi/template copying genshi/template/ast24.py -> /<>/.pybuild/cpython3_3.7_genshi/build/genshi/template copying genshi/template/plugin.py -> /<>/.pybuild/cpython3_3.7_genshi/build/genshi/template copying genshi/template/loader.py -> /<>/.pybuild/cpython3_3.7_genshi/build/genshi/template copying genshi/template/__init__.py -> /<>/.pybuild/cpython3_3.7_genshi/build/genshi/template copying genshi/template/base.py -> /<>/.pybuild/cpython3_3.7_genshi/build/genshi/template copying genshi/template/directives.py -> /<>/.pybuild/cpython3_3.7_genshi/build/genshi/template copying genshi/template/interpolation.py -> /<>/.pybuild/cpython3_3.7_genshi/build/genshi/template creating /<>/.pybuild/cpython3_3.7_genshi/build/genshi/tests copying genshi/tests/__init__.py -> /<>/.pybuild/cpython3_3.7_genshi/build/genshi/tests copying genshi/tests/path.py -> /<>/.pybuild/cpython3_3.7_genshi/build/genshi/tests copying genshi/tests/builder.py -> /<>/.pybuild/cpython3_3.7_genshi/build/genshi/tests copying genshi/tests/input.py -> /<>/.pybuild/cpython3_3.7_genshi/build/genshi/tests copying genshi/tests/core.py -> /<>/.pybuild/cpython3_3.7_genshi/build/genshi/tests copying genshi/tests/util.py -> /<>/.pybuild/cpython3_3.7_genshi/build/genshi/tests copying genshi/tests/output.py -> /<>/.pybuild/cpython3_3.7_genshi/build/genshi/tests creating /<>/.pybuild/cpython3_3.7_genshi/build/genshi/filters/tests copying genshi/filters/tests/test_html.py -> /<>/.pybuild/cpython3_3.7_genshi/build/genshi/filters/tests copying genshi/filters/tests/__init__.py -> /<>/.pybuild/cpython3_3.7_genshi/build/genshi/filters/tests copying genshi/filters/tests/transform.py -> /<>/.pybuild/cpython3_3.7_genshi/build/genshi/filters/tests copying genshi/filters/tests/i18n.py -> /<>/.pybuild/cpython3_3.7_genshi/build/genshi/filters/tests creating /<>/.pybuild/cpython3_3.7_genshi/build/genshi/template/tests copying genshi/template/tests/eval.py -> /<>/.pybuild/cpython3_3.7_genshi/build/genshi/template/tests copying genshi/template/tests/markup.py -> /<>/.pybuild/cpython3_3.7_genshi/build/genshi/template/tests copying genshi/template/tests/text.py -> /<>/.pybuild/cpython3_3.7_genshi/build/genshi/template/tests copying genshi/template/tests/plugin.py -> /<>/.pybuild/cpython3_3.7_genshi/build/genshi/template/tests copying genshi/template/tests/loader.py -> /<>/.pybuild/cpython3_3.7_genshi/build/genshi/template/tests copying genshi/template/tests/__init__.py -> /<>/.pybuild/cpython3_3.7_genshi/build/genshi/template/tests copying genshi/template/tests/base.py -> /<>/.pybuild/cpython3_3.7_genshi/build/genshi/template/tests copying genshi/template/tests/directives.py -> /<>/.pybuild/cpython3_3.7_genshi/build/genshi/template/tests copying genshi/template/tests/interpolation.py -> /<>/.pybuild/cpython3_3.7_genshi/build/genshi/template/tests creating /<>/.pybuild/cpython3_3.7_genshi/build/genshi/template/tests/templates copying genshi/template/tests/templates/__init__.py -> /<>/.pybuild/cpython3_3.7_genshi/build/genshi/template/tests/templates running egg_info writing Genshi.egg-info/PKG-INFO writing dependency_links to Genshi.egg-info/dependency_links.txt writing entry points to Genshi.egg-info/entry_points.txt writing requirements to Genshi.egg-info/requires.txt writing top-level names to Genshi.egg-info/top_level.txt reading manifest file 'Genshi.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' setup.py:76: DistDeprecationWarning: Features are deprecated and will be removed in a future version. See https://github.com/pypa/setuptools/issues/65. Extension('genshi._speedups', ['genshi/_speedups.c']), /usr/lib/python3.7/distutils/core.py:108: DistDeprecationWarning: Features are deprecated and will be removed in a future version. See https://github.com/pypa/setuptools/issues/65. _setup_distribution = dist = klass(attrs) warning: no files found matching '*.html' under directory 'doc' warning: no files found matching '*.css' under directory 'doc' warning: no files found matching '*.py' under directory 'doc' warning: no files found matching '*.ini' under directory 'doc' warning: no files found matching 'COPYING' under directory 'doc' warning: no previously-included files matching '*' found under directory 'doc/logo.lineform' warning: no previously-included files found matching 'doc/2000ft.graffle' warning: no previously-included files matching '*.pyc' found anywhere in distribution writing manifest file 'Genshi.egg-info/SOURCES.txt' copying genshi/_speedups.c -> /<>/.pybuild/cpython3_3.7_genshi/build/genshi copying genshi/template/tests/templates/functions.html -> /<>/.pybuild/cpython3_3.7_genshi/build/genshi/template/tests/templates copying genshi/template/tests/templates/functions.txt -> /<>/.pybuild/cpython3_3.7_genshi/build/genshi/template/tests/templates copying genshi/template/tests/templates/new_syntax.txt -> /<>/.pybuild/cpython3_3.7_genshi/build/genshi/template/tests/templates copying genshi/template/tests/templates/test.html -> /<>/.pybuild/cpython3_3.7_genshi/build/genshi/template/tests/templates copying genshi/template/tests/templates/test.txt -> /<>/.pybuild/cpython3_3.7_genshi/build/genshi/template/tests/templates copying genshi/template/tests/templates/test_no_doctype.html -> /<>/.pybuild/cpython3_3.7_genshi/build/genshi/template/tests/templates Fixing /<>/.pybuild/cpython3_3.7_genshi/build/genshi/__init__.py /<>/.pybuild/cpython3_3.7_genshi/build/genshi/path.py /<>/.pybuild/cpython3_3.7_genshi/build/genshi/compat.py /<>/.pybuild/cpython3_3.7_genshi/build/genshi/builder.py /<>/.pybuild/cpython3_3.7_genshi/build/genshi/input.py /<>/.pybuild/cpython3_3.7_genshi/build/genshi/core.py /<>/.pybuild/cpython3_3.7_genshi/build/genshi/util.py /<>/.pybuild/cpython3_3.7_genshi/build/genshi/output.py /<>/.pybuild/cpython3_3.7_genshi/build/genshi/filters/__init__.py /<>/.pybuild/cpython3_3.7_genshi/build/genshi/filters/transform.py /<>/.pybuild/cpython3_3.7_genshi/build/genshi/filters/html.py /<>/.pybuild/cpython3_3.7_genshi/build/genshi/filters/i18n.py /<>/.pybuild/cpython3_3.7_genshi/build/genshi/template/eval.py /<>/.pybuild/cpython3_3.7_genshi/build/genshi/template/astutil.py /<>/.pybuild/cpython3_3.7_genshi/build/genshi/template/_ast24.py /<>/.pybuild/cpython3_3.7_genshi/build/genshi/template/markup.py /<>/.pybuild/cpython3_3.7_genshi/build/genshi/template/text.py /<>/.pybuild/cpython3_3.7_genshi/build/genshi/template/ast24.py /<>/.pybuild/cpython3_3.7_genshi/build/genshi/template/plugin.py /<>/.pybuild/cpython3_3.7_genshi/build/genshi/template/loader.py /<>/.pybuild/cpython3_3.7_genshi/build/genshi/template/__init__.py /<>/.pybuild/cpython3_3.7_genshi/build/genshi/template/base.py /<>/.pybuild/cpython3_3.7_genshi/build/genshi/template/directives.py /<>/.pybuild/cpython3_3.7_genshi/build/genshi/template/interpolation.py /<>/.pybuild/cpython3_3.7_genshi/build/genshi/tests/__init__.py /<>/.pybuild/cpython3_3.7_genshi/build/genshi/tests/path.py /<>/.pybuild/cpython3_3.7_genshi/build/genshi/tests/builder.py /<>/.pybuild/cpython3_3.7_genshi/build/genshi/tests/input.py /<>/.pybuild/cpython3_3.7_genshi/build/genshi/tests/core.py /<>/.pybuild/cpython3_3.7_genshi/build/genshi/tests/util.py /<>/.pybuild/cpython3_3.7_genshi/build/genshi/tests/output.py /<>/.pybuild/cpython3_3.7_genshi/build/genshi/filters/tests/test_html.py /<>/.pybuild/cpython3_3.7_genshi/build/genshi/filters/tests/__init__.py /<>/.pybuild/cpython3_3.7_genshi/build/genshi/filters/tests/transform.py /<>/.pybuild/cpython3_3.7_genshi/build/genshi/filters/tests/i18n.py /<>/.pybuild/cpython3_3.7_genshi/build/genshi/template/tests/eval.py /<>/.pybuild/cpython3_3.7_genshi/build/genshi/template/tests/markup.py /<>/.pybuild/cpython3_3.7_genshi/build/genshi/template/tests/text.py /<>/.pybuild/cpython3_3.7_genshi/build/genshi/template/tests/plugin.py /<>/.pybuild/cpython3_3.7_genshi/build/genshi/template/tests/loader.py /<>/.pybuild/cpython3_3.7_genshi/build/genshi/template/tests/__init__.py /<>/.pybuild/cpython3_3.7_genshi/build/genshi/template/tests/base.py /<>/.pybuild/cpython3_3.7_genshi/build/genshi/template/tests/directives.py /<>/.pybuild/cpython3_3.7_genshi/build/genshi/template/tests/interpolation.py /<>/.pybuild/cpython3_3.7_genshi/build/genshi/template/tests/templates/__init__.py Skipping optional fixer: buffer Skipping optional fixer: idioms Skipping optional fixer: set_literal Skipping optional fixer: ws_comma Fixing /<>/.pybuild/cpython3_3.7_genshi/build/genshi/__init__.py /<>/.pybuild/cpython3_3.7_genshi/build/genshi/path.py /<>/.pybuild/cpython3_3.7_genshi/build/genshi/compat.py /<>/.pybuild/cpython3_3.7_genshi/build/genshi/builder.py /<>/.pybuild/cpython3_3.7_genshi/build/genshi/input.py /<>/.pybuild/cpython3_3.7_genshi/build/genshi/core.py /<>/.pybuild/cpython3_3.7_genshi/build/genshi/util.py /<>/.pybuild/cpython3_3.7_genshi/build/genshi/output.py /<>/.pybuild/cpython3_3.7_genshi/build/genshi/filters/__init__.py /<>/.pybuild/cpython3_3.7_genshi/build/genshi/filters/transform.py /<>/.pybuild/cpython3_3.7_genshi/build/genshi/filters/html.py /<>/.pybuild/cpython3_3.7_genshi/build/genshi/filters/i18n.py /<>/.pybuild/cpython3_3.7_genshi/build/genshi/template/eval.py /<>/.pybuild/cpython3_3.7_genshi/build/genshi/template/astutil.py /<>/.pybuild/cpython3_3.7_genshi/build/genshi/template/_ast24.py /<>/.pybuild/cpython3_3.7_genshi/build/genshi/template/markup.py /<>/.pybuild/cpython3_3.7_genshi/build/genshi/template/text.py /<>/.pybuild/cpython3_3.7_genshi/build/genshi/template/ast24.py /<>/.pybuild/cpython3_3.7_genshi/build/genshi/template/plugin.py /<>/.pybuild/cpython3_3.7_genshi/build/genshi/template/loader.py /<>/.pybuild/cpython3_3.7_genshi/build/genshi/template/__init__.py /<>/.pybuild/cpython3_3.7_genshi/build/genshi/template/base.py /<>/.pybuild/cpython3_3.7_genshi/build/genshi/template/directives.py /<>/.pybuild/cpython3_3.7_genshi/build/genshi/template/interpolation.py /<>/.pybuild/cpython3_3.7_genshi/build/genshi/tests/__init__.py /<>/.pybuild/cpython3_3.7_genshi/build/genshi/tests/path.py /<>/.pybuild/cpython3_3.7_genshi/build/genshi/tests/builder.py /<>/.pybuild/cpython3_3.7_genshi/build/genshi/tests/input.py /<>/.pybuild/cpython3_3.7_genshi/build/genshi/tests/core.py /<>/.pybuild/cpython3_3.7_genshi/build/genshi/tests/util.py /<>/.pybuild/cpython3_3.7_genshi/build/genshi/tests/output.py /<>/.pybuild/cpython3_3.7_genshi/build/genshi/filters/tests/test_html.py /<>/.pybuild/cpython3_3.7_genshi/build/genshi/filters/tests/__init__.py /<>/.pybuild/cpython3_3.7_genshi/build/genshi/filters/tests/transform.py /<>/.pybuild/cpython3_3.7_genshi/build/genshi/filters/tests/i18n.py /<>/.pybuild/cpython3_3.7_genshi/build/genshi/template/tests/eval.py /<>/.pybuild/cpython3_3.7_genshi/build/genshi/template/tests/markup.py /<>/.pybuild/cpython3_3.7_genshi/build/genshi/template/tests/text.py /<>/.pybuild/cpython3_3.7_genshi/build/genshi/template/tests/plugin.py /<>/.pybuild/cpython3_3.7_genshi/build/genshi/template/tests/loader.py /<>/.pybuild/cpython3_3.7_genshi/build/genshi/template/tests/__init__.py /<>/.pybuild/cpython3_3.7_genshi/build/genshi/template/tests/base.py /<>/.pybuild/cpython3_3.7_genshi/build/genshi/template/tests/directives.py /<>/.pybuild/cpython3_3.7_genshi/build/genshi/template/tests/interpolation.py /<>/.pybuild/cpython3_3.7_genshi/build/genshi/template/tests/templates/__init__.py Skipping optional fixer: buffer Skipping optional fixer: idioms Skipping optional fixer: set_literal Skipping optional fixer: ws_comma dh_auto_test -a -O--buildsystem=pybuild I: pybuild base:217: python2.7 setup.py test setup.py:76: DistDeprecationWarning: Features are deprecated and will be removed in a future version. See https://github.com/pypa/setuptools/issues/65. Extension('genshi._speedups', ['genshi/_speedups.c']), /usr/lib/python2.7/distutils/core.py:111: DistDeprecationWarning: Features are deprecated and will be removed in a future version. See https://github.com/pypa/setuptools/issues/65. _setup_distribution = dist = klass(attrs) running test running egg_info writing requirements to Genshi.egg-info/requires.txt writing Genshi.egg-info/PKG-INFO writing top-level names to Genshi.egg-info/top_level.txt writing dependency_links to Genshi.egg-info/dependency_links.txt writing entry points to Genshi.egg-info/entry_points.txt reading manifest file 'Genshi.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.html' under directory 'doc' warning: no files found matching '*.css' under directory 'doc' warning: no files found matching '*.py' under directory 'doc' warning: no files found matching '*.ini' under directory 'doc' warning: no files found matching 'COPYING' under directory 'doc' warning: no previously-included files matching '*' found under directory 'doc/logo.lineform' warning: no previously-included files found matching 'doc/2000ft.graffle' warning: no previously-included files matching '*.pyc' found anywhere in distribution writing manifest file 'Genshi.egg-info/SOURCES.txt' running build_ext building 'genshi._speedups' extension powerpc64le-linux-gnu-gcc -pthread -fno-strict-aliasing -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python2.7 -c genshi/_speedups.c -o build/temp.linux-ppc64el-2.7/genshi/_speedups.o powerpc64le-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-5X2Adq/python2.7-2.7.17=. -fstack-protector-strong -Wformat -Werror=format-security -fexceptions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -g -O3 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC build/temp.linux-ppc64el-2.7/genshi/_speedups.o -o /<>/genshi/_speedups.so builder (genshi) Doctest: genshi.builder ... ok Element (genshi.builder) Doctest: genshi.builder.Element ... ok ElementFactory (genshi.builder) Doctest: genshi.builder.ElementFactory ... ok test_duplicate_attributes (genshi.tests.builder.ElementFactoryTestCase) ... ok test_link (genshi.tests.builder.ElementFactoryTestCase) ... ok test_markup_escape (genshi.tests.builder.ElementFactoryTestCase) ... ok test_nonstring_attributes (genshi.tests.builder.ElementFactoryTestCase) ... ok test_stream_as_child (genshi.tests.builder.ElementFactoryTestCase) ... ok test_pickle (genshi.tests.core.StreamTestCase) ... ok test_render_ascii (genshi.tests.core.StreamTestCase) ... ok test_render_output_stream_unicode (genshi.tests.core.StreamTestCase) ... ok test_render_output_stream_utf8 (genshi.tests.core.StreamTestCase) ... ok test_render_unicode (genshi.tests.core.StreamTestCase) ... ok test_render_utf8 (genshi.tests.core.StreamTestCase) ... ok test_Markup_escape_None_noquotes (genshi.tests.core.MarkupTestCase) ... ok test_add_markup (genshi.tests.core.MarkupTestCase) ... ok test_add_reverse (genshi.tests.core.MarkupTestCase) ... ok test_add_str (genshi.tests.core.MarkupTestCase) ... ok test_escape (genshi.tests.core.MarkupTestCase) ... ok test_escape_noquotes (genshi.tests.core.MarkupTestCase) ... ok test_join (genshi.tests.core.MarkupTestCase) ... ok test_join_over_iter (genshi.tests.core.MarkupTestCase) ... ok test_mod (genshi.tests.core.MarkupTestCase) ... ok test_mod_mapping (genshi.tests.core.MarkupTestCase) ... ok test_mod_multi (genshi.tests.core.MarkupTestCase) ... ok test_mod_noescape (genshi.tests.core.MarkupTestCase) ... ok test_mul (genshi.tests.core.MarkupTestCase) ... ok test_mul_reverse (genshi.tests.core.MarkupTestCase) ... ok test_new_with_encoding (genshi.tests.core.MarkupTestCase) ... ok test_pickle (genshi.tests.core.MarkupTestCase) ... ok test_repr (genshi.tests.core.MarkupTestCase) ... ok test_stripentities_all (genshi.tests.core.MarkupTestCase) ... ok test_stripentities_keepxml (genshi.tests.core.MarkupTestCase) ... ok test_striptags_empty (genshi.tests.core.MarkupTestCase) ... ok test_striptags_mid (genshi.tests.core.MarkupTestCase) ... ok test_unescape_markup (genshi.tests.core.MarkupTestCase) ... ok test_pickle (genshi.tests.core.NamespaceTestCase) ... ok test_repr (genshi.tests.core.NamespaceTestCase) ... ok test_repr_eval (genshi.tests.core.NamespaceTestCase) ... ok test_repr_eval_non_ascii (genshi.tests.core.NamespaceTestCase) ... ok test_non_ascii (genshi.tests.core.AttrsTestCase) ... ok test_pickle (genshi.tests.core.AttrsTestCase) ... ok test_curly_brace_equality (genshi.tests.core.QNameTestCase) ... ok test_leading_curly_brace (genshi.tests.core.QNameTestCase) ... ok test_pickle (genshi.tests.core.QNameTestCase) ... ok test_repr (genshi.tests.core.QNameTestCase) ... ok test_repr_eval (genshi.tests.core.QNameTestCase) ... ok test_repr_eval_non_ascii (genshi.tests.core.QNameTestCase) ... ok Attrs (genshi.core) Doctest: genshi.core.Attrs ... ok __getitem__ (genshi.core.Attrs) Doctest: genshi.core.Attrs.__getitem__ ... ok __getslice__ (genshi.core.Attrs) Doctest: genshi.core.Attrs.__getslice__ ... ok totuple (genshi.core.Attrs) Doctest: genshi.core.Attrs.totuple ... ok Namespace (genshi.core) Doctest: genshi.core.Namespace ... ok QName (genshi.core) Doctest: genshi.core.QName ... ok __or__ (genshi.core.Stream) Doctest: genshi.core.Stream.__or__ ... ok select (genshi.core.Stream) Doctest: genshi.core.Stream.select ... ok unescape (genshi.core) Doctest: genshi.core.unescape ... ok HTMLFormFiller (genshi.filters.html) Doctest: genshi.filters.html.HTMLFormFiller ... ok HTMLSanitizer (genshi.filters.html) Doctest: genshi.filters.html.HTMLSanitizer ... ok is_safe_uri (genshi.filters.html.HTMLSanitizer) Doctest: genshi.filters.html.HTMLSanitizer.is_safe_uri ... ok sanitize_css (genshi.filters.html.HTMLSanitizer) Doctest: genshi.filters.html.HTMLSanitizer.sanitize_css ... ok test_fill_input_checkbox_multi_value_auto (genshi.filters.tests.test_html.HTMLFormFillerTestCase) ... ok test_fill_input_checkbox_multi_value_defined (genshi.filters.tests.test_html.HTMLFormFillerTestCase) ... ok test_fill_input_checkbox_single_value_auto (genshi.filters.tests.test_html.HTMLFormFillerTestCase) ... ok test_fill_input_checkbox_single_value_auto_no_value (genshi.filters.tests.test_html.HTMLFormFillerTestCase) ... ok test_fill_input_checkbox_single_value_defined (genshi.filters.tests.test_html.HTMLFormFillerTestCase) ... ok test_fill_input_hidden_multi_value (genshi.filters.tests.test_html.HTMLFormFillerTestCase) ... ok test_fill_input_hidden_no_value (genshi.filters.tests.test_html.HTMLFormFillerTestCase) ... ok test_fill_input_hidden_single_value (genshi.filters.tests.test_html.HTMLFormFillerTestCase) ... ok test_fill_input_password_disabled (genshi.filters.tests.test_html.HTMLFormFillerTestCase) ... ok test_fill_input_password_enabled (genshi.filters.tests.test_html.HTMLFormFillerTestCase) ... ok test_fill_input_radio_empty_string (genshi.filters.tests.test_html.HTMLFormFillerTestCase) ... ok test_fill_input_radio_multi_empty_string (genshi.filters.tests.test_html.HTMLFormFillerTestCase) ... ok test_fill_input_radio_multi_value (genshi.filters.tests.test_html.HTMLFormFillerTestCase) ... ok test_fill_input_radio_no_value (genshi.filters.tests.test_html.HTMLFormFillerTestCase) ... ok test_fill_input_radio_single_value (genshi.filters.tests.test_html.HTMLFormFillerTestCase) ... ok test_fill_input_text_multi_value (genshi.filters.tests.test_html.HTMLFormFillerTestCase) ... ok test_fill_input_text_no_value (genshi.filters.tests.test_html.HTMLFormFillerTestCase) ... ok test_fill_input_text_single_value (genshi.filters.tests.test_html.HTMLFormFillerTestCase) ... ok test_fill_option_segmented_text (genshi.filters.tests.test_html.HTMLFormFillerTestCase) ... ok test_fill_option_segmented_text_no_value (genshi.filters.tests.test_html.HTMLFormFillerTestCase) ... ok test_fill_option_unicode_value (genshi.filters.tests.test_html.HTMLFormFillerTestCase) ... ok test_fill_select_multi_value_auto (genshi.filters.tests.test_html.HTMLFormFillerTestCase) ... ok test_fill_select_multi_value_defined (genshi.filters.tests.test_html.HTMLFormFillerTestCase) ... ok test_fill_select_no_value_auto (genshi.filters.tests.test_html.HTMLFormFillerTestCase) ... ok test_fill_select_no_value_defined (genshi.filters.tests.test_html.HTMLFormFillerTestCase) ... ok test_fill_select_single_value_auto (genshi.filters.tests.test_html.HTMLFormFillerTestCase) ... ok test_fill_select_single_value_defined (genshi.filters.tests.test_html.HTMLFormFillerTestCase) ... ok test_fill_textarea_multi_value (genshi.filters.tests.test_html.HTMLFormFillerTestCase) ... ok test_fill_textarea_multiple (genshi.filters.tests.test_html.HTMLFormFillerTestCase) ... ok test_fill_textarea_no_value (genshi.filters.tests.test_html.HTMLFormFillerTestCase) ... ok test_fill_textarea_preserve_original (genshi.filters.tests.test_html.HTMLFormFillerTestCase) ... ok test_fill_textarea_single_value (genshi.filters.tests.test_html.HTMLFormFillerTestCase) ... ok test_capital_expression (genshi.filters.tests.test_html.HTMLSanitizerTestCase) ... ok test_sanitize_backslash_without_hex (genshi.filters.tests.test_html.HTMLSanitizerTestCase) ... ok test_sanitize_capital_url_with_javascript (genshi.filters.tests.test_html.HTMLSanitizerTestCase) ... ok test_sanitize_close_empty_tag (genshi.filters.tests.test_html.HTMLSanitizerTestCase) ... ok test_sanitize_css_hack (genshi.filters.tests.test_html.HTMLSanitizerTestCase) ... ok test_sanitize_entityref_text (genshi.filters.tests.test_html.HTMLSanitizerTestCase) ... ok test_sanitize_escape_attr (genshi.filters.tests.test_html.HTMLSanitizerTestCase) ... ok test_sanitize_escape_text (genshi.filters.tests.test_html.HTMLSanitizerTestCase) ... ok test_sanitize_expression (genshi.filters.tests.test_html.HTMLSanitizerTestCase) ... ok test_sanitize_invalid_entity (genshi.filters.tests.test_html.HTMLSanitizerTestCase) ... ok test_sanitize_negative_margin (genshi.filters.tests.test_html.HTMLSanitizerTestCase) ... ok test_sanitize_property_name (genshi.filters.tests.test_html.HTMLSanitizerTestCase) ... ok test_sanitize_remove_comments (genshi.filters.tests.test_html.HTMLSanitizerTestCase) ... ok test_sanitize_remove_input_password (genshi.filters.tests.test_html.HTMLSanitizerTestCase) ... ok test_sanitize_remove_onclick_attr (genshi.filters.tests.test_html.HTMLSanitizerTestCase) ... ok test_sanitize_remove_script_elem (genshi.filters.tests.test_html.HTMLSanitizerTestCase) ... ok test_sanitize_remove_src_javascript (genshi.filters.tests.test_html.HTMLSanitizerTestCase) ... ok test_sanitize_remove_style_phishing (genshi.filters.tests.test_html.HTMLSanitizerTestCase) ... ok test_sanitize_remove_style_scripts (genshi.filters.tests.test_html.HTMLSanitizerTestCase) ... ok test_sanitize_unchanged (genshi.filters.tests.test_html.HTMLSanitizerTestCase) ... ok test_sanitize_unicode_escapes (genshi.filters.tests.test_html.HTMLSanitizerTestCase) ... ok test_sanitize_unicode_expression (genshi.filters.tests.test_html.HTMLSanitizerTestCase) ... ok test_sanitize_unicode_url (genshi.filters.tests.test_html.HTMLSanitizerTestCase) ... ok test_sanitize_unsafe_props (genshi.filters.tests.test_html.HTMLSanitizerTestCase) ... ok test_sanitize_url_with_javascript (genshi.filters.tests.test_html.HTMLSanitizerTestCase) ... ok ChooseDirective (genshi.filters.i18n) Doctest: genshi.filters.i18n.ChooseDirective ... ok CommentDirective (genshi.filters.i18n) Doctest: genshi.filters.i18n.CommentDirective ... ok DomainDirective (genshi.filters.i18n) Doctest: genshi.filters.i18n.DomainDirective ... ok MsgDirective (genshi.filters.i18n) Doctest: genshi.filters.i18n.MsgDirective ... ok Translator (genshi.filters.i18n) Doctest: genshi.filters.i18n.Translator ... ok extract (genshi.filters.i18n.Translator) Doctest: genshi.filters.i18n.Translator.extract ... ok extract_from_code (genshi.filters.i18n) Doctest: genshi.filters.i18n.extract_from_code ... ok parse_msg (genshi.filters.i18n) Doctest: genshi.filters.i18n.parse_msg ... ok test_extract_attribute_expr (genshi.filters.tests.i18n.TranslatorTestCase) ... ok test_extract_funky_plural_form (genshi.filters.tests.i18n.TranslatorTestCase) ... ok test_extract_gettext_with_unicode_string (genshi.filters.tests.i18n.TranslatorTestCase) ... ok test_extract_included_attribute_text (genshi.filters.tests.i18n.TranslatorTestCase) ... ok test_extract_non_included_attribute_interpolated (genshi.filters.tests.i18n.TranslatorTestCase) ... ok test_extract_plural_form (genshi.filters.tests.i18n.TranslatorTestCase) ... ok test_extract_tag_with_variable_xml_lang (genshi.filters.tests.i18n.TranslatorTestCase) ... ok test_extract_text_from_sub (genshi.filters.tests.i18n.TranslatorTestCase) ... ok test_extract_without_text (genshi.filters.tests.i18n.TranslatorTestCase) ... ok test_ignore_attribute_with_expression (genshi.filters.tests.i18n.TranslatorTestCase) ... ok test_ignore_tag_with_fixed_xml_lang (genshi.filters.tests.i18n.TranslatorTestCase) ... ok test_translate_included_attribute_text (genshi.filters.tests.i18n.TranslatorTestCase) ... ok test_translate_with_translations_object (genshi.filters.tests.i18n.TranslatorTestCase) ... ok test_extract_i18n_msg (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ok test_extract_i18n_msg_as_element_with_attributes (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ok test_extract_i18n_msg_elt_nonewline (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ok test_extract_i18n_msg_empty (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ok test_extract_i18n_msg_label_with_nested_input (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ok test_extract_i18n_msg_multiple (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ok test_extract_i18n_msg_multiple_empty (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ok test_extract_i18n_msg_nested (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ok test_extract_i18n_msg_nonewline (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ok test_extract_i18n_msg_with_attr (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ok test_extract_i18n_msg_with_attributes (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ok test_extract_i18n_msg_with_comment (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ok test_extract_i18n_msg_with_directive (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ok test_extract_i18n_msg_with_dynamic_attributes (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ok test_extract_i18n_msg_with_other_directives_nested (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ok test_extract_i18n_msg_with_param (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ok test_extract_i18n_msg_with_py_strip (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ok test_extract_i18n_msg_with_py_strip_and_comment (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ok test_extract_i18n_msg_with_two_params (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ok test_i18n_msg_ticket_251_extract (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ok test_i18n_msg_ticket_251_translate (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ok test_i18n_msg_ticket_300_extract (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ok test_i18n_msg_ticket_300_translate (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ok test_i18n_msg_with_other_nested_directives_with_reordered_content (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ok test_translate_i18n_msg (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ok test_translate_i18n_msg_and_comment_with_py_strip_directives (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ok test_translate_i18n_msg_and_py_strip_directives (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ok test_translate_i18n_msg_as_element_with_attributes (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ok test_translate_i18n_msg_elt_nonewline (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ok test_translate_i18n_msg_empty (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ok test_translate_i18n_msg_label_with_nested_input (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ok test_translate_i18n_msg_multiple (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ok test_translate_i18n_msg_multiple_empty (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ok test_translate_i18n_msg_nested (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ok test_translate_i18n_msg_nonewline (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ok test_translate_i18n_msg_ticket_404 (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ok test_translate_i18n_msg_ticket_404_regression (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ok test_translate_i18n_msg_with_attr (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ok test_translate_i18n_msg_with_attribute_param (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ok test_translate_i18n_msg_with_attributes (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ok test_translate_i18n_msg_with_comment (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ok test_translate_i18n_msg_with_directive (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ok test_translate_i18n_msg_with_dynamic_attributes (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ok test_translate_i18n_msg_with_other_directives_nested (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ok test_translate_i18n_msg_with_param (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ok test_translate_i18n_msg_with_param_reordered (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ok test_translate_i18n_msg_with_two_params (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ok test_extract_i18n_choose_as_attribute (genshi.filters.tests.i18n.ChooseDirectiveTestCase) ... ok test_extract_i18n_choose_as_attribute_and_py_strip (genshi.filters.tests.i18n.ChooseDirectiveTestCase) ... ok test_extract_i18n_choose_as_attribute_with_params (genshi.filters.tests.i18n.ChooseDirectiveTestCase) ... ok test_extract_i18n_choose_as_attribute_with_params_and_comment (genshi.filters.tests.i18n.ChooseDirectiveTestCase) ... ok test_extract_i18n_choose_as_attribute_with_params_and_domain_as_param (genshi.filters.tests.i18n.ChooseDirectiveTestCase) ... ok test_extract_i18n_choose_as_directive (genshi.filters.tests.i18n.ChooseDirectiveTestCase) ... ok test_extract_i18n_choose_as_directive_with_params (genshi.filters.tests.i18n.ChooseDirectiveTestCase) ... ok test_extract_i18n_choose_as_directive_with_params_and_comment (genshi.filters.tests.i18n.ChooseDirectiveTestCase) ... ok test_extract_i18n_choose_as_directive_with_params_and_domain_as_directive (genshi.filters.tests.i18n.ChooseDirectiveTestCase) ... ok test_extract_i18n_choose_as_element_with_attributes (genshi.filters.tests.i18n.ChooseDirectiveTestCase) ... ok test_extract_i18n_choose_with_attributes (genshi.filters.tests.i18n.ChooseDirectiveTestCase) ... ok test_translate_i18n_choose_and_domain_and_py_strip (genshi.filters.tests.i18n.ChooseDirectiveTestCase) ... ok test_translate_i18n_choose_and_plural_with_py_strip (genshi.filters.tests.i18n.ChooseDirectiveTestCase) ... ok test_translate_i18n_choose_and_py_strip (genshi.filters.tests.i18n.ChooseDirectiveTestCase) ... ok test_translate_i18n_choose_and_singular_with_py_strip (genshi.filters.tests.i18n.ChooseDirectiveTestCase) ... ok test_translate_i18n_choose_as_attribute (genshi.filters.tests.i18n.ChooseDirectiveTestCase) ... ok test_translate_i18n_choose_as_attribute_with_params (genshi.filters.tests.i18n.ChooseDirectiveTestCase) ... ok test_translate_i18n_choose_as_attribute_with_params_and_domain_as_param (genshi.filters.tests.i18n.ChooseDirectiveTestCase) ... ok test_translate_i18n_choose_as_directive (genshi.filters.tests.i18n.ChooseDirectiveTestCase) ... ok test_translate_i18n_choose_as_directive_singular_and_plural_with_strip (genshi.filters.tests.i18n.ChooseDirectiveTestCase) ... ok test_translate_i18n_choose_as_directive_with_params (genshi.filters.tests.i18n.ChooseDirectiveTestCase) ... ok test_translate_i18n_choose_as_directive_with_params_and_domain_as_directive (genshi.filters.tests.i18n.ChooseDirectiveTestCase) ... ok test_translate_i18n_choose_as_element_with_attributes (genshi.filters.tests.i18n.ChooseDirectiveTestCase) ... ok test_translate_i18n_choose_plural_singular_as_directive (genshi.filters.tests.i18n.ChooseDirectiveTestCase) ... ok test_translate_i18n_choose_with_attributes (genshi.filters.tests.i18n.ChooseDirectiveTestCase) ... ok test_translate_i18n_domain_as_directive_not_attribute (genshi.filters.tests.i18n.DomainDirectiveTestCase) ... ok test_translate_i18n_domain_nested_directives (genshi.filters.tests.i18n.DomainDirectiveTestCase) ... ok test_translate_i18n_domain_with_empty_nested_domain_directive (genshi.filters.tests.i18n.DomainDirectiveTestCase) ... ok test_translate_i18n_domain_with_inline_directive_on_START_NS (genshi.filters.tests.i18n.DomainDirectiveTestCase) ... ok test_translate_i18n_domain_with_inline_directive_on_START_NS_with_py_strip (genshi.filters.tests.i18n.DomainDirectiveTestCase) ... ok test_translate_i18n_domain_with_inline_directives (genshi.filters.tests.i18n.DomainDirectiveTestCase) ... ok test_translate_i18n_domain_with_msg_directives (genshi.filters.tests.i18n.DomainDirectiveTestCase) ... ok test_translate_i18n_domain_with_nested_includes (genshi.filters.tests.i18n.DomainDirectiveTestCase) ... ok test_translate_i18n_domain_with_nested_includes_with_translatable_attrs (genshi.filters.tests.i18n.DomainDirectiveTestCase) ... ok test_translate_i18n_domain_without_msg_directives (genshi.filters.tests.i18n.DomainDirectiveTestCase) ... ok test_extract_py_def_directive_with_py_strip (genshi.filters.tests.i18n.ExtractTestCase) ... ok test_extraction_inside_ignored_tags (genshi.filters.tests.i18n.ExtractTestCase) ... ok test_extraction_inside_ignored_tags_with_directives (genshi.filters.tests.i18n.ExtractTestCase) ... ok test_extraction_with_keyword_arg (genshi.filters.tests.i18n.ExtractTestCase) ... ok test_extraction_with_nonstring_arg (genshi.filters.tests.i18n.ExtractTestCase) ... ok test_extraction_without_text (genshi.filters.tests.i18n.ExtractTestCase) ... ok test_markup_template_extraction (genshi.filters.tests.i18n.ExtractTestCase) ... ok test_text_template_extraction (genshi.filters.tests.i18n.ExtractTestCase) ... ok test_select_attr (genshi.filters.tests.transform.SelectTest) ... ok test_select_context (genshi.filters.tests.transform.SelectTest) ... ok test_select_inside_select (genshi.filters.tests.transform.SelectTest) ... ok test_select_single_element (genshi.filters.tests.transform.SelectTest) ... ok test_select_text (genshi.filters.tests.transform.SelectTest) ... ok test_select_text_context (genshi.filters.tests.transform.SelectTest) ... ok test_invert_attribute (genshi.filters.tests.transform.InvertTest) ... ok test_invert_context (genshi.filters.tests.transform.InvertTest) ... ok test_invert_element (genshi.filters.tests.transform.InvertTest) ... ok test_invert_inverted_element (genshi.filters.tests.transform.InvertTest) ... ok test_invert_text (genshi.filters.tests.transform.InvertTest) ... ok test_invert_text_context (genshi.filters.tests.transform.InvertTest) ... ok test_end (genshi.filters.tests.transform.EndTest) ... ok test_empty_attr (genshi.filters.tests.transform.EmptyTest) ... ok test_empty_context (genshi.filters.tests.transform.EmptyTest) ... ok test_empty_element (genshi.filters.tests.transform.EmptyTest) ... ok test_empty_text (genshi.filters.tests.transform.EmptyTest) ... ok test_empty_text_context (genshi.filters.tests.transform.EmptyTest) ... ok test_remove_attr (genshi.filters.tests.transform.RemoveTest) ... ok test_remove_context (genshi.filters.tests.transform.RemoveTest) ... ok test_remove_element (genshi.filters.tests.transform.RemoveTest) ... ok test_remove_text (genshi.filters.tests.transform.RemoveTest) ... ok test_remove_text_context (genshi.filters.tests.transform.RemoveTest) ... ok test_unwrap_adjacent (genshi.filters.tests.transform.UnwrapText) ... ok test_unwrap_attr (genshi.filters.tests.transform.UnwrapText) ... ok test_unwrap_element (genshi.filters.tests.transform.UnwrapText) ... ok test_unwrap_root (genshi.filters.tests.transform.UnwrapText) ... ok test_unwrap_text (genshi.filters.tests.transform.UnwrapText) ... ok test_unwrap_text_root (genshi.filters.tests.transform.UnwrapText) ... ok test_wrap_adjacent_elements (genshi.filters.tests.transform.WrapTest) ... ok test_wrap_element (genshi.filters.tests.transform.WrapTest) ... ok test_wrap_root (genshi.filters.tests.transform.WrapTest) ... ok test_wrap_text (genshi.filters.tests.transform.WrapTest) ... ok test_wrap_text_root (genshi.filters.tests.transform.WrapTest) ... ok test_wrap_with_element (genshi.filters.tests.transform.WrapTest) ... ok test_filter_adjacent_elements (genshi.filters.tests.transform.FilterTest) ... ok test_filter_after_outside (genshi.filters.tests.transform.FilterTest) ... ok test_filter_element (genshi.filters.tests.transform.FilterTest) ... ok test_filter_root (genshi.filters.tests.transform.FilterTest) ... ok test_filter_text (genshi.filters.tests.transform.FilterTest) ... ok test_filter_text_root (genshi.filters.tests.transform.FilterTest) ... ok test_map_element (genshi.filters.tests.transform.MapTest) ... ok test_map_with_attribute (genshi.filters.tests.transform.MapTest) ... ok test_map_with_root_and_end_kind (genshi.filters.tests.transform.MapTest) ... ok test_map_with_text_kind (genshi.filters.tests.transform.MapTest) ... ok test_substitute_foo (genshi.filters.tests.transform.SubstituteTest) ... ok test_substitute_foobar_with_group (genshi.filters.tests.transform.SubstituteTest) ... ok test_rename_element (genshi.filters.tests.transform.RenameTest) ... ok test_rename_root (genshi.filters.tests.transform.RenameTest) ... ok test_rename_text (genshi.filters.tests.transform.RenameTest) ... ok test_replace_adjacent_elements (genshi.filters.tests.transform.ReplaceTest) ... ok test_replace_all (genshi.filters.tests.transform.ReplaceTest) ... ok test_replace_context (genshi.filters.tests.transform.ReplaceTest) ... ok test_replace_element (genshi.filters.tests.transform.ReplaceTest) ... ok test_replace_text (genshi.filters.tests.transform.ReplaceTest) ... ok test_replace_text_context (genshi.filters.tests.transform.ReplaceTest) ... ok test_replace_with_callback (genshi.filters.tests.transform.ReplaceTest) ... ok test_before_adjacent_elements (genshi.filters.tests.transform.BeforeTest) ... ok test_before_all (genshi.filters.tests.transform.BeforeTest) ... ok test_before_context (genshi.filters.tests.transform.BeforeTest) ... ok test_before_element (genshi.filters.tests.transform.BeforeTest) ... ok test_before_text (genshi.filters.tests.transform.BeforeTest) ... ok test_before_text_context (genshi.filters.tests.transform.BeforeTest) ... ok test_before_with_callback (genshi.filters.tests.transform.BeforeTest) ... ok test_after_adjacent_elements (genshi.filters.tests.transform.AfterTest) ... ok test_after_all (genshi.filters.tests.transform.AfterTest) ... ok test_after_context (genshi.filters.tests.transform.AfterTest) ... ok test_after_element (genshi.filters.tests.transform.AfterTest) ... ok test_after_text (genshi.filters.tests.transform.AfterTest) ... ok test_after_text_context (genshi.filters.tests.transform.AfterTest) ... ok test_after_with_callback (genshi.filters.tests.transform.AfterTest) ... ok test_prepend_adjacent_elements (genshi.filters.tests.transform.PrependTest) ... ok test_prepend_all (genshi.filters.tests.transform.PrependTest) ... ok test_prepend_context (genshi.filters.tests.transform.PrependTest) ... ok test_prepend_element (genshi.filters.tests.transform.PrependTest) ... ok test_prepend_text (genshi.filters.tests.transform.PrependTest) ... ok test_prepend_text_context (genshi.filters.tests.transform.PrependTest) ... ok test_prepend_with_callback (genshi.filters.tests.transform.PrependTest) ... ok test_append_adjacent_elements (genshi.filters.tests.transform.AppendTest) ... ok test_append_all (genshi.filters.tests.transform.AppendTest) ... ok test_append_context (genshi.filters.tests.transform.AppendTest) ... ok test_append_element (genshi.filters.tests.transform.AppendTest) ... ok test_append_text (genshi.filters.tests.transform.AppendTest) ... ok test_append_text_context (genshi.filters.tests.transform.AppendTest) ... ok test_append_with_callback (genshi.filters.tests.transform.AppendTest) ... ok test_attr_from_function (genshi.filters.tests.transform.AttrTest) ... ok test_remove_attr (genshi.filters.tests.transform.AttrTest) ... ok test_remove_attr_with_function (genshi.filters.tests.transform.AttrTest) ... ok test_set_existing_attr (genshi.filters.tests.transform.AttrTest) ... ok test_set_new_attr (genshi.filters.tests.transform.AttrTest) ... ok test_copy_adjacent_elements (genshi.filters.tests.transform.CopyTest) ... ok test_copy_all (genshi.filters.tests.transform.CopyTest) ... ok test_copy_attribute (genshi.filters.tests.transform.CopyTest) ... ok test_copy_attributes (genshi.filters.tests.transform.CopyTest) ... ok test_copy_context (genshi.filters.tests.transform.CopyTest) ... ok test_copy_element (genshi.filters.tests.transform.CopyTest) ... ok test_copy_text (genshi.filters.tests.transform.CopyTest) ... ok test_cut_adjacent_elements (genshi.filters.tests.transform.CutTest) ... ok test_cut_all (genshi.filters.tests.transform.CutTest) ... ok test_cut_attribute (genshi.filters.tests.transform.CutTest) ... ok test_cut_attributes (genshi.filters.tests.transform.CutTest) ... ok test_cut_context (genshi.filters.tests.transform.CutTest) ... ok test_cut_element (genshi.filters.tests.transform.CutTest) ... ok test_cut_text (genshi.filters.tests.transform.CutTest) ... ok transform (genshi.filters) Doctest: genshi.filters.transform ... ok InjectorTransformation (genshi.filters.transform) Doctest: genshi.filters.transform.InjectorTransformation ... ok Transformer (genshi.filters.transform) Doctest: genshi.filters.transform.Transformer ... ok after (genshi.filters.transform.Transformer) Doctest: genshi.filters.transform.Transformer.after ... ok append (genshi.filters.transform.Transformer) Doctest: genshi.filters.transform.Transformer.append ... ok apply (genshi.filters.transform.Transformer) Doctest: genshi.filters.transform.Transformer.apply ... ok attr (genshi.filters.transform.Transformer) Doctest: genshi.filters.transform.Transformer.attr ... ok before (genshi.filters.transform.Transformer) Doctest: genshi.filters.transform.Transformer.before ... ok buffer (genshi.filters.transform.Transformer) Doctest: genshi.filters.transform.Transformer.buffer ... ok copy (genshi.filters.transform.Transformer) Doctest: genshi.filters.transform.Transformer.copy ... ok cut (genshi.filters.transform.Transformer) Doctest: genshi.filters.transform.Transformer.cut ... ok empty (genshi.filters.transform.Transformer) Doctest: genshi.filters.transform.Transformer.empty ... ok end (genshi.filters.transform.Transformer) Doctest: genshi.filters.transform.Transformer.end ... ok filter (genshi.filters.transform.Transformer) Doctest: genshi.filters.transform.Transformer.filter ... ok invert (genshi.filters.transform.Transformer) Doctest: genshi.filters.transform.Transformer.invert ... ok map (genshi.filters.transform.Transformer) Doctest: genshi.filters.transform.Transformer.map ... ok prepend (genshi.filters.transform.Transformer) Doctest: genshi.filters.transform.Transformer.prepend ... ok remove (genshi.filters.transform.Transformer) Doctest: genshi.filters.transform.Transformer.remove ... ok rename (genshi.filters.transform.Transformer) Doctest: genshi.filters.transform.Transformer.rename ... ok replace (genshi.filters.transform.Transformer) Doctest: genshi.filters.transform.Transformer.replace ... ok select (genshi.filters.transform.Transformer) Doctest: genshi.filters.transform.Transformer.select ... ok substitute (genshi.filters.transform.Transformer) Doctest: genshi.filters.transform.Transformer.substitute ... ok trace (genshi.filters.transform.Transformer) Doctest: genshi.filters.transform.Transformer.trace ... ok unwrap (genshi.filters.transform.Transformer) Doctest: genshi.filters.transform.Transformer.unwrap ... ok wrap (genshi.filters.transform.Transformer) Doctest: genshi.filters.transform.Transformer.wrap ... ok HTML (genshi.input) Doctest: genshi.input.HTML ... ok HTMLParser (genshi.input) Doctest: genshi.input.HTMLParser ... ok XML (genshi.input) Doctest: genshi.input.XML ... ok XMLParser (genshi.input) Doctest: genshi.input.XMLParser ... ok test_element_attribute_order (genshi.tests.input.XMLParserTestCase) ... ok test_html_entity_in_attribute (genshi.tests.input.XMLParserTestCase) ... ok test_html_entity_with_dtd (genshi.tests.input.XMLParserTestCase) ... ok test_html_entity_without_dtd (genshi.tests.input.XMLParserTestCase) ... ok test_latin1_encoded (genshi.tests.input.XMLParserTestCase) ... ok test_latin1_encoded_xmldecl (genshi.tests.input.XMLParserTestCase) ... ok test_text_node_pos_multi_line (genshi.tests.input.XMLParserTestCase) ... ok test_text_node_pos_single_line (genshi.tests.input.XMLParserTestCase) ... ok test_undefined_entity_with_dtd (genshi.tests.input.XMLParserTestCase) ... ok test_undefined_entity_without_dtd (genshi.tests.input.XMLParserTestCase) ... ok test_unicode_input (genshi.tests.input.XMLParserTestCase) ... ok test_hex_charref (genshi.tests.input.HTMLParserTestCase) ... ok test_html_entity_in_attribute (genshi.tests.input.HTMLParserTestCase) ... ok test_html_entity_in_text (genshi.tests.input.HTMLParserTestCase) ... ok test_input_encoding_attribute (genshi.tests.input.HTMLParserTestCase) ... ok test_input_encoding_text (genshi.tests.input.HTMLParserTestCase) ... ok test_multibyte_character_on_chunk_boundary (genshi.tests.input.HTMLParserTestCase) ... ok test_out_of_order_tags1 (genshi.tests.input.HTMLParserTestCase) ... ok test_out_of_order_tags2 (genshi.tests.input.HTMLParserTestCase) ... ok test_out_of_order_tags3 (genshi.tests.input.HTMLParserTestCase) ... ok test_processing_instruction (genshi.tests.input.HTMLParserTestCase) ... ok test_processing_instruction_no_data_1 (genshi.tests.input.HTMLParserTestCase) ... ok test_processing_instruction_no_data_2 (genshi.tests.input.HTMLParserTestCase) ... ok test_processing_instruction_trailing_qmark (genshi.tests.input.HTMLParserTestCase) ... ok test_text_node_pos_multi_line (genshi.tests.input.HTMLParserTestCase) ... ok test_text_node_pos_single_line (genshi.tests.input.HTMLParserTestCase) ... ok test_unicode_input (genshi.tests.input.HTMLParserTestCase) ... ok test_xmldecl (genshi.tests.input.HTMLParserTestCase) ... ok test_xmldecl_encoding (genshi.tests.input.HTMLParserTestCase) ... ok test_xmldecl_standalone (genshi.tests.input.HTMLParserTestCase) ... ok test_atom_with_xhtml (genshi.tests.output.XMLSerializerTestCase) ... ok test_comment (genshi.tests.output.XMLSerializerTestCase) ... ok test_doctype_in_stream (genshi.tests.output.XMLSerializerTestCase) ... ok test_doctype_in_stream_no_pubid (genshi.tests.output.XMLSerializerTestCase) ... ok test_doctype_in_stream_no_pubid_or_sysid (genshi.tests.output.XMLSerializerTestCase) ... ok test_doctype_in_stream_no_sysid (genshi.tests.output.XMLSerializerTestCase) ... ok test_doctype_one_and_only (genshi.tests.output.XMLSerializerTestCase) ... ok test_multiple_bound_namespaces (genshi.tests.output.XMLSerializerTestCase) ... ok test_multiple_default_namespaces (genshi.tests.output.XMLSerializerTestCase) ... ok test_nested_bound_namespaces (genshi.tests.output.XMLSerializerTestCase) ... ok test_nested_default_namespaces (genshi.tests.output.XMLSerializerTestCase) ... ok test_processing_instruction (genshi.tests.output.XMLSerializerTestCase) ... ok test_serializer_doctype (genshi.tests.output.XMLSerializerTestCase) ... ok test_with_xml_decl (genshi.tests.output.XMLSerializerTestCase) ... ok test_cache_markup (genshi.tests.output.XHTMLSerializerTestCase) ... ok test_embedded_svg (genshi.tests.output.XHTMLSerializerTestCase) ... ok test_empty_script (genshi.tests.output.XHTMLSerializerTestCase) ... ok test_html5_doctype (genshi.tests.output.XHTMLSerializerTestCase) ... ok test_ignorable_space (genshi.tests.output.XHTMLSerializerTestCase) ... ok test_nested_bound_namespaces (genshi.tests.output.XHTMLSerializerTestCase) ... ok test_nested_default_namespaces (genshi.tests.output.XHTMLSerializerTestCase) ... ok test_pre_whitespace (genshi.tests.output.XHTMLSerializerTestCase) ... ok test_script_escaping (genshi.tests.output.XHTMLSerializerTestCase) ... ok test_script_escaping_with_namespace (genshi.tests.output.XHTMLSerializerTestCase) ... ok test_style_escaping (genshi.tests.output.XHTMLSerializerTestCase) ... ok test_style_escaping_with_namespace (genshi.tests.output.XHTMLSerializerTestCase) ... ok test_textarea_whitespace (genshi.tests.output.XHTMLSerializerTestCase) ... ok test_xhtml_namespace_prefix (genshi.tests.output.XHTMLSerializerTestCase) ... ok test_xml_decl_dropped (genshi.tests.output.XHTMLSerializerTestCase) ... ok test_xml_decl_included (genshi.tests.output.XHTMLSerializerTestCase) ... ok test_xml_lang (genshi.tests.output.XHTMLSerializerTestCase) ... ok test_xml_lang_nodup (genshi.tests.output.XHTMLSerializerTestCase) ... ok test_xml_space (genshi.tests.output.XHTMLSerializerTestCase) ... ok test_empty_script (genshi.tests.output.HTMLSerializerTestCase) ... ok test_html5_doctype (genshi.tests.output.HTMLSerializerTestCase) ... ok test_pre_whitespace (genshi.tests.output.HTMLSerializerTestCase) ... ok test_script_escaping (genshi.tests.output.HTMLSerializerTestCase) ... ok test_script_escaping_with_namespace (genshi.tests.output.HTMLSerializerTestCase) ... ok test_style_escaping (genshi.tests.output.HTMLSerializerTestCase) ... ok test_style_escaping_with_namespace (genshi.tests.output.HTMLSerializerTestCase) ... ok test_textarea_whitespace (genshi.tests.output.HTMLSerializerTestCase) ... ok test_xml_lang (genshi.tests.output.HTMLSerializerTestCase) ... ok test_xml_lang_nodup (genshi.tests.output.HTMLSerializerTestCase) ... ok test_xml_space (genshi.tests.output.HTMLSerializerTestCase) ... ok test_elem_content (genshi.tests.output.EmptyTagFilterTestCase) ... ok test_empty (genshi.tests.output.EmptyTagFilterTestCase) ... ok test_text_content (genshi.tests.output.EmptyTagFilterTestCase) ... ok HTMLSerializer (genshi.output) Doctest: genshi.output.HTMLSerializer ... ok NamespaceFlattener (genshi.output) Doctest: genshi.output.NamespaceFlattener ... ok TextSerializer (genshi.output) Doctest: genshi.output.TextSerializer ... ok XHTMLSerializer (genshi.output) Doctest: genshi.output.XHTMLSerializer ... ok XMLSerializer (genshi.output) Doctest: genshi.output.XMLSerializer ... ok path (genshi) Doctest: genshi.path ... ok select (genshi.path.Path) Doctest: genshi.path.Path.select ... ok test (genshi.path.Path) Doctest: genshi.path.Path.test ... ok test_1step (genshi.tests.path.PathTestCase) ... ok test_1step_attribute (genshi.tests.path.PathTestCase) ... ok test_1step_self (genshi.tests.path.PathTestCase) ... ok test_1step_text (genshi.tests.path.PathTestCase) ... ok test_1step_wildcard (genshi.tests.path.PathTestCase) ... ok test_2step (genshi.tests.path.PathTestCase) ... ok test_2step_attribute (genshi.tests.path.PathTestCase) ... ok test_2step_complex (genshi.tests.path.PathTestCase) ... ok test_2step_text (genshi.tests.path.PathTestCase) ... ok test_3step (genshi.tests.path.PathTestCase) ... ok test_3step_complex (genshi.tests.path.PathTestCase) ... ok test_3step_complex_text (genshi.tests.path.PathTestCase) ... ok test_attr_selection (genshi.tests.path.PathTestCase) ... ok test_attr_selection_with_namespace (genshi.tests.path.PathTestCase) ... ok test_attrname_with_namespace (genshi.tests.path.PathTestCase) ... ok test_attrwildcard_with_namespace (genshi.tests.path.PathTestCase) ... ok test_error_no_absolute_path (genshi.tests.path.PathTestCase) ... ok test_error_unsupported_axis (genshi.tests.path.PathTestCase) ... ok test_long_simple_paths (genshi.tests.path.PathTestCase) ... ok test_name_with_namespace (genshi.tests.path.PathTestCase) ... ok test_node_type_comment (genshi.tests.path.PathTestCase) ... ok test_node_type_node (genshi.tests.path.PathTestCase) ... ok test_node_type_processing_instruction (genshi.tests.path.PathTestCase) ... ok test_node_type_text (genshi.tests.path.PathTestCase) ... ok test_predicate_advanced_position (genshi.tests.path.PathTestCase) ... ok test_predicate_attr (genshi.tests.path.PathTestCase) ... ok test_predicate_attr_and (genshi.tests.path.PathTestCase) ... ok test_predicate_attr_and_position (genshi.tests.path.PathTestCase) ... ok test_predicate_attr_equality (genshi.tests.path.PathTestCase) ... ok test_predicate_attr_greater_than (genshi.tests.path.PathTestCase) ... ok test_predicate_attr_less_than (genshi.tests.path.PathTestCase) ... ok test_predicate_attr_or (genshi.tests.path.PathTestCase) ... ok test_predicate_boolean_function (genshi.tests.path.PathTestCase) ... ok test_predicate_ceil_function (genshi.tests.path.PathTestCase) ... ok test_predicate_child_position (genshi.tests.path.PathTestCase) ... ok test_predicate_concat_function (genshi.tests.path.PathTestCase) ... ok test_predicate_contains_function (genshi.tests.path.PathTestCase) ... ok test_predicate_false_function (genshi.tests.path.PathTestCase) ... ok test_predicate_floor_function (genshi.tests.path.PathTestCase) ... ok test_predicate_localname (genshi.tests.path.PathTestCase) ... ok test_predicate_matches_function (genshi.tests.path.PathTestCase) ... ok test_predicate_name (genshi.tests.path.PathTestCase) ... ok test_predicate_namespace (genshi.tests.path.PathTestCase) ... ok test_predicate_normalize_space_function (genshi.tests.path.PathTestCase) ... ok test_predicate_not_name (genshi.tests.path.PathTestCase) ... ok test_predicate_number_function (genshi.tests.path.PathTestCase) ... ok test_predicate_position (genshi.tests.path.PathTestCase) ... ok test_predicate_position_and_attr (genshi.tests.path.PathTestCase) ... ok test_predicate_round_function (genshi.tests.path.PathTestCase) ... ok test_predicate_starts_with_function (genshi.tests.path.PathTestCase) ... ok test_predicate_string_length_function (genshi.tests.path.PathTestCase) ... ok test_predicate_substring_after_function (genshi.tests.path.PathTestCase) ... ok test_predicate_substring_before_function (genshi.tests.path.PathTestCase) ... ok test_predicate_substring_function (genshi.tests.path.PathTestCase) ... ok test_predicate_termination (genshi.tests.path.PathTestCase) ... ok test_predicate_translate_function (genshi.tests.path.PathTestCase) ... ok test_predicate_true_function (genshi.tests.path.PathTestCase) ... ok test_predicate_variable (genshi.tests.path.PathTestCase) ... ok test_self_and_descendant (genshi.tests.path.PathTestCase) ... ok test_simple_strategy_support (genshi.tests.path.PathTestCase) ... ok test_simple_union (genshi.tests.path.PathTestCase) ... ok test_wildcard_with_namespace (genshi.tests.path.PathTestCase) ... ok Context (genshi.template.base) Doctest: genshi.template.base.Context ... ok test_copy (genshi.template.tests.base.ContextTestCase) ... ok AttrsDirective (genshi.template.directives) Doctest: genshi.template.directives.AttrsDirective ... ok ChooseDirective (genshi.template.directives) Doctest: genshi.template.directives.ChooseDirective ... ok ContentDirective (genshi.template.directives) Doctest: genshi.template.directives.ContentDirective ... ok DefDirective (genshi.template.directives) Doctest: genshi.template.directives.DefDirective ... ok ForDirective (genshi.template.directives) Doctest: genshi.template.directives.ForDirective ... ok IfDirective (genshi.template.directives) Doctest: genshi.template.directives.IfDirective ... ok MatchDirective (genshi.template.directives) Doctest: genshi.template.directives.MatchDirective ... ok ReplaceDirective (genshi.template.directives) Doctest: genshi.template.directives.ReplaceDirective ... ok StripDirective (genshi.template.directives) Doctest: genshi.template.directives.StripDirective ... ok WithDirective (genshi.template.directives) Doctest: genshi.template.directives.WithDirective ... ok test_combined_with_loop (genshi.template.tests.directives.AttrsDirectiveTestCase) ... ok test_remove_existing_attr (genshi.template.tests.directives.AttrsDirectiveTestCase) ... ok test_update_existing_attr (genshi.template.tests.directives.AttrsDirectiveTestCase) ... ok test_as_element (genshi.template.tests.directives.ChooseDirectiveTestCase) ... ok test_complex_nesting (genshi.template.tests.directives.ChooseDirectiveTestCase) ... ok test_complex_nesting_otherwise (genshi.template.tests.directives.ChooseDirectiveTestCase) ... ok test_in_text_template (genshi.template.tests.directives.ChooseDirectiveTestCase) ... ok test_multiple_true_whens (genshi.template.tests.directives.ChooseDirectiveTestCase) ... ok test_nesting (genshi.template.tests.directives.ChooseDirectiveTestCase) ... ok test_otherwise (genshi.template.tests.directives.ChooseDirectiveTestCase) ... ok test_otherwise_outside_choose (genshi.template.tests.directives.ChooseDirectiveTestCase) ... ok test_otherwise_without_test (genshi.template.tests.directives.ChooseDirectiveTestCase) ... ok test_when_outside_choose (genshi.template.tests.directives.ChooseDirectiveTestCase) ... ok test_when_with_strip (genshi.template.tests.directives.ChooseDirectiveTestCase) ... ok test_when_without_test (genshi.template.tests.directives.ChooseDirectiveTestCase) ... ok test_when_without_test_but_with_choose_value (genshi.template.tests.directives.ChooseDirectiveTestCase) ... ok test_as_element (genshi.template.tests.directives.DefDirectiveTestCase) ... ok test_def_in_matched (genshi.template.tests.directives.DefDirectiveTestCase) ... ok test_exec_in_replace (genshi.template.tests.directives.DefDirectiveTestCase) ... ok test_function_raising_typeerror (genshi.template.tests.directives.DefDirectiveTestCase) ... ok test_function_with_default_arg (genshi.template.tests.directives.DefDirectiveTestCase) ... ok test_function_with_star_args (genshi.template.tests.directives.DefDirectiveTestCase) ... ok test_function_with_strip (genshi.template.tests.directives.DefDirectiveTestCase) ... ok test_in_text_template (genshi.template.tests.directives.DefDirectiveTestCase) ... ok test_invocation_in_attribute (genshi.template.tests.directives.DefDirectiveTestCase) ... ok test_invocation_in_attribute_none (genshi.template.tests.directives.DefDirectiveTestCase) ... ok test_nested_defs (genshi.template.tests.directives.DefDirectiveTestCase) ... ok test_as_element (genshi.template.tests.directives.ForDirectiveTestCase) ... ok test_for_with_empty_value (genshi.template.tests.directives.ForDirectiveTestCase) ... ok test_loop_with_strip (genshi.template.tests.directives.ForDirectiveTestCase) ... ok test_multi_assignment (genshi.template.tests.directives.ForDirectiveTestCase) ... ok test_nested_assignment (genshi.template.tests.directives.ForDirectiveTestCase) ... ok test_not_iterable (genshi.template.tests.directives.ForDirectiveTestCase) ... ok test_as_element (genshi.template.tests.directives.IfDirectiveTestCase) ... ok test_loop_with_strip (genshi.template.tests.directives.IfDirectiveTestCase) ... ok test_as_element (genshi.template.tests.directives.MatchDirectiveTestCase) ... ok test_cascaded_matches (genshi.template.tests.directives.MatchDirectiveTestCase) ... ok test_content_directive_in_match (genshi.template.tests.directives.MatchDirectiveTestCase) ... ok test_def_in_match (genshi.template.tests.directives.MatchDirectiveTestCase) ... ok test_match_multiple_times1 (genshi.template.tests.directives.MatchDirectiveTestCase) ... ok test_match_multiple_times2 (genshi.template.tests.directives.MatchDirectiveTestCase) ... ok test_match_multiple_times3 (genshi.template.tests.directives.MatchDirectiveTestCase) ... ok test_match_with_closure (genshi.template.tests.directives.MatchDirectiveTestCase) ... ok test_match_with_once_attribute (genshi.template.tests.directives.MatchDirectiveTestCase) ... ok test_match_with_position_predicate (genshi.template.tests.directives.MatchDirectiveTestCase) ... ok test_match_with_recursive_attribute (genshi.template.tests.directives.MatchDirectiveTestCase) ... ok test_match_with_xpath_variable (genshi.template.tests.directives.MatchDirectiveTestCase) ... ok test_match_without_closure (genshi.template.tests.directives.MatchDirectiveTestCase) ... ok test_multiple_matches (genshi.template.tests.directives.MatchDirectiveTestCase) ... ok test_namespace_context (genshi.template.tests.directives.MatchDirectiveTestCase) ... ok test_not_match_self (genshi.template.tests.directives.MatchDirectiveTestCase) ... ok test_recursive_match_1 (genshi.template.tests.directives.MatchDirectiveTestCase) ... ok test_recursive_match_2 (genshi.template.tests.directives.MatchDirectiveTestCase) ... ok test_recursive_match_3 (genshi.template.tests.directives.MatchDirectiveTestCase) ... ok test_select_all_attrs (genshi.template.tests.directives.MatchDirectiveTestCase) ... ok test_select_all_attrs_empty (genshi.template.tests.directives.MatchDirectiveTestCase) ... ok test_select_all_attrs_in_body (genshi.template.tests.directives.MatchDirectiveTestCase) ... ok test_select_text_in_element (genshi.template.tests.directives.MatchDirectiveTestCase) ... ok test_triple_match_produces_no_duplicate_items (genshi.template.tests.directives.MatchDirectiveTestCase) ... ok test_with_strip (genshi.template.tests.directives.MatchDirectiveTestCase) ... ok test_without_strip (genshi.template.tests.directives.MatchDirectiveTestCase) ... ok test_as_element (genshi.template.tests.directives.ContentDirectiveTestCase) ... ok test_as_element (genshi.template.tests.directives.ReplaceDirectiveTestCase) ... ok test_replace_with_empty_value (genshi.template.tests.directives.ReplaceDirectiveTestCase) ... ok test_strip_empty (genshi.template.tests.directives.StripDirectiveTestCase) ... ok test_strip_false (genshi.template.tests.directives.StripDirectiveTestCase) ... ok test_as_element (genshi.template.tests.directives.WithDirectiveTestCase) ... ok test_ast_transformation (genshi.template.tests.directives.WithDirectiveTestCase) ... ok test_multiple_vars_same_name (genshi.template.tests.directives.WithDirectiveTestCase) ... ok test_multiple_vars_single_assignment (genshi.template.tests.directives.WithDirectiveTestCase) ... ok test_multiple_vars_trailing_semicolon (genshi.template.tests.directives.WithDirectiveTestCase) ... ok test_nested_vars_single_assignment (genshi.template.tests.directives.WithDirectiveTestCase) ... ok test_semicolon_escape (genshi.template.tests.directives.WithDirectiveTestCase) ... ok test_shadowing (genshi.template.tests.directives.WithDirectiveTestCase) ... ok test_unicode_expr (genshi.template.tests.directives.WithDirectiveTestCase) ... ok test_with_empty_value (genshi.template.tests.directives.WithDirectiveTestCase) ... ok Expression (genshi.template.eval) Doctest: genshi.template.eval.Expression ... ok LenientLookup (genshi.template.eval) Doctest: genshi.template.eval.LenientLookup ... ok StrictLookup (genshi.template.eval) Doctest: genshi.template.eval.StrictLookup ... ok Suite (genshi.template.eval) Doctest: genshi.template.eval.Suite ... ok Undefined (genshi.template.eval) Doctest: genshi.template.eval.Undefined ... ok test_access_undefined (genshi.template.tests.eval.ExpressionTestCase) ... ok test_binop_add (genshi.template.tests.eval.ExpressionTestCase) ... ok test_binop_and (genshi.template.tests.eval.ExpressionTestCase) ... ok test_binop_contains (genshi.template.tests.eval.ExpressionTestCase) ... ok test_binop_div (genshi.template.tests.eval.ExpressionTestCase) ... ok test_binop_floordiv (genshi.template.tests.eval.ExpressionTestCase) ... ok test_binop_is (genshi.template.tests.eval.ExpressionTestCase) ... ok test_binop_is_not (genshi.template.tests.eval.ExpressionTestCase) ... ok test_binop_mod (genshi.template.tests.eval.ExpressionTestCase) ... ok test_binop_mul (genshi.template.tests.eval.ExpressionTestCase) ... ok test_binop_not_contains (genshi.template.tests.eval.ExpressionTestCase) ... ok test_binop_or (genshi.template.tests.eval.ExpressionTestCase) ... ok test_binop_pow (genshi.template.tests.eval.ExpressionTestCase) ... ok test_binop_sub (genshi.template.tests.eval.ExpressionTestCase) ... ok test_binop_xor (genshi.template.tests.eval.ExpressionTestCase) ... ok test_boolop_and (genshi.template.tests.eval.ExpressionTestCase) ... ok test_boolop_or (genshi.template.tests.eval.ExpressionTestCase) ... ok test_builtins (genshi.template.tests.eval.ExpressionTestCase) ... ok test_call_dstar_args (genshi.template.tests.eval.ExpressionTestCase) ... ok test_call_function (genshi.template.tests.eval.ExpressionTestCase) ... ok test_call_keywords (genshi.template.tests.eval.ExpressionTestCase) ... ok test_call_star_args (genshi.template.tests.eval.ExpressionTestCase) ... ok test_compare_eq (genshi.template.tests.eval.ExpressionTestCase) ... ok test_compare_ge (genshi.template.tests.eval.ExpressionTestCase) ... ok test_compare_gt (genshi.template.tests.eval.ExpressionTestCase) ... ok test_compare_le (genshi.template.tests.eval.ExpressionTestCase) ... ok test_compare_lt (genshi.template.tests.eval.ExpressionTestCase) ... ok test_compare_multi (genshi.template.tests.eval.ExpressionTestCase) ... ok test_compare_ne (genshi.template.tests.eval.ExpressionTestCase) ... ok test_conditional_expression (genshi.template.tests.eval.ExpressionTestCase) ... ok test_dict_literal (genshi.template.tests.eval.ExpressionTestCase) ... ok test_eq (genshi.template.tests.eval.ExpressionTestCase) ... ok test_error_access_undefined (genshi.template.tests.eval.ExpressionTestCase) ... ok test_error_getattr_undefined (genshi.template.tests.eval.ExpressionTestCase) ... ok test_error_getitem_undefined_string (genshi.template.tests.eval.ExpressionTestCase) ... ok test_generator_expression (genshi.template.tests.eval.ExpressionTestCase) ... ok test_generator_expression_with_getattr (genshi.template.tests.eval.ExpressionTestCase) ... ok test_generator_expression_with_getitem (genshi.template.tests.eval.ExpressionTestCase) ... ok test_getattr_exception (genshi.template.tests.eval.ExpressionTestCase) ... ok test_getattr_undefined (genshi.template.tests.eval.ExpressionTestCase) ... ok test_getitem_exception (genshi.template.tests.eval.ExpressionTestCase) ... ok test_getitem_undefined_string (genshi.template.tests.eval.ExpressionTestCase) ... ok test_hash (genshi.template.tests.eval.ExpressionTestCase) ... ok test_lambda (genshi.template.tests.eval.ExpressionTestCase) ... ok test_lambda_tuple_arg (genshi.template.tests.eval.ExpressionTestCase) ... ok test_list_comprehension (genshi.template.tests.eval.ExpressionTestCase) ... ok test_list_comprehension_with_getattr (genshi.template.tests.eval.ExpressionTestCase) ... ok test_list_comprehension_with_getitem (genshi.template.tests.eval.ExpressionTestCase) ... ok test_list_literal (genshi.template.tests.eval.ExpressionTestCase) ... ok test_name_lookup (genshi.template.tests.eval.ExpressionTestCase) ... ok test_num_literal (genshi.template.tests.eval.ExpressionTestCase) ... ok test_pickle (genshi.template.tests.eval.ExpressionTestCase) ... ok test_slice (genshi.template.tests.eval.ExpressionTestCase) ... ok test_slice_copy (genshi.template.tests.eval.ExpressionTestCase) ... ok test_slice_negative_end (genshi.template.tests.eval.ExpressionTestCase) ... ok test_slice_negative_start (genshi.template.tests.eval.ExpressionTestCase) ... ok test_slice_stride (genshi.template.tests.eval.ExpressionTestCase) ... ok test_slice_with_vars (genshi.template.tests.eval.ExpressionTestCase) ... ok test_str_literal (genshi.template.tests.eval.ExpressionTestCase) ... ok test_str_literal_non_ascii (genshi.template.tests.eval.ExpressionTestCase) ... ok test_tuple_literal (genshi.template.tests.eval.ExpressionTestCase) ... ok test_unaryop_inv (genshi.template.tests.eval.ExpressionTestCase) ... ok test_unaryop_neg (genshi.template.tests.eval.ExpressionTestCase) ... ok test_unaryop_not (genshi.template.tests.eval.ExpressionTestCase) ... ok test_unaryop_pos (genshi.template.tests.eval.ExpressionTestCase) ... ok test_assign (genshi.template.tests.eval.SuiteTestCase) ... ok test_assign_in_list (genshi.template.tests.eval.SuiteTestCase) ... ok test_assign_to_attribute (genshi.template.tests.eval.SuiteTestCase) ... ok test_assign_to_dict_item (genshi.template.tests.eval.SuiteTestCase) ... ok test_augmented_assign_in_def (genshi.template.tests.eval.SuiteTestCase) ... ok test_augmented_assign_in_loop_in_def (genshi.template.tests.eval.SuiteTestCase) ... ok test_augmented_attribute_assignment (genshi.template.tests.eval.SuiteTestCase) ... ok test_class (genshi.template.tests.eval.SuiteTestCase) ... ok test_class_in_def (genshi.template.tests.eval.SuiteTestCase) ... ok test_class_with_methods (genshi.template.tests.eval.SuiteTestCase) ... ok test_def (genshi.template.tests.eval.SuiteTestCase) ... ok test_def_all_defaults (genshi.template.tests.eval.SuiteTestCase) ... ok test_def_kwargs (genshi.template.tests.eval.SuiteTestCase) ... ok test_def_nested (genshi.template.tests.eval.SuiteTestCase) ... ok test_def_some_defaults (genshi.template.tests.eval.SuiteTestCase) ... ok test_def_using_nonlocal (genshi.template.tests.eval.SuiteTestCase) ... ok test_def_vararg (genshi.template.tests.eval.SuiteTestCase) ... ok test_def_with_decorator (genshi.template.tests.eval.SuiteTestCase) ... ok test_def_with_multiple_statements (genshi.template.tests.eval.SuiteTestCase) ... ok test_delattr (genshi.template.tests.eval.SuiteTestCase) ... ok test_delete (genshi.template.tests.eval.SuiteTestCase) ... ok test_delitem (genshi.template.tests.eval.SuiteTestCase) ... ok test_exec (genshi.template.tests.eval.SuiteTestCase) ... ok test_finally (genshi.template.tests.eval.SuiteTestCase) ... ok test_for (genshi.template.tests.eval.SuiteTestCase) ... ok test_for_in_def (genshi.template.tests.eval.SuiteTestCase) ... ok test_if (genshi.template.tests.eval.SuiteTestCase) ... ok test_import (genshi.template.tests.eval.SuiteTestCase) ... ok test_import_in_def (genshi.template.tests.eval.SuiteTestCase) ... ok test_import_star (genshi.template.tests.eval.SuiteTestCase) ... ok test_internal_shadowing (genshi.template.tests.eval.SuiteTestCase) ... ok test_local_augmented_assign (genshi.template.tests.eval.SuiteTestCase) ... ok test_pickle (genshi.template.tests.eval.SuiteTestCase) ... ok test_raise (genshi.template.tests.eval.SuiteTestCase) ... ok test_return (genshi.template.tests.eval.SuiteTestCase) ... ok test_try_except (genshi.template.tests.eval.SuiteTestCase) ... ok test_while_break (genshi.template.tests.eval.SuiteTestCase) ... ok test_with_statement (genshi.template.tests.eval.SuiteTestCase) ... ok test_yield_expression (genshi.template.tests.eval.SuiteTestCase) ... ok interpolate (genshi.template.interpolation) Doctest: genshi.template.interpolation.interpolate ... ok test_interpolate_dobuleescaped (genshi.template.tests.interpolation.InterpolateTestCase) ... ok test_interpolate_escaped (genshi.template.tests.interpolation.InterpolateTestCase) ... ok test_interpolate_full_mismatched_brackets (genshi.template.tests.interpolation.InterpolateTestCase) ... ok test_interpolate_full_nested_brackets (genshi.template.tests.interpolation.InterpolateTestCase) ... ok test_interpolate_mixed1 (genshi.template.tests.interpolation.InterpolateTestCase) ... ok test_interpolate_mixed2 (genshi.template.tests.interpolation.InterpolateTestCase) ... ok test_interpolate_quoted_brackets_1 (genshi.template.tests.interpolation.InterpolateTestCase) ... ok test_interpolate_quoted_brackets_2 (genshi.template.tests.interpolation.InterpolateTestCase) ... ok test_interpolate_quoted_brackets_3 (genshi.template.tests.interpolation.InterpolateTestCase) ... ok test_interpolate_quoted_brackets_4 (genshi.template.tests.interpolation.InterpolateTestCase) ... ok test_interpolate_quoted_brackets_5 (genshi.template.tests.interpolation.InterpolateTestCase) ... ok test_interpolate_short (genshi.template.tests.interpolation.InterpolateTestCase) ... ok test_interpolate_short_containing_digit (genshi.template.tests.interpolation.InterpolateTestCase) ... ok test_interpolate_short_containing_dot (genshi.template.tests.interpolation.InterpolateTestCase) ... ok test_interpolate_short_containing_underscore (genshi.template.tests.interpolation.InterpolateTestCase) ... ok test_interpolate_short_doubleescaped (genshi.template.tests.interpolation.InterpolateTestCase) ... ok test_interpolate_short_escaped (genshi.template.tests.interpolation.InterpolateTestCase) ... ok test_interpolate_short_escaped_2 (genshi.template.tests.interpolation.InterpolateTestCase) ... ok test_interpolate_short_starting_with_digit (genshi.template.tests.interpolation.InterpolateTestCase) ... ok test_interpolate_short_starting_with_dot (genshi.template.tests.interpolation.InterpolateTestCase) ... ok test_interpolate_short_starting_with_underscore (genshi.template.tests.interpolation.InterpolateTestCase) ... ok test_interpolate_simple (genshi.template.tests.interpolation.InterpolateTestCase) ... ok test_interpolate_string (genshi.template.tests.interpolation.InterpolateTestCase) ... ok test_interpolate_triplequoted (genshi.template.tests.interpolation.InterpolateTestCase) ... ok TemplateLoader (genshi.template.loader) Doctest: genshi.template.loader.TemplateLoader ... ok prefixed (genshi.template.loader) Doctest: genshi.template.loader.prefixed ... ok test_absolute_include (genshi.template.tests.loader.TemplateLoaderTestCase) ... ok test_abspath_caching (genshi.template.tests.loader.TemplateLoaderTestCase) ... ok test_abspath_include_caching_without_search_path (genshi.template.tests.loader.TemplateLoaderTestCase) ... ok test_load_with_callback (genshi.template.tests.loader.TemplateLoaderTestCase) ... ok test_load_with_default_encoding (genshi.template.tests.loader.TemplateLoaderTestCase) ... ok test_load_with_explicit_encoding (genshi.template.tests.loader.TemplateLoaderTestCase) ... ok test_prefix_delegation_to_directories (genshi.template.tests.loader.TemplateLoaderTestCase) ... ok test_prefix_delegation_to_directories_with_subdirs (genshi.template.tests.loader.TemplateLoaderTestCase) ... ok test_relative_absolute_template_preferred (genshi.template.tests.loader.TemplateLoaderTestCase) ... ok test_relative_include_from_inmemory_template (genshi.template.tests.loader.TemplateLoaderTestCase) ... ok test_relative_include_parentdir (genshi.template.tests.loader.TemplateLoaderTestCase) ... ok test_relative_include_samedir (genshi.template.tests.loader.TemplateLoaderTestCase) ... ok test_relative_include_samesubdir (genshi.template.tests.loader.TemplateLoaderTestCase) ... ok test_relative_include_subdir (genshi.template.tests.loader.TemplateLoaderTestCase) ... ok test_relative_include_without_loader (genshi.template.tests.loader.TemplateLoaderTestCase) ... ok test_relative_include_without_loader_relative (genshi.template.tests.loader.TemplateLoaderTestCase) ... ok test_relative_include_without_search_path (genshi.template.tests.loader.TemplateLoaderTestCase) ... ok test_relative_include_without_search_path_nested (genshi.template.tests.loader.TemplateLoaderTestCase) ... ok test_search_path_as_string (genshi.template.tests.loader.TemplateLoaderTestCase) ... ok test_search_path_empty (genshi.template.tests.loader.TemplateLoaderTestCase) ... ok MarkupTemplate (genshi.template.markup) Doctest: genshi.template.markup.MarkupTemplate ... ok test_allow_exec_false (genshi.template.tests.markup.MarkupTemplateTestCase) ... ok test_allow_exec_true (genshi.template.tests.markup.MarkupTemplateTestCase) ... ok test_attr_escape_quotes (genshi.template.tests.markup.MarkupTemplateTestCase) ... ok test_bad_directive_error (genshi.template.tests.markup.MarkupTemplateTestCase) ... ok test_directive_element (genshi.template.tests.markup.MarkupTemplateTestCase) ... ok test_directive_value_syntax_error (genshi.template.tests.markup.MarkupTemplateTestCase) ... ok test_dynamic_include_href (genshi.template.tests.markup.MarkupTemplateTestCase) ... ok test_empty_attr (genshi.template.tests.markup.MarkupTemplateTestCase) ... ok test_empty_attr_interpolated (genshi.template.tests.markup.MarkupTemplateTestCase) ... ok test_error_when_include_not_found (genshi.template.tests.markup.MarkupTemplateTestCase) ... ok test_exec_def (genshi.template.tests.markup.MarkupTemplateTestCase) ... ok test_exec_import (genshi.template.tests.markup.MarkupTemplateTestCase) ... ok test_exec_in_match (genshi.template.tests.markup.MarkupTemplateTestCase) ... ok test_exec_with_trailing_space (genshi.template.tests.markup.MarkupTemplateTestCase) ... ok test_expression_syntax_error (genshi.template.tests.markup.MarkupTemplateTestCase) ... ok test_expression_syntax_error_multi_line (genshi.template.tests.markup.MarkupTemplateTestCase) ... ok test_fallback_when_auto_reload_true (genshi.template.tests.markup.MarkupTemplateTestCase) ... ok test_fallback_when_include_found (genshi.template.tests.markup.MarkupTemplateTestCase) ... ok test_fallback_when_include_not_found (genshi.template.tests.markup.MarkupTemplateTestCase) ... ok test_include_fallback_with_directive (genshi.template.tests.markup.MarkupTemplateTestCase) ... ok test_include_in_fallback (genshi.template.tests.markup.MarkupTemplateTestCase) ... ok test_include_in_loop (genshi.template.tests.markup.MarkupTemplateTestCase) ... ok test_include_inline_recursive (genshi.template.tests.markup.MarkupTemplateTestCase) ... ok test_include_inlined (genshi.template.tests.markup.MarkupTemplateTestCase) ... ok test_include_inlined_in_loop (genshi.template.tests.markup.MarkupTemplateTestCase) ... ok test_interpolate_leading_trailing_space (genshi.template.tests.markup.MarkupTemplateTestCase) ... ok test_interpolate_list_result (genshi.template.tests.markup.MarkupTemplateTestCase) ... ok test_interpolate_mixed3 (genshi.template.tests.markup.MarkupTemplateTestCase) ... ok test_interpolate_multiline (genshi.template.tests.markup.MarkupTemplateTestCase) ... ok test_interpolate_non_string_attrs (genshi.template.tests.markup.MarkupTemplateTestCase) ... ok test_latin1_encoded_explicit_encoding (genshi.template.tests.markup.MarkupTemplateTestCase) ... ok test_latin1_encoded_with_xmldecl (genshi.template.tests.markup.MarkupTemplateTestCase) ... ok test_markup_noescape (genshi.template.tests.markup.MarkupTemplateTestCase) ... ok test_match_tail_handling (genshi.template.tests.markup.MarkupTemplateTestCase) ... ok test_match_without_select (genshi.template.tests.markup.MarkupTemplateTestCase) ... ok test_namespace_on_removed_elem (genshi.template.tests.markup.MarkupTemplateTestCase) ... ok test_nested_include_fallback (genshi.template.tests.markup.MarkupTemplateTestCase) ... ok test_nested_include_in_fallback (genshi.template.tests.markup.MarkupTemplateTestCase) ... ok test_nested_include_matches (genshi.template.tests.markup.MarkupTemplateTestCase) ... ok test_nested_matches_without_buffering (genshi.template.tests.markup.MarkupTemplateTestCase) ... ok test_normal_comment (genshi.template.tests.markup.MarkupTemplateTestCase) ... ok test_parse_fileobj (genshi.template.tests.markup.MarkupTemplateTestCase) ... ok test_parse_stream (genshi.template.tests.markup.MarkupTemplateTestCase) ... ok test_parse_with_same_namespace_nested (genshi.template.tests.markup.MarkupTemplateTestCase) ... ok test_pickle (genshi.template.tests.markup.MarkupTemplateTestCase) ... ok test_select_included_elements (genshi.template.tests.markup.MarkupTemplateTestCase) ... ok test_template_comment (genshi.template.tests.markup.MarkupTemplateTestCase) ... ok test_text_noescape_quotes (genshi.template.tests.markup.MarkupTemplateTestCase) ... ok test_with_in_match (genshi.template.tests.markup.MarkupTemplateTestCase) ... ok test_helper_functions (genshi.template.tests.plugin.MarkupTemplateEnginePluginTestCase) ... ok test_init_no_options (genshi.template.tests.plugin.MarkupTemplateEnginePluginTestCase) ... ok test_init_with_invalid_cache_size (genshi.template.tests.plugin.MarkupTemplateEnginePluginTestCase) ... ok test_init_with_invalid_doctype (genshi.template.tests.plugin.MarkupTemplateEnginePluginTestCase) ... ok test_init_with_invalid_output_format (genshi.template.tests.plugin.MarkupTemplateEnginePluginTestCase) ... ok test_init_with_loader_options (genshi.template.tests.plugin.MarkupTemplateEnginePluginTestCase) ... ok test_init_with_output_options (genshi.template.tests.plugin.MarkupTemplateEnginePluginTestCase) ... ok test_load_template_from_file (genshi.template.tests.plugin.MarkupTemplateEnginePluginTestCase) ... ok test_load_template_from_string (genshi.template.tests.plugin.MarkupTemplateEnginePluginTestCase) ... ok test_render (genshi.template.tests.plugin.MarkupTemplateEnginePluginTestCase) ... ok test_render_fragment_with_doctype (genshi.template.tests.plugin.MarkupTemplateEnginePluginTestCase) ... ok test_render_with_doctype (genshi.template.tests.plugin.MarkupTemplateEnginePluginTestCase) ... ok test_render_with_format (genshi.template.tests.plugin.MarkupTemplateEnginePluginTestCase) ... ok test_transform_with_load (genshi.template.tests.plugin.MarkupTemplateEnginePluginTestCase) ... ok test_transform_without_load (genshi.template.tests.plugin.MarkupTemplateEnginePluginTestCase) ... ok test_helper_functions (genshi.template.tests.plugin.TextTemplateEnginePluginTestCase) ... ok test_init_no_options (genshi.template.tests.plugin.TextTemplateEnginePluginTestCase) ... ok test_init_with_loader_options (genshi.template.tests.plugin.TextTemplateEnginePluginTestCase) ... ok test_init_with_new_syntax (genshi.template.tests.plugin.TextTemplateEnginePluginTestCase) ... ok test_init_with_output_options (genshi.template.tests.plugin.TextTemplateEnginePluginTestCase) ... ok test_load_template_from_file (genshi.template.tests.plugin.TextTemplateEnginePluginTestCase) ... ok test_load_template_from_string (genshi.template.tests.plugin.TextTemplateEnginePluginTestCase) ... ok test_render (genshi.template.tests.plugin.TextTemplateEnginePluginTestCase) ... ok test_transform_with_load (genshi.template.tests.plugin.TextTemplateEnginePluginTestCase) ... ok test_transform_without_load (genshi.template.tests.plugin.TextTemplateEnginePluginTestCase) ... ok NewTextTemplate (genshi.template.text) Doctest: genshi.template.text.NewTextTemplate ... ok OldTextTemplate (genshi.template.text) Doctest: genshi.template.text.OldTextTemplate ... ok test_comment (genshi.template.tests.text.OldTextTemplateTestCase) ... ok test_comment_escaping (genshi.template.tests.text.OldTextTemplateTestCase) ... ok test_empty_lines1 (genshi.template.tests.text.OldTextTemplateTestCase) ... ok test_empty_lines2 (genshi.template.tests.text.OldTextTemplateTestCase) ... ok test_end_with_args (genshi.template.tests.text.OldTextTemplateTestCase) ... ok test_escaping (genshi.template.tests.text.OldTextTemplateTestCase) ... ok test_include (genshi.template.tests.text.OldTextTemplateTestCase) ... ok test_latin1_encoded (genshi.template.tests.text.OldTextTemplateTestCase) ... ok test_unicode_input (genshi.template.tests.text.OldTextTemplateTestCase) ... ok test_comment (genshi.template.tests.text.NewTextTemplateTestCase) ... ok test_comment_escaping (genshi.template.tests.text.NewTextTemplateTestCase) ... ok test_empty_lines1 (genshi.template.tests.text.NewTextTemplateTestCase) ... ok test_empty_lines1_with_crlf (genshi.template.tests.text.NewTextTemplateTestCase) ... ok test_empty_lines2 (genshi.template.tests.text.NewTextTemplateTestCase) ... ok test_empty_lines2_with_crlf (genshi.template.tests.text.NewTextTemplateTestCase) ... ok test_end_with_args (genshi.template.tests.text.NewTextTemplateTestCase) ... ok test_escaping (genshi.template.tests.text.NewTextTemplateTestCase) ... ok test_exec_def (genshi.template.tests.text.NewTextTemplateTestCase) ... ok test_exec_import (genshi.template.tests.text.NewTextTemplateTestCase) ... ok test_exec_with_trailing_space (genshi.template.tests.text.NewTextTemplateTestCase) ... ok test_include (genshi.template.tests.text.NewTextTemplateTestCase) ... ok test_include_expr (genshi.template.tests.text.NewTextTemplateTestCase) ... ok test_latin1_encoded (genshi.template.tests.text.NewTextTemplateTestCase) ... ok test_unicode_input (genshi.template.tests.text.NewTextTemplateTestCase) ... ok LRUCache (genshi.util) Doctest: genshi.util.LRUCache ... ok flatten (genshi.util) Doctest: genshi.util.flatten ... ok plaintext (genshi.util) Doctest: genshi.util.plaintext ... ok stripentities (genshi.util) Doctest: genshi.util.stripentities ... ok striptags (genshi.util) Doctest: genshi.util.striptags ... ok test_getitem (genshi.tests.util.LRUCacheTestCase) ... ok test_setitem (genshi.tests.util.LRUCacheTestCase) ... ok ---------------------------------------------------------------------- Ran 861 tests in 1.403s OK I: pybuild base:217: python3.8 setup.py test running test running build_py running egg_info writing Genshi.egg-info/PKG-INFO writing dependency_links to Genshi.egg-info/dependency_links.txt writing entry points to Genshi.egg-info/entry_points.txt writing requirements to Genshi.egg-info/requires.txt writing top-level names to Genshi.egg-info/top_level.txt reading manifest file 'Genshi.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' setup.py:72: DistDeprecationWarning: Features are deprecated and will be removed in a future version. See https://github.com/pypa/setuptools/issues/65. speedups = Feature( /usr/lib/python3.8/distutils/core.py:108: DistDeprecationWarning: Features are deprecated and will be removed in a future version. See https://github.com/pypa/setuptools/issues/65. _setup_distribution = dist = klass(attrs) warning: no files found matching '*.html' under directory 'doc' warning: no files found matching '*.css' under directory 'doc' warning: no files found matching '*.py' under directory 'doc' warning: no files found matching '*.ini' under directory 'doc' warning: no files found matching 'COPYING' under directory 'doc' warning: no previously-included files matching '*' found under directory 'doc/logo.lineform' warning: no previously-included files found matching 'doc/2000ft.graffle' warning: no previously-included files matching '*.pyc' found anywhere in distribution writing manifest file 'Genshi.egg-info/SOURCES.txt' running egg_info creating /<>/.pybuild/cpython3_3.8_genshi/build/Genshi.egg-info writing /<>/.pybuild/cpython3_3.8_genshi/build/Genshi.egg-info/PKG-INFO writing dependency_links to /<>/.pybuild/cpython3_3.8_genshi/build/Genshi.egg-info/dependency_links.txt writing entry points to /<>/.pybuild/cpython3_3.8_genshi/build/Genshi.egg-info/entry_points.txt writing requirements to /<>/.pybuild/cpython3_3.8_genshi/build/Genshi.egg-info/requires.txt writing top-level names to /<>/.pybuild/cpython3_3.8_genshi/build/Genshi.egg-info/top_level.txt writing manifest file '/<>/.pybuild/cpython3_3.8_genshi/build/Genshi.egg-info/SOURCES.txt' reading manifest file '/<>/.pybuild/cpython3_3.8_genshi/build/Genshi.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.html' under directory 'doc' warning: no files found matching '*.css' under directory 'doc' warning: no files found matching '*.py' under directory 'doc' warning: no files found matching '*.ini' under directory 'doc' warning: no files found matching 'COPYING' under directory 'doc' warning: no previously-included files matching '*' found under directory 'doc/logo.lineform' warning: no previously-included files found matching 'doc/2000ft.graffle' warning: no previously-included files matching '*.pyc' found anywhere in distribution writing manifest file '/<>/.pybuild/cpython3_3.8_genshi/build/Genshi.egg-info/SOURCES.txt' running build_ext /<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/i18n.py:352: SyntaxWarning: "is not" with a literal. Did you mean "!="? assert numeral is not '', "at least pass the numeral param" builder (genshi) Doctest: genshi.builder ... ok Element (genshi.builder) Doctest: genshi.builder.Element ... ok ElementFactory (genshi.builder) Doctest: genshi.builder.ElementFactory ... ok test_duplicate_attributes (genshi.tests.builder.ElementFactoryTestCase) ... ok test_link (genshi.tests.builder.ElementFactoryTestCase) ... ok test_markup_escape (genshi.tests.builder.ElementFactoryTestCase) ... ok test_nonstring_attributes (genshi.tests.builder.ElementFactoryTestCase) ... ok test_stream_as_child (genshi.tests.builder.ElementFactoryTestCase) ... ok test_pickle (genshi.tests.core.StreamTestCase) ... ok test_render_ascii (genshi.tests.core.StreamTestCase) ... ok test_render_output_stream_unicode (genshi.tests.core.StreamTestCase) ... ok test_render_output_stream_utf8 (genshi.tests.core.StreamTestCase) ... ok test_render_unicode (genshi.tests.core.StreamTestCase) ... ok test_render_utf8 (genshi.tests.core.StreamTestCase) ... ok test_Markup_escape_None_noquotes (genshi.tests.core.MarkupTestCase) ... ok test_add_markup (genshi.tests.core.MarkupTestCase) ... ok test_add_reverse (genshi.tests.core.MarkupTestCase) ... ok test_add_str (genshi.tests.core.MarkupTestCase) ... ok test_escape (genshi.tests.core.MarkupTestCase) ... ok test_escape_noquotes (genshi.tests.core.MarkupTestCase) ... ok test_join (genshi.tests.core.MarkupTestCase) ... ok test_join_over_iter (genshi.tests.core.MarkupTestCase) ... ok test_mod (genshi.tests.core.MarkupTestCase) ... ok test_mod_mapping (genshi.tests.core.MarkupTestCase) ... ok test_mod_multi (genshi.tests.core.MarkupTestCase) ... ok test_mod_noescape (genshi.tests.core.MarkupTestCase) ... ok test_mul (genshi.tests.core.MarkupTestCase) ... ok test_mul_reverse (genshi.tests.core.MarkupTestCase) ... ok test_new_with_encoding (genshi.tests.core.MarkupTestCase) ... ok test_pickle (genshi.tests.core.MarkupTestCase) ... ok test_repr (genshi.tests.core.MarkupTestCase) ... ok test_stripentities_all (genshi.tests.core.MarkupTestCase) ... ok test_stripentities_keepxml (genshi.tests.core.MarkupTestCase) ... ok test_striptags_empty (genshi.tests.core.MarkupTestCase) ... ok test_striptags_mid (genshi.tests.core.MarkupTestCase) ... ok test_unescape_markup (genshi.tests.core.MarkupTestCase) ... ok test_pickle (genshi.tests.core.NamespaceTestCase) ... ok test_repr (genshi.tests.core.NamespaceTestCase) ... ok test_repr_eval (genshi.tests.core.NamespaceTestCase) ... ok test_repr_eval_non_ascii (genshi.tests.core.NamespaceTestCase) ... ok test_non_ascii (genshi.tests.core.AttrsTestCase) ... ok test_pickle (genshi.tests.core.AttrsTestCase) ... ok test_curly_brace_equality (genshi.tests.core.QNameTestCase) ... ok test_leading_curly_brace (genshi.tests.core.QNameTestCase) ... ok test_pickle (genshi.tests.core.QNameTestCase) ... ok test_repr (genshi.tests.core.QNameTestCase) ... ok test_repr_eval (genshi.tests.core.QNameTestCase) ... ok test_repr_eval_non_ascii (genshi.tests.core.QNameTestCase) ... ok Attrs (genshi.core) Doctest: genshi.core.Attrs ... ok __getitem__ (genshi.core.Attrs) Doctest: genshi.core.Attrs.__getitem__ ... ok __getslice__ (genshi.core.Attrs) Doctest: genshi.core.Attrs.__getslice__ ... ok totuple (genshi.core.Attrs) Doctest: genshi.core.Attrs.totuple ... ok escape (genshi.core.Markup) Doctest: genshi.core.Markup.escape ... ok unescape (genshi.core.Markup) Doctest: genshi.core.Markup.unescape ... ok Namespace (genshi.core) Doctest: genshi.core.Namespace ... ok QName (genshi.core) Doctest: genshi.core.QName ... ok __or__ (genshi.core.Stream) Doctest: genshi.core.Stream.__or__ ... ok select (genshi.core.Stream) Doctest: genshi.core.Stream.select ... ok escape (genshi.core) Doctest: genshi.core.escape ... ok unescape (genshi.core) Doctest: genshi.core.unescape ... ok HTMLFormFiller (genshi.filters.html) Doctest: genshi.filters.html.HTMLFormFiller ... ok HTMLSanitizer (genshi.filters.html) Doctest: genshi.filters.html.HTMLSanitizer ... ok is_safe_uri (genshi.filters.html.HTMLSanitizer) Doctest: genshi.filters.html.HTMLSanitizer.is_safe_uri ... ok sanitize_css (genshi.filters.html.HTMLSanitizer) Doctest: genshi.filters.html.HTMLSanitizer.sanitize_css ... ok test_fill_input_checkbox_multi_value_auto (genshi.filters.tests.test_html.HTMLFormFillerTestCase) ... ok test_fill_input_checkbox_multi_value_defined (genshi.filters.tests.test_html.HTMLFormFillerTestCase) ... ok test_fill_input_checkbox_single_value_auto (genshi.filters.tests.test_html.HTMLFormFillerTestCase) ... ok test_fill_input_checkbox_single_value_auto_no_value (genshi.filters.tests.test_html.HTMLFormFillerTestCase) ... ok test_fill_input_checkbox_single_value_defined (genshi.filters.tests.test_html.HTMLFormFillerTestCase) ... ok test_fill_input_hidden_multi_value (genshi.filters.tests.test_html.HTMLFormFillerTestCase) ... ok test_fill_input_hidden_no_value (genshi.filters.tests.test_html.HTMLFormFillerTestCase) ... ok test_fill_input_hidden_single_value (genshi.filters.tests.test_html.HTMLFormFillerTestCase) ... ok test_fill_input_password_disabled (genshi.filters.tests.test_html.HTMLFormFillerTestCase) ... ok test_fill_input_password_enabled (genshi.filters.tests.test_html.HTMLFormFillerTestCase) ... ok test_fill_input_radio_empty_string (genshi.filters.tests.test_html.HTMLFormFillerTestCase) ... ok test_fill_input_radio_multi_empty_string (genshi.filters.tests.test_html.HTMLFormFillerTestCase) ... ok test_fill_input_radio_multi_value (genshi.filters.tests.test_html.HTMLFormFillerTestCase) ... ok test_fill_input_radio_no_value (genshi.filters.tests.test_html.HTMLFormFillerTestCase) ... ok test_fill_input_radio_single_value (genshi.filters.tests.test_html.HTMLFormFillerTestCase) ... ok test_fill_input_text_multi_value (genshi.filters.tests.test_html.HTMLFormFillerTestCase) ... ok test_fill_input_text_no_value (genshi.filters.tests.test_html.HTMLFormFillerTestCase) ... ok test_fill_input_text_single_value (genshi.filters.tests.test_html.HTMLFormFillerTestCase) ... ok test_fill_option_segmented_text (genshi.filters.tests.test_html.HTMLFormFillerTestCase) ... ERROR test_fill_option_segmented_text_no_value (genshi.filters.tests.test_html.HTMLFormFillerTestCase) ... ERROR test_fill_option_unicode_value (genshi.filters.tests.test_html.HTMLFormFillerTestCase) ... ok test_fill_select_multi_value_auto (genshi.filters.tests.test_html.HTMLFormFillerTestCase) ... ok test_fill_select_multi_value_defined (genshi.filters.tests.test_html.HTMLFormFillerTestCase) ... ok test_fill_select_no_value_auto (genshi.filters.tests.test_html.HTMLFormFillerTestCase) ... ok test_fill_select_no_value_defined (genshi.filters.tests.test_html.HTMLFormFillerTestCase) ... ok test_fill_select_single_value_auto (genshi.filters.tests.test_html.HTMLFormFillerTestCase) ... ok test_fill_select_single_value_defined (genshi.filters.tests.test_html.HTMLFormFillerTestCase) ... ok test_fill_textarea_multi_value (genshi.filters.tests.test_html.HTMLFormFillerTestCase) ... ok test_fill_textarea_multiple (genshi.filters.tests.test_html.HTMLFormFillerTestCase) ... ok test_fill_textarea_no_value (genshi.filters.tests.test_html.HTMLFormFillerTestCase) ... ok test_fill_textarea_preserve_original (genshi.filters.tests.test_html.HTMLFormFillerTestCase) ... ok test_fill_textarea_single_value (genshi.filters.tests.test_html.HTMLFormFillerTestCase) ... ok test_capital_expression (genshi.filters.tests.test_html.HTMLSanitizerTestCase) ... ok test_sanitize_backslash_without_hex (genshi.filters.tests.test_html.HTMLSanitizerTestCase) ... ok test_sanitize_capital_url_with_javascript (genshi.filters.tests.test_html.HTMLSanitizerTestCase) ... ok test_sanitize_close_empty_tag (genshi.filters.tests.test_html.HTMLSanitizerTestCase) ... ok test_sanitize_css_hack (genshi.filters.tests.test_html.HTMLSanitizerTestCase) ... ok test_sanitize_entityref_text (genshi.filters.tests.test_html.HTMLSanitizerTestCase) ... ok test_sanitize_escape_attr (genshi.filters.tests.test_html.HTMLSanitizerTestCase) ... ok test_sanitize_escape_text (genshi.filters.tests.test_html.HTMLSanitizerTestCase) ... ok test_sanitize_expression (genshi.filters.tests.test_html.HTMLSanitizerTestCase) ... ok test_sanitize_invalid_entity (genshi.filters.tests.test_html.HTMLSanitizerTestCase) ... ok test_sanitize_negative_margin (genshi.filters.tests.test_html.HTMLSanitizerTestCase) ... ok test_sanitize_property_name (genshi.filters.tests.test_html.HTMLSanitizerTestCase) ... ok test_sanitize_remove_comments (genshi.filters.tests.test_html.HTMLSanitizerTestCase) ... ok test_sanitize_remove_input_password (genshi.filters.tests.test_html.HTMLSanitizerTestCase) ... ok test_sanitize_remove_onclick_attr (genshi.filters.tests.test_html.HTMLSanitizerTestCase) ... ok test_sanitize_remove_script_elem (genshi.filters.tests.test_html.HTMLSanitizerTestCase) ... ok test_sanitize_remove_src_javascript (genshi.filters.tests.test_html.HTMLSanitizerTestCase) ... ok test_sanitize_remove_style_phishing (genshi.filters.tests.test_html.HTMLSanitizerTestCase) ... ok test_sanitize_remove_style_scripts (genshi.filters.tests.test_html.HTMLSanitizerTestCase) ... ok test_sanitize_unchanged (genshi.filters.tests.test_html.HTMLSanitizerTestCase) ... ok test_sanitize_unicode_escapes (genshi.filters.tests.test_html.HTMLSanitizerTestCase) ... ok test_sanitize_unicode_expression (genshi.filters.tests.test_html.HTMLSanitizerTestCase) ... ok test_sanitize_unicode_url (genshi.filters.tests.test_html.HTMLSanitizerTestCase) ... ok test_sanitize_unsafe_props (genshi.filters.tests.test_html.HTMLSanitizerTestCase) ... ok test_sanitize_url_with_javascript (genshi.filters.tests.test_html.HTMLSanitizerTestCase) ... ok ChooseDirective (genshi.filters.i18n) Doctest: genshi.filters.i18n.ChooseDirective ... FAIL CommentDirective (genshi.filters.i18n) Doctest: genshi.filters.i18n.CommentDirective ... ok DomainDirective (genshi.filters.i18n) Doctest: genshi.filters.i18n.DomainDirective ... ok MsgDirective (genshi.filters.i18n) Doctest: genshi.filters.i18n.MsgDirective ... FAIL Translator (genshi.filters.i18n) Doctest: genshi.filters.i18n.Translator ... FAIL extract (genshi.filters.i18n.Translator) Doctest: genshi.filters.i18n.Translator.extract ... FAIL extract_from_code (genshi.filters.i18n) Doctest: genshi.filters.i18n.extract_from_code ... FAIL parse_msg (genshi.filters.i18n) Doctest: genshi.filters.i18n.parse_msg ... ok test_extract_attribute_expr (genshi.filters.tests.i18n.TranslatorTestCase) ... ERROR test_extract_funky_plural_form (genshi.filters.tests.i18n.TranslatorTestCase) ... ERROR test_extract_gettext_with_unicode_string (genshi.filters.tests.i18n.TranslatorTestCase) ... ERROR test_extract_included_attribute_text (genshi.filters.tests.i18n.TranslatorTestCase) ... ok test_extract_non_included_attribute_interpolated (genshi.filters.tests.i18n.TranslatorTestCase) ... ERROR test_extract_plural_form (genshi.filters.tests.i18n.TranslatorTestCase) ... ERROR test_extract_tag_with_variable_xml_lang (genshi.filters.tests.i18n.TranslatorTestCase) ... ERROR test_extract_text_from_sub (genshi.filters.tests.i18n.TranslatorTestCase) ... ERROR test_extract_without_text (genshi.filters.tests.i18n.TranslatorTestCase) ... ERROR test_ignore_attribute_with_expression (genshi.filters.tests.i18n.TranslatorTestCase) ... ERROR test_ignore_tag_with_fixed_xml_lang (genshi.filters.tests.i18n.TranslatorTestCase) ... ok test_translate_included_attribute_text (genshi.filters.tests.i18n.TranslatorTestCase) ... ok test_translate_with_translations_object (genshi.filters.tests.i18n.TranslatorTestCase) ... ok test_extract_i18n_msg (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ok test_extract_i18n_msg_as_element_with_attributes (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ok test_extract_i18n_msg_elt_nonewline (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ok test_extract_i18n_msg_empty (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ok test_extract_i18n_msg_label_with_nested_input (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ok test_extract_i18n_msg_multiple (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ok test_extract_i18n_msg_multiple_empty (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ok test_extract_i18n_msg_nested (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ok test_extract_i18n_msg_nonewline (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ok test_extract_i18n_msg_with_attr (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ok test_extract_i18n_msg_with_attributes (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ok test_extract_i18n_msg_with_comment (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ok test_extract_i18n_msg_with_directive (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ERROR test_extract_i18n_msg_with_dynamic_attributes (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ERROR test_extract_i18n_msg_with_other_directives_nested (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ERROR test_extract_i18n_msg_with_param (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ERROR test_extract_i18n_msg_with_py_strip (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ok test_extract_i18n_msg_with_py_strip_and_comment (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ok test_extract_i18n_msg_with_two_params (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ERROR test_i18n_msg_ticket_251_extract (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ok test_i18n_msg_ticket_251_translate (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ok test_i18n_msg_ticket_300_extract (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ERROR test_i18n_msg_ticket_300_translate (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ERROR test_i18n_msg_with_other_nested_directives_with_reordered_content (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ERROR test_translate_i18n_msg (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ok test_translate_i18n_msg_and_comment_with_py_strip_directives (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ok test_translate_i18n_msg_and_py_strip_directives (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ok test_translate_i18n_msg_as_element_with_attributes (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ok test_translate_i18n_msg_elt_nonewline (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ok test_translate_i18n_msg_empty (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ok test_translate_i18n_msg_label_with_nested_input (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ok test_translate_i18n_msg_multiple (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ok test_translate_i18n_msg_multiple_empty (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ok test_translate_i18n_msg_nested (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ok test_translate_i18n_msg_nonewline (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ok test_translate_i18n_msg_ticket_404 (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ERROR test_translate_i18n_msg_ticket_404_regression (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ERROR test_translate_i18n_msg_with_attr (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ok test_translate_i18n_msg_with_attribute_param (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ERROR test_translate_i18n_msg_with_attributes (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ok test_translate_i18n_msg_with_comment (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ok test_translate_i18n_msg_with_directive (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ERROR test_translate_i18n_msg_with_dynamic_attributes (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ERROR test_translate_i18n_msg_with_other_directives_nested (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ERROR test_translate_i18n_msg_with_param (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ERROR test_translate_i18n_msg_with_param_reordered (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ERROR test_translate_i18n_msg_with_two_params (genshi.filters.tests.i18n.MsgDirectiveTestCase) ... ERROR test_extract_i18n_choose_as_attribute (genshi.filters.tests.i18n.ChooseDirectiveTestCase) ... ERROR test_extract_i18n_choose_as_attribute_and_py_strip (genshi.filters.tests.i18n.ChooseDirectiveTestCase) ... ERROR test_extract_i18n_choose_as_attribute_with_params (genshi.filters.tests.i18n.ChooseDirectiveTestCase) ... ERROR test_extract_i18n_choose_as_attribute_with_params_and_comment (genshi.filters.tests.i18n.ChooseDirectiveTestCase) ... ERROR test_extract_i18n_choose_as_attribute_with_params_and_domain_as_param (genshi.filters.tests.i18n.ChooseDirectiveTestCase) ... ERROR test_extract_i18n_choose_as_directive (genshi.filters.tests.i18n.ChooseDirectiveTestCase) ... ERROR test_extract_i18n_choose_as_directive_with_params (genshi.filters.tests.i18n.ChooseDirectiveTestCase) ... ERROR test_extract_i18n_choose_as_directive_with_params_and_comment (genshi.filters.tests.i18n.ChooseDirectiveTestCase) ... ERROR test_extract_i18n_choose_as_directive_with_params_and_domain_as_directive (genshi.filters.tests.i18n.ChooseDirectiveTestCase) ... ERROR test_extract_i18n_choose_as_element_with_attributes (genshi.filters.tests.i18n.ChooseDirectiveTestCase) ... ERROR test_extract_i18n_choose_with_attributes (genshi.filters.tests.i18n.ChooseDirectiveTestCase) ... ERROR test_translate_i18n_choose_and_domain_and_py_strip (genshi.filters.tests.i18n.ChooseDirectiveTestCase) ... ERROR test_translate_i18n_choose_and_plural_with_py_strip (genshi.filters.tests.i18n.ChooseDirectiveTestCase) ... ERROR test_translate_i18n_choose_and_py_strip (genshi.filters.tests.i18n.ChooseDirectiveTestCase) ... ERROR test_translate_i18n_choose_and_singular_with_py_strip (genshi.filters.tests.i18n.ChooseDirectiveTestCase) ... ERROR test_translate_i18n_choose_as_attribute (genshi.filters.tests.i18n.ChooseDirectiveTestCase) ... ERROR test_translate_i18n_choose_as_attribute_with_params (genshi.filters.tests.i18n.ChooseDirectiveTestCase) ... ERROR test_translate_i18n_choose_as_attribute_with_params_and_domain_as_param (genshi.filters.tests.i18n.ChooseDirectiveTestCase) ... ERROR test_translate_i18n_choose_as_directive (genshi.filters.tests.i18n.ChooseDirectiveTestCase) ... ERROR test_translate_i18n_choose_as_directive_singular_and_plural_with_strip (genshi.filters.tests.i18n.ChooseDirectiveTestCase) ... ERROR test_translate_i18n_choose_as_directive_with_params (genshi.filters.tests.i18n.ChooseDirectiveTestCase) ... ERROR test_translate_i18n_choose_as_directive_with_params_and_domain_as_directive (genshi.filters.tests.i18n.ChooseDirectiveTestCase) ... ERROR test_translate_i18n_choose_as_element_with_attributes (genshi.filters.tests.i18n.ChooseDirectiveTestCase) ... ERROR test_translate_i18n_choose_plural_singular_as_directive (genshi.filters.tests.i18n.ChooseDirectiveTestCase) ... ERROR test_translate_i18n_choose_with_attributes (genshi.filters.tests.i18n.ChooseDirectiveTestCase) ... ERROR test_translate_i18n_domain_as_directive_not_attribute (genshi.filters.tests.i18n.DomainDirectiveTestCase) ... ok test_translate_i18n_domain_nested_directives (genshi.filters.tests.i18n.DomainDirectiveTestCase) ... ok test_translate_i18n_domain_with_empty_nested_domain_directive (genshi.filters.tests.i18n.DomainDirectiveTestCase) ... ok test_translate_i18n_domain_with_inline_directive_on_START_NS (genshi.filters.tests.i18n.DomainDirectiveTestCase) ... ok test_translate_i18n_domain_with_inline_directive_on_START_NS_with_py_strip (genshi.filters.tests.i18n.DomainDirectiveTestCase) ... ok test_translate_i18n_domain_with_inline_directives (genshi.filters.tests.i18n.DomainDirectiveTestCase) ... ok test_translate_i18n_domain_with_msg_directives (genshi.filters.tests.i18n.DomainDirectiveTestCase) ... ok test_translate_i18n_domain_with_nested_includes (genshi.filters.tests.i18n.DomainDirectiveTestCase) ... ERROR test_translate_i18n_domain_with_nested_includes_with_translatable_attrs (genshi.filters.tests.i18n.DomainDirectiveTestCase) ... ERROR test_translate_i18n_domain_without_msg_directives (genshi.filters.tests.i18n.DomainDirectiveTestCase) ... ok test_extract_py_def_directive_with_py_strip (genshi.filters.tests.i18n.ExtractTestCase) ... ERROR test_extraction_inside_ignored_tags (genshi.filters.tests.i18n.ExtractTestCase) ... ERROR test_extraction_inside_ignored_tags_with_directives (genshi.filters.tests.i18n.ExtractTestCase) ... ERROR test_extraction_with_keyword_arg (genshi.filters.tests.i18n.ExtractTestCase) ... ERROR test_extraction_with_nonstring_arg (genshi.filters.tests.i18n.ExtractTestCase) ... ERROR test_extraction_without_text (genshi.filters.tests.i18n.ExtractTestCase) ... ERROR test_markup_template_extraction (genshi.filters.tests.i18n.ExtractTestCase) ... ERROR test_text_template_extraction (genshi.filters.tests.i18n.ExtractTestCase) ... ERROR test_select_attr (genshi.filters.tests.transform.SelectTest) ... ok test_select_context (genshi.filters.tests.transform.SelectTest) ... ok test_select_inside_select (genshi.filters.tests.transform.SelectTest) ... ok test_select_single_element (genshi.filters.tests.transform.SelectTest) ... ok test_select_text (genshi.filters.tests.transform.SelectTest) ... ok test_select_text_context (genshi.filters.tests.transform.SelectTest) ... ok test_invert_attribute (genshi.filters.tests.transform.InvertTest) ... ok test_invert_context (genshi.filters.tests.transform.InvertTest) ... ok test_invert_element (genshi.filters.tests.transform.InvertTest) ... ok test_invert_inverted_element (genshi.filters.tests.transform.InvertTest) ... ok test_invert_text (genshi.filters.tests.transform.InvertTest) ... ok test_invert_text_context (genshi.filters.tests.transform.InvertTest) ... ok test_end (genshi.filters.tests.transform.EndTest) ... ok test_empty_attr (genshi.filters.tests.transform.EmptyTest) ... ok test_empty_context (genshi.filters.tests.transform.EmptyTest) ... ok test_empty_element (genshi.filters.tests.transform.EmptyTest) ... ok test_empty_text (genshi.filters.tests.transform.EmptyTest) ... ok test_empty_text_context (genshi.filters.tests.transform.EmptyTest) ... ok test_remove_attr (genshi.filters.tests.transform.RemoveTest) ... ok test_remove_context (genshi.filters.tests.transform.RemoveTest) ... ok test_remove_element (genshi.filters.tests.transform.RemoveTest) ... ok test_remove_text (genshi.filters.tests.transform.RemoveTest) ... ok test_remove_text_context (genshi.filters.tests.transform.RemoveTest) ... ok test_unwrap_adjacent (genshi.filters.tests.transform.UnwrapText) ... ok test_unwrap_attr (genshi.filters.tests.transform.UnwrapText) ... ok test_unwrap_element (genshi.filters.tests.transform.UnwrapText) ... ok test_unwrap_root (genshi.filters.tests.transform.UnwrapText) ... ok test_unwrap_text (genshi.filters.tests.transform.UnwrapText) ... ok test_unwrap_text_root (genshi.filters.tests.transform.UnwrapText) ... ok test_wrap_adjacent_elements (genshi.filters.tests.transform.WrapTest) ... ok test_wrap_element (genshi.filters.tests.transform.WrapTest) ... ok test_wrap_root (genshi.filters.tests.transform.WrapTest) ... ok test_wrap_text (genshi.filters.tests.transform.WrapTest) ... ok test_wrap_text_root (genshi.filters.tests.transform.WrapTest) ... ok test_wrap_with_element (genshi.filters.tests.transform.WrapTest) ... ok test_filter_adjacent_elements (genshi.filters.tests.transform.FilterTest) ... ok test_filter_after_outside (genshi.filters.tests.transform.FilterTest) ... ok test_filter_element (genshi.filters.tests.transform.FilterTest) ... ok test_filter_root (genshi.filters.tests.transform.FilterTest) ... ok test_filter_text (genshi.filters.tests.transform.FilterTest) ... ok test_filter_text_root (genshi.filters.tests.transform.FilterTest) ... ok test_map_element (genshi.filters.tests.transform.MapTest) ... ok test_map_with_attribute (genshi.filters.tests.transform.MapTest) ... ok test_map_with_root_and_end_kind (genshi.filters.tests.transform.MapTest) ... ok test_map_with_text_kind (genshi.filters.tests.transform.MapTest) ... ok test_substitute_foo (genshi.filters.tests.transform.SubstituteTest) ... ok test_substitute_foobar_with_group (genshi.filters.tests.transform.SubstituteTest) ... ok test_rename_element (genshi.filters.tests.transform.RenameTest) ... ok test_rename_root (genshi.filters.tests.transform.RenameTest) ... ok test_rename_text (genshi.filters.tests.transform.RenameTest) ... ok test_replace_adjacent_elements (genshi.filters.tests.transform.ReplaceTest) ... ok test_replace_all (genshi.filters.tests.transform.ReplaceTest) ... ok test_replace_context (genshi.filters.tests.transform.ReplaceTest) ... ok test_replace_element (genshi.filters.tests.transform.ReplaceTest) ... ok test_replace_text (genshi.filters.tests.transform.ReplaceTest) ... ok test_replace_text_context (genshi.filters.tests.transform.ReplaceTest) ... ok test_replace_with_callback (genshi.filters.tests.transform.ReplaceTest) ... ok test_before_adjacent_elements (genshi.filters.tests.transform.BeforeTest) ... ok test_before_all (genshi.filters.tests.transform.BeforeTest) ... ok test_before_context (genshi.filters.tests.transform.BeforeTest) ... ok test_before_element (genshi.filters.tests.transform.BeforeTest) ... ok test_before_text (genshi.filters.tests.transform.BeforeTest) ... ok test_before_text_context (genshi.filters.tests.transform.BeforeTest) ... ok test_before_with_callback (genshi.filters.tests.transform.BeforeTest) ... ok test_after_adjacent_elements (genshi.filters.tests.transform.AfterTest) ... ok test_after_all (genshi.filters.tests.transform.AfterTest) ... ok test_after_context (genshi.filters.tests.transform.AfterTest) ... ok test_after_element (genshi.filters.tests.transform.AfterTest) ... ok test_after_text (genshi.filters.tests.transform.AfterTest) ... ok test_after_text_context (genshi.filters.tests.transform.AfterTest) ... ok test_after_with_callback (genshi.filters.tests.transform.AfterTest) ... ok test_prepend_adjacent_elements (genshi.filters.tests.transform.PrependTest) ... ok test_prepend_all (genshi.filters.tests.transform.PrependTest) ... ok test_prepend_context (genshi.filters.tests.transform.PrependTest) ... ok test_prepend_element (genshi.filters.tests.transform.PrependTest) ... ok test_prepend_text (genshi.filters.tests.transform.PrependTest) ... ok test_prepend_text_context (genshi.filters.tests.transform.PrependTest) ... ok test_prepend_with_callback (genshi.filters.tests.transform.PrependTest) ... ok test_append_adjacent_elements (genshi.filters.tests.transform.AppendTest) ... ok test_append_all (genshi.filters.tests.transform.AppendTest) ... ok test_append_context (genshi.filters.tests.transform.AppendTest) ... ok test_append_element (genshi.filters.tests.transform.AppendTest) ... ok test_append_text (genshi.filters.tests.transform.AppendTest) ... ok test_append_text_context (genshi.filters.tests.transform.AppendTest) ... ok test_append_with_callback (genshi.filters.tests.transform.AppendTest) ... ok test_attr_from_function (genshi.filters.tests.transform.AttrTest) ... ok test_remove_attr (genshi.filters.tests.transform.AttrTest) ... ok test_remove_attr_with_function (genshi.filters.tests.transform.AttrTest) ... ok test_set_existing_attr (genshi.filters.tests.transform.AttrTest) ... ok test_set_new_attr (genshi.filters.tests.transform.AttrTest) ... ok test_copy_adjacent_elements (genshi.filters.tests.transform.CopyTest) ... ok test_copy_all (genshi.filters.tests.transform.CopyTest) ... ok test_copy_attribute (genshi.filters.tests.transform.CopyTest) ... ok test_copy_attributes (genshi.filters.tests.transform.CopyTest) ... ok test_copy_context (genshi.filters.tests.transform.CopyTest) ... ok test_copy_element (genshi.filters.tests.transform.CopyTest) ... ok test_copy_text (genshi.filters.tests.transform.CopyTest) ... ok test_cut_adjacent_elements (genshi.filters.tests.transform.CutTest) ... ok test_cut_all (genshi.filters.tests.transform.CutTest) ... ok test_cut_attribute (genshi.filters.tests.transform.CutTest) ... ok test_cut_attributes (genshi.filters.tests.transform.CutTest) ... ok test_cut_context (genshi.filters.tests.transform.CutTest) ... ok test_cut_element (genshi.filters.tests.transform.CutTest) ... ok test_cut_text (genshi.filters.tests.transform.CutTest) ... ok transform (genshi.filters) Doctest: genshi.filters.transform ... ok InjectorTransformation (genshi.filters.transform) Doctest: genshi.filters.transform.InjectorTransformation ... ok Transformer (genshi.filters.transform) Doctest: genshi.filters.transform.Transformer ... ok after (genshi.filters.transform.Transformer) Doctest: genshi.filters.transform.Transformer.after ... ok append (genshi.filters.transform.Transformer) Doctest: genshi.filters.transform.Transformer.append ... ok apply (genshi.filters.transform.Transformer) Doctest: genshi.filters.transform.Transformer.apply ... ok attr (genshi.filters.transform.Transformer) Doctest: genshi.filters.transform.Transformer.attr ... ok before (genshi.filters.transform.Transformer) Doctest: genshi.filters.transform.Transformer.before ... ok buffer (genshi.filters.transform.Transformer) Doctest: genshi.filters.transform.Transformer.buffer ... ok copy (genshi.filters.transform.Transformer) Doctest: genshi.filters.transform.Transformer.copy ... ok cut (genshi.filters.transform.Transformer) Doctest: genshi.filters.transform.Transformer.cut ... ok empty (genshi.filters.transform.Transformer) Doctest: genshi.filters.transform.Transformer.empty ... ok end (genshi.filters.transform.Transformer) Doctest: genshi.filters.transform.Transformer.end ... ok filter (genshi.filters.transform.Transformer) Doctest: genshi.filters.transform.Transformer.filter ... ok invert (genshi.filters.transform.Transformer) Doctest: genshi.filters.transform.Transformer.invert ... ok map (genshi.filters.transform.Transformer) Doctest: genshi.filters.transform.Transformer.map ... ok prepend (genshi.filters.transform.Transformer) Doctest: genshi.filters.transform.Transformer.prepend ... ok remove (genshi.filters.transform.Transformer) Doctest: genshi.filters.transform.Transformer.remove ... ok rename (genshi.filters.transform.Transformer) Doctest: genshi.filters.transform.Transformer.rename ... ok replace (genshi.filters.transform.Transformer) Doctest: genshi.filters.transform.Transformer.replace ... ok select (genshi.filters.transform.Transformer) Doctest: genshi.filters.transform.Transformer.select ... ok substitute (genshi.filters.transform.Transformer) Doctest: genshi.filters.transform.Transformer.substitute ... ok trace (genshi.filters.transform.Transformer) Doctest: genshi.filters.transform.Transformer.trace ... ok unwrap (genshi.filters.transform.Transformer) Doctest: genshi.filters.transform.Transformer.unwrap ... ok wrap (genshi.filters.transform.Transformer) Doctest: genshi.filters.transform.Transformer.wrap ... ok HTML (genshi.input) Doctest: genshi.input.HTML ... ok HTMLParser (genshi.input) Doctest: genshi.input.HTMLParser ... ok XML (genshi.input) Doctest: genshi.input.XML ... ok XMLParser (genshi.input) Doctest: genshi.input.XMLParser ... ok test_element_attribute_order (genshi.tests.input.XMLParserTestCase) ... ok test_html_entity_in_attribute (genshi.tests.input.XMLParserTestCase) ... ok test_html_entity_with_dtd (genshi.tests.input.XMLParserTestCase) ... ok test_html_entity_without_dtd (genshi.tests.input.XMLParserTestCase) ... ok test_latin1_encoded (genshi.tests.input.XMLParserTestCase) ... ok test_latin1_encoded_xmldecl (genshi.tests.input.XMLParserTestCase) ... ok test_text_node_pos_multi_line (genshi.tests.input.XMLParserTestCase) ... ok test_text_node_pos_single_line (genshi.tests.input.XMLParserTestCase) ... ok test_undefined_entity_with_dtd (genshi.tests.input.XMLParserTestCase) ... ok test_undefined_entity_without_dtd (genshi.tests.input.XMLParserTestCase) ... ok test_unicode_input (genshi.tests.input.XMLParserTestCase) ... ok test_hex_charref (genshi.tests.input.HTMLParserTestCase) ... ok test_html_entity_in_attribute (genshi.tests.input.HTMLParserTestCase) ... ok test_html_entity_in_text (genshi.tests.input.HTMLParserTestCase) ... ok test_input_encoding_attribute (genshi.tests.input.HTMLParserTestCase) ... ok test_input_encoding_text (genshi.tests.input.HTMLParserTestCase) ... ok test_multibyte_character_on_chunk_boundary (genshi.tests.input.HTMLParserTestCase) ... ok test_out_of_order_tags1 (genshi.tests.input.HTMLParserTestCase) ... ok test_out_of_order_tags2 (genshi.tests.input.HTMLParserTestCase) ... ok test_out_of_order_tags3 (genshi.tests.input.HTMLParserTestCase) ... ok test_processing_instruction (genshi.tests.input.HTMLParserTestCase) ... ok test_processing_instruction_no_data_1 (genshi.tests.input.HTMLParserTestCase) ... ok test_processing_instruction_no_data_2 (genshi.tests.input.HTMLParserTestCase) ... ok test_processing_instruction_trailing_qmark (genshi.tests.input.HTMLParserTestCase) ... ok test_text_node_pos_multi_line (genshi.tests.input.HTMLParserTestCase) ... ok test_text_node_pos_single_line (genshi.tests.input.HTMLParserTestCase) ... ok test_unicode_input (genshi.tests.input.HTMLParserTestCase) ... ok test_xmldecl (genshi.tests.input.HTMLParserTestCase) ... ok test_xmldecl_encoding (genshi.tests.input.HTMLParserTestCase) ... ok test_xmldecl_standalone (genshi.tests.input.HTMLParserTestCase) ... ok test_atom_with_xhtml (genshi.tests.output.XMLSerializerTestCase) ... ok test_comment (genshi.tests.output.XMLSerializerTestCase) ... ok test_doctype_in_stream (genshi.tests.output.XMLSerializerTestCase) ... ok test_doctype_in_stream_no_pubid (genshi.tests.output.XMLSerializerTestCase) ... ok test_doctype_in_stream_no_pubid_or_sysid (genshi.tests.output.XMLSerializerTestCase) ... ok test_doctype_in_stream_no_sysid (genshi.tests.output.XMLSerializerTestCase) ... ok test_doctype_one_and_only (genshi.tests.output.XMLSerializerTestCase) ... ok test_multiple_bound_namespaces (genshi.tests.output.XMLSerializerTestCase) ... ok test_multiple_default_namespaces (genshi.tests.output.XMLSerializerTestCase) ... ok test_nested_bound_namespaces (genshi.tests.output.XMLSerializerTestCase) ... ok test_nested_default_namespaces (genshi.tests.output.XMLSerializerTestCase) ... ok test_processing_instruction (genshi.tests.output.XMLSerializerTestCase) ... ok test_serializer_doctype (genshi.tests.output.XMLSerializerTestCase) ... ok test_with_xml_decl (genshi.tests.output.XMLSerializerTestCase) ... ok test_cache_markup (genshi.tests.output.XHTMLSerializerTestCase) ... ok test_embedded_svg (genshi.tests.output.XHTMLSerializerTestCase) ... ok test_empty_script (genshi.tests.output.XHTMLSerializerTestCase) ... ok test_html5_doctype (genshi.tests.output.XHTMLSerializerTestCase) ... ok test_ignorable_space (genshi.tests.output.XHTMLSerializerTestCase) ... ok test_nested_bound_namespaces (genshi.tests.output.XHTMLSerializerTestCase) ... ok test_nested_default_namespaces (genshi.tests.output.XHTMLSerializerTestCase) ... ok test_pre_whitespace (genshi.tests.output.XHTMLSerializerTestCase) ... ok test_script_escaping (genshi.tests.output.XHTMLSerializerTestCase) ... ok test_script_escaping_with_namespace (genshi.tests.output.XHTMLSerializerTestCase) ... ok test_style_escaping (genshi.tests.output.XHTMLSerializerTestCase) ... ok test_style_escaping_with_namespace (genshi.tests.output.XHTMLSerializerTestCase) ... ok test_textarea_whitespace (genshi.tests.output.XHTMLSerializerTestCase) ... ok test_xhtml_namespace_prefix (genshi.tests.output.XHTMLSerializerTestCase) ... ok test_xml_decl_dropped (genshi.tests.output.XHTMLSerializerTestCase) ... ok test_xml_decl_included (genshi.tests.output.XHTMLSerializerTestCase) ... ok test_xml_lang (genshi.tests.output.XHTMLSerializerTestCase) ... ok test_xml_lang_nodup (genshi.tests.output.XHTMLSerializerTestCase) ... ok test_xml_space (genshi.tests.output.XHTMLSerializerTestCase) ... ok test_empty_script (genshi.tests.output.HTMLSerializerTestCase) ... ok test_html5_doctype (genshi.tests.output.HTMLSerializerTestCase) ... ok test_pre_whitespace (genshi.tests.output.HTMLSerializerTestCase) ... ok test_script_escaping (genshi.tests.output.HTMLSerializerTestCase) ... ok test_script_escaping_with_namespace (genshi.tests.output.HTMLSerializerTestCase) ... ok test_style_escaping (genshi.tests.output.HTMLSerializerTestCase) ... ok test_style_escaping_with_namespace (genshi.tests.output.HTMLSerializerTestCase) ... ok test_textarea_whitespace (genshi.tests.output.HTMLSerializerTestCase) ... ok test_xml_lang (genshi.tests.output.HTMLSerializerTestCase) ... ok test_xml_lang_nodup (genshi.tests.output.HTMLSerializerTestCase) ... ok test_xml_space (genshi.tests.output.HTMLSerializerTestCase) ... ok test_elem_content (genshi.tests.output.EmptyTagFilterTestCase) ... ok test_empty (genshi.tests.output.EmptyTagFilterTestCase) ... ok test_text_content (genshi.tests.output.EmptyTagFilterTestCase) ... ok HTMLSerializer (genshi.output) Doctest: genshi.output.HTMLSerializer ... ok NamespaceFlattener (genshi.output) Doctest: genshi.output.NamespaceFlattener ... ok TextSerializer (genshi.output) Doctest: genshi.output.TextSerializer ... ok XHTMLSerializer (genshi.output) Doctest: genshi.output.XHTMLSerializer ... ok XMLSerializer (genshi.output) Doctest: genshi.output.XMLSerializer ... ok path (genshi) Doctest: genshi.path ... ok select (genshi.path.Path) Doctest: genshi.path.Path.select ... ok test (genshi.path.Path) Doctest: genshi.path.Path.test ... ok test_1step (genshi.tests.path.PathTestCase) ... ok test_1step_attribute (genshi.tests.path.PathTestCase) ... ok test_1step_self (genshi.tests.path.PathTestCase) ... ok test_1step_text (genshi.tests.path.PathTestCase) ... ok test_1step_wildcard (genshi.tests.path.PathTestCase) ... ok test_2step (genshi.tests.path.PathTestCase) ... ok test_2step_attribute (genshi.tests.path.PathTestCase) ... ok test_2step_complex (genshi.tests.path.PathTestCase) ... ok test_2step_text (genshi.tests.path.PathTestCase) ... ok test_3step (genshi.tests.path.PathTestCase) ... ok test_3step_complex (genshi.tests.path.PathTestCase) ... ok test_3step_complex_text (genshi.tests.path.PathTestCase) ... ok test_attr_selection (genshi.tests.path.PathTestCase) ... ok test_attr_selection_with_namespace (genshi.tests.path.PathTestCase) ... ok test_attrname_with_namespace (genshi.tests.path.PathTestCase) ... ok test_attrwildcard_with_namespace (genshi.tests.path.PathTestCase) ... ok test_error_no_absolute_path (genshi.tests.path.PathTestCase) ... ok test_error_unsupported_axis (genshi.tests.path.PathTestCase) ... ok test_long_simple_paths (genshi.tests.path.PathTestCase) ... ok test_name_with_namespace (genshi.tests.path.PathTestCase) ... ok test_node_type_comment (genshi.tests.path.PathTestCase) ... ok test_node_type_node (genshi.tests.path.PathTestCase) ... ok test_node_type_processing_instruction (genshi.tests.path.PathTestCase) ... ok test_node_type_text (genshi.tests.path.PathTestCase) ... ok test_predicate_advanced_position (genshi.tests.path.PathTestCase) ... ok test_predicate_attr (genshi.tests.path.PathTestCase) ... ok test_predicate_attr_and (genshi.tests.path.PathTestCase) ... ok test_predicate_attr_and_position (genshi.tests.path.PathTestCase) ... ok test_predicate_attr_equality (genshi.tests.path.PathTestCase) ... ok test_predicate_attr_greater_than (genshi.tests.path.PathTestCase) ... ok test_predicate_attr_less_than (genshi.tests.path.PathTestCase) ... ok test_predicate_attr_or (genshi.tests.path.PathTestCase) ... ok test_predicate_boolean_function (genshi.tests.path.PathTestCase) ... ok test_predicate_ceil_function (genshi.tests.path.PathTestCase) ... ok test_predicate_child_position (genshi.tests.path.PathTestCase) ... ok test_predicate_concat_function (genshi.tests.path.PathTestCase) ... ok test_predicate_contains_function (genshi.tests.path.PathTestCase) ... ok test_predicate_false_function (genshi.tests.path.PathTestCase) ... ok test_predicate_floor_function (genshi.tests.path.PathTestCase) ... ok test_predicate_localname (genshi.tests.path.PathTestCase) ... ok test_predicate_matches_function (genshi.tests.path.PathTestCase) ... ok test_predicate_name (genshi.tests.path.PathTestCase) ... ok test_predicate_namespace (genshi.tests.path.PathTestCase) ... ok test_predicate_normalize_space_function (genshi.tests.path.PathTestCase) ... ok test_predicate_not_name (genshi.tests.path.PathTestCase) ... ok test_predicate_number_function (genshi.tests.path.PathTestCase) ... ok test_predicate_position (genshi.tests.path.PathTestCase) ... ok test_predicate_position_and_attr (genshi.tests.path.PathTestCase) ... ok test_predicate_round_function (genshi.tests.path.PathTestCase) ... ok test_predicate_starts_with_function (genshi.tests.path.PathTestCase) ... ok test_predicate_string_length_function (genshi.tests.path.PathTestCase) ... ok test_predicate_substring_after_function (genshi.tests.path.PathTestCase) ... ok test_predicate_substring_before_function (genshi.tests.path.PathTestCase) ... ok test_predicate_substring_function (genshi.tests.path.PathTestCase) ... ok test_predicate_termination (genshi.tests.path.PathTestCase) ... ok test_predicate_translate_function (genshi.tests.path.PathTestCase) ... ok test_predicate_true_function (genshi.tests.path.PathTestCase) ... ok test_predicate_variable (genshi.tests.path.PathTestCase) ... ok test_self_and_descendant (genshi.tests.path.PathTestCase) ... ok test_simple_strategy_support (genshi.tests.path.PathTestCase) ... ok test_simple_union (genshi.tests.path.PathTestCase) ... ok test_wildcard_with_namespace (genshi.tests.path.PathTestCase) ... ok Context (genshi.template.base) Doctest: genshi.template.base.Context ... ok test_copy (genshi.template.tests.base.ContextTestCase) ... ok AttrsDirective (genshi.template.directives) Doctest: genshi.template.directives.AttrsDirective ... FAIL ChooseDirective (genshi.template.directives) Doctest: genshi.template.directives.ChooseDirective ... FAIL ContentDirective (genshi.template.directives) Doctest: genshi.template.directives.ContentDirective ... FAIL DefDirective (genshi.template.directives) Doctest: genshi.template.directives.DefDirective ... FAIL ForDirective (genshi.template.directives) Doctest: genshi.template.directives.ForDirective ... FAIL IfDirective (genshi.template.directives) Doctest: genshi.template.directives.IfDirective ... FAIL MatchDirective (genshi.template.directives) Doctest: genshi.template.directives.MatchDirective ... FAIL ReplaceDirective (genshi.template.directives) Doctest: genshi.template.directives.ReplaceDirective ... FAIL StripDirective (genshi.template.directives) Doctest: genshi.template.directives.StripDirective ... FAIL WithDirective (genshi.template.directives) Doctest: genshi.template.directives.WithDirective ... FAIL test_combined_with_loop (genshi.template.tests.directives.AttrsDirectiveTestCase) ... ERROR test_remove_existing_attr (genshi.template.tests.directives.AttrsDirectiveTestCase) ... ERROR test_update_existing_attr (genshi.template.tests.directives.AttrsDirectiveTestCase) ... ERROR test_as_element (genshi.template.tests.directives.ChooseDirectiveTestCase) ... ERROR test_complex_nesting (genshi.template.tests.directives.ChooseDirectiveTestCase) ... ERROR test_complex_nesting_otherwise (genshi.template.tests.directives.ChooseDirectiveTestCase) ... ERROR test_in_text_template (genshi.template.tests.directives.ChooseDirectiveTestCase) ... ERROR test_multiple_true_whens (genshi.template.tests.directives.ChooseDirectiveTestCase) ... ERROR test_nesting (genshi.template.tests.directives.ChooseDirectiveTestCase) ... ERROR test_otherwise (genshi.template.tests.directives.ChooseDirectiveTestCase) ... ERROR test_otherwise_outside_choose (genshi.template.tests.directives.ChooseDirectiveTestCase) ... ok test_otherwise_without_test (genshi.template.tests.directives.ChooseDirectiveTestCase) ... ok test_when_outside_choose (genshi.template.tests.directives.ChooseDirectiveTestCase) ... ERROR test_when_with_strip (genshi.template.tests.directives.ChooseDirectiveTestCase) ... ok test_when_without_test (genshi.template.tests.directives.ChooseDirectiveTestCase) ... ok test_when_without_test_but_with_choose_value (genshi.template.tests.directives.ChooseDirectiveTestCase) ... ERROR test_as_element (genshi.template.tests.directives.DefDirectiveTestCase) ... ERROR test_def_in_matched (genshi.template.tests.directives.DefDirectiveTestCase) ... ERROR test_exec_in_replace (genshi.template.tests.directives.DefDirectiveTestCase) ... ERROR test_function_raising_typeerror (genshi.template.tests.directives.DefDirectiveTestCase) ... ERROR test_function_with_default_arg (genshi.template.tests.directives.DefDirectiveTestCase) ... ERROR test_function_with_star_args (genshi.template.tests.directives.DefDirectiveTestCase) ... ERROR test_function_with_strip (genshi.template.tests.directives.DefDirectiveTestCase) ... ERROR test_in_text_template (genshi.template.tests.directives.DefDirectiveTestCase) ... ERROR test_invocation_in_attribute (genshi.template.tests.directives.DefDirectiveTestCase) ... ERROR test_invocation_in_attribute_none (genshi.template.tests.directives.DefDirectiveTestCase) ... ERROR test_nested_defs (genshi.template.tests.directives.DefDirectiveTestCase) ... ERROR test_as_element (genshi.template.tests.directives.ForDirectiveTestCase) ... ERROR test_for_with_empty_value (genshi.template.tests.directives.ForDirectiveTestCase) ... ok test_loop_with_strip (genshi.template.tests.directives.ForDirectiveTestCase) ... ERROR test_multi_assignment (genshi.template.tests.directives.ForDirectiveTestCase) ... ERROR test_nested_assignment (genshi.template.tests.directives.ForDirectiveTestCase) ... ERROR test_not_iterable (genshi.template.tests.directives.ForDirectiveTestCase) ... ERROR test_as_element (genshi.template.tests.directives.IfDirectiveTestCase) ... ERROR test_loop_with_strip (genshi.template.tests.directives.IfDirectiveTestCase) ... ERROR test_as_element (genshi.template.tests.directives.MatchDirectiveTestCase) ... ERROR test_cascaded_matches (genshi.template.tests.directives.MatchDirectiveTestCase) ... ERROR test_content_directive_in_match (genshi.template.tests.directives.MatchDirectiveTestCase) ... ERROR test_def_in_match (genshi.template.tests.directives.MatchDirectiveTestCase) ... ERROR test_match_multiple_times1 (genshi.template.tests.directives.MatchDirectiveTestCase) ... ok test_match_multiple_times2 (genshi.template.tests.directives.MatchDirectiveTestCase) ... ok test_match_multiple_times3 (genshi.template.tests.directives.MatchDirectiveTestCase) ... ok test_match_with_closure (genshi.template.tests.directives.MatchDirectiveTestCase) ... ERROR test_match_with_once_attribute (genshi.template.tests.directives.MatchDirectiveTestCase) ... ERROR test_match_with_position_predicate (genshi.template.tests.directives.MatchDirectiveTestCase) ... ERROR test_match_with_recursive_attribute (genshi.template.tests.directives.MatchDirectiveTestCase) ... ERROR test_match_with_xpath_variable (genshi.template.tests.directives.MatchDirectiveTestCase) ... ERROR test_match_without_closure (genshi.template.tests.directives.MatchDirectiveTestCase) ... ERROR test_multiple_matches (genshi.template.tests.directives.MatchDirectiveTestCase) ... ERROR test_namespace_context (genshi.template.tests.directives.MatchDirectiveTestCase) ... ok test_not_match_self (genshi.template.tests.directives.MatchDirectiveTestCase) ... ERROR test_recursive_match_1 (genshi.template.tests.directives.MatchDirectiveTestCase) ... ERROR test_recursive_match_2 (genshi.template.tests.directives.MatchDirectiveTestCase) ... ERROR test_recursive_match_3 (genshi.template.tests.directives.MatchDirectiveTestCase) ... ERROR test_select_all_attrs (genshi.template.tests.directives.MatchDirectiveTestCase) ... ERROR test_select_all_attrs_empty (genshi.template.tests.directives.MatchDirectiveTestCase) ... ERROR test_select_all_attrs_in_body (genshi.template.tests.directives.MatchDirectiveTestCase) ... ERROR test_select_text_in_element (genshi.template.tests.directives.MatchDirectiveTestCase) ... ERROR test_triple_match_produces_no_duplicate_items (genshi.template.tests.directives.MatchDirectiveTestCase) ... ERROR test_with_strip (genshi.template.tests.directives.MatchDirectiveTestCase) ... ERROR test_without_strip (genshi.template.tests.directives.MatchDirectiveTestCase) ... ERROR test_as_element (genshi.template.tests.directives.ContentDirectiveTestCase) ... ok test_as_element (genshi.template.tests.directives.ReplaceDirectiveTestCase) ... ERROR test_replace_with_empty_value (genshi.template.tests.directives.ReplaceDirectiveTestCase) ... ok test_strip_empty (genshi.template.tests.directives.StripDirectiveTestCase) ... ok test_strip_false (genshi.template.tests.directives.StripDirectiveTestCase) ... ERROR test_as_element (genshi.template.tests.directives.WithDirectiveTestCase) ... ERROR test_ast_transformation (genshi.template.tests.directives.WithDirectiveTestCase) ... ERROR test_multiple_vars_same_name (genshi.template.tests.directives.WithDirectiveTestCase) ... ERROR test_multiple_vars_single_assignment (genshi.template.tests.directives.WithDirectiveTestCase) ... ERROR test_multiple_vars_trailing_semicolon (genshi.template.tests.directives.WithDirectiveTestCase) ... ERROR test_nested_vars_single_assignment (genshi.template.tests.directives.WithDirectiveTestCase) ... ERROR test_semicolon_escape (genshi.template.tests.directives.WithDirectiveTestCase) ... ERROR test_shadowing (genshi.template.tests.directives.WithDirectiveTestCase) ... ERROR test_unicode_expr (genshi.template.tests.directives.WithDirectiveTestCase) ... ERROR test_with_empty_value (genshi.template.tests.directives.WithDirectiveTestCase) ... ok Expression (genshi.template.eval) Doctest: genshi.template.eval.Expression ... FAIL LenientLookup (genshi.template.eval) Doctest: genshi.template.eval.LenientLookup ... FAIL StrictLookup (genshi.template.eval) Doctest: genshi.template.eval.StrictLookup ... FAIL Suite (genshi.template.eval) Doctest: genshi.template.eval.Suite ... FAIL Undefined (genshi.template.eval) Doctest: genshi.template.eval.Undefined ... ok test_access_undefined (genshi.template.tests.eval.ExpressionTestCase) ... ERROR test_binop_add (genshi.template.tests.eval.ExpressionTestCase) ... ERROR test_binop_and (genshi.template.tests.eval.ExpressionTestCase) ... ERROR test_binop_contains (genshi.template.tests.eval.ExpressionTestCase) ... ERROR test_binop_div (genshi.template.tests.eval.ExpressionTestCase) ... ERROR test_binop_floordiv (genshi.template.tests.eval.ExpressionTestCase) ... ERROR test_binop_is (genshi.template.tests.eval.ExpressionTestCase) ... ERROR test_binop_is_not (genshi.template.tests.eval.ExpressionTestCase) ... ERROR test_binop_mod (genshi.template.tests.eval.ExpressionTestCase) ... ERROR test_binop_mul (genshi.template.tests.eval.ExpressionTestCase) ... ERROR test_binop_not_contains (genshi.template.tests.eval.ExpressionTestCase) ... ERROR test_binop_or (genshi.template.tests.eval.ExpressionTestCase) ... ERROR test_binop_pow (genshi.template.tests.eval.ExpressionTestCase) ... ERROR test_binop_sub (genshi.template.tests.eval.ExpressionTestCase) ... ERROR test_binop_xor (genshi.template.tests.eval.ExpressionTestCase) ... ERROR test_boolop_and (genshi.template.tests.eval.ExpressionTestCase) ... ERROR test_boolop_or (genshi.template.tests.eval.ExpressionTestCase) ... ERROR test_builtins (genshi.template.tests.eval.ExpressionTestCase) ... ERROR test_call_dstar_args (genshi.template.tests.eval.ExpressionTestCase) ... ERROR test_call_function (genshi.template.tests.eval.ExpressionTestCase) ... ERROR test_call_keywords (genshi.template.tests.eval.ExpressionTestCase) ... ERROR test_call_star_args (genshi.template.tests.eval.ExpressionTestCase) ... ERROR test_compare_eq (genshi.template.tests.eval.ExpressionTestCase) ... ERROR test_compare_ge (genshi.template.tests.eval.ExpressionTestCase) ... ERROR test_compare_gt (genshi.template.tests.eval.ExpressionTestCase) ... ERROR test_compare_le (genshi.template.tests.eval.ExpressionTestCase) ... ERROR test_compare_lt (genshi.template.tests.eval.ExpressionTestCase) ... ERROR test_compare_multi (genshi.template.tests.eval.ExpressionTestCase) ... ERROR test_compare_ne (genshi.template.tests.eval.ExpressionTestCase) ... ERROR test_conditional_expression (genshi.template.tests.eval.ExpressionTestCase) ... ERROR test_dict_literal (genshi.template.tests.eval.ExpressionTestCase) ... ERROR test_eq (genshi.template.tests.eval.ExpressionTestCase) ... ERROR test_error_access_undefined (genshi.template.tests.eval.ExpressionTestCase) ... ERROR test_error_getattr_undefined (genshi.template.tests.eval.ExpressionTestCase) ... ERROR test_error_getitem_undefined_string (genshi.template.tests.eval.ExpressionTestCase) ... ERROR test_generator_expression (genshi.template.tests.eval.ExpressionTestCase) ... ERROR test_generator_expression_with_getattr (genshi.template.tests.eval.ExpressionTestCase) ... ERROR test_generator_expression_with_getitem (genshi.template.tests.eval.ExpressionTestCase) ... ERROR test_getattr_exception (genshi.template.tests.eval.ExpressionTestCase) ... ERROR test_getattr_undefined (genshi.template.tests.eval.ExpressionTestCase) ... ERROR test_getitem_exception (genshi.template.tests.eval.ExpressionTestCase) ... ERROR test_getitem_undefined_string (genshi.template.tests.eval.ExpressionTestCase) ... ERROR test_hash (genshi.template.tests.eval.ExpressionTestCase) ... ERROR test_lambda (genshi.template.tests.eval.ExpressionTestCase) ... ERROR test_lambda_tuple_arg (genshi.template.tests.eval.ExpressionTestCase) ... ok test_list_comprehension (genshi.template.tests.eval.ExpressionTestCase) ... ERROR test_list_comprehension_with_getattr (genshi.template.tests.eval.ExpressionTestCase) ... ERROR test_list_comprehension_with_getitem (genshi.template.tests.eval.ExpressionTestCase) ... ERROR test_list_literal (genshi.template.tests.eval.ExpressionTestCase) ... ERROR test_name_lookup (genshi.template.tests.eval.ExpressionTestCase) ... ERROR test_num_literal (genshi.template.tests.eval.ExpressionTestCase) ... ERROR test_pickle (genshi.template.tests.eval.ExpressionTestCase) ... ERROR test_slice (genshi.template.tests.eval.ExpressionTestCase) ... ERROR test_slice_copy (genshi.template.tests.eval.ExpressionTestCase) ... ERROR test_slice_negative_end (genshi.template.tests.eval.ExpressionTestCase) ... ERROR test_slice_negative_start (genshi.template.tests.eval.ExpressionTestCase) ... ERROR test_slice_stride (genshi.template.tests.eval.ExpressionTestCase) ... ERROR test_slice_with_vars (genshi.template.tests.eval.ExpressionTestCase) ... ERROR test_str_literal (genshi.template.tests.eval.ExpressionTestCase) ... ERROR test_str_literal_non_ascii (genshi.template.tests.eval.ExpressionTestCase) ... ERROR test_tuple_literal (genshi.template.tests.eval.ExpressionTestCase) ... ERROR test_unaryop_inv (genshi.template.tests.eval.ExpressionTestCase) ... ERROR test_unaryop_neg (genshi.template.tests.eval.ExpressionTestCase) ... ERROR test_unaryop_not (genshi.template.tests.eval.ExpressionTestCase) ... ERROR test_unaryop_pos (genshi.template.tests.eval.ExpressionTestCase) ... ERROR test_assign (genshi.template.tests.eval.SuiteTestCase) ... ERROR test_assign_in_list (genshi.template.tests.eval.SuiteTestCase) ... ERROR test_assign_to_attribute (genshi.template.tests.eval.SuiteTestCase) ... ERROR test_assign_to_dict_item (genshi.template.tests.eval.SuiteTestCase) ... ERROR test_augmented_assign_in_def (genshi.template.tests.eval.SuiteTestCase) ... ERROR test_augmented_assign_in_loop_in_def (genshi.template.tests.eval.SuiteTestCase) ... ERROR test_augmented_attribute_assignment (genshi.template.tests.eval.SuiteTestCase) ... ERROR test_class (genshi.template.tests.eval.SuiteTestCase) ... ERROR test_class_in_def (genshi.template.tests.eval.SuiteTestCase) ... ERROR test_class_with_methods (genshi.template.tests.eval.SuiteTestCase) ... ERROR test_def (genshi.template.tests.eval.SuiteTestCase) ... ERROR test_def_all_defaults (genshi.template.tests.eval.SuiteTestCase) ... ERROR test_def_kwargs (genshi.template.tests.eval.SuiteTestCase) ... ERROR test_def_kwonlyarg (genshi.template.tests.eval.SuiteTestCase) ... ERROR test_def_kwonlyarg_with_default (genshi.template.tests.eval.SuiteTestCase) ... ERROR test_def_nested (genshi.template.tests.eval.SuiteTestCase) ... ERROR test_def_some_defaults (genshi.template.tests.eval.SuiteTestCase) ... ERROR test_def_using_nonlocal (genshi.template.tests.eval.SuiteTestCase) ... ERROR test_def_vararg (genshi.template.tests.eval.SuiteTestCase) ... ERROR test_def_with_decorator (genshi.template.tests.eval.SuiteTestCase) ... ERROR test_def_with_multiple_statements (genshi.template.tests.eval.SuiteTestCase) ... ERROR test_delattr (genshi.template.tests.eval.SuiteTestCase) ... ERROR test_delete (genshi.template.tests.eval.SuiteTestCase) ... ERROR test_delitem (genshi.template.tests.eval.SuiteTestCase) ... ERROR test_exec (genshi.template.tests.eval.SuiteTestCase) ... ERROR test_finally (genshi.template.tests.eval.SuiteTestCase) ... ERROR test_for (genshi.template.tests.eval.SuiteTestCase) ... ERROR test_for_in_def (genshi.template.tests.eval.SuiteTestCase) ... ERROR test_if (genshi.template.tests.eval.SuiteTestCase) ... ERROR test_import (genshi.template.tests.eval.SuiteTestCase) ... ERROR test_import_in_def (genshi.template.tests.eval.SuiteTestCase) ... ERROR test_import_star (genshi.template.tests.eval.SuiteTestCase) ... ERROR test_internal_shadowing (genshi.template.tests.eval.SuiteTestCase) ... ERROR test_local_augmented_assign (genshi.template.tests.eval.SuiteTestCase) ... ERROR test_pickle (genshi.template.tests.eval.SuiteTestCase) ... ERROR test_raise (genshi.template.tests.eval.SuiteTestCase) ... ERROR test_return (genshi.template.tests.eval.SuiteTestCase) ... ERROR test_try_except (genshi.template.tests.eval.SuiteTestCase) ... ERROR test_while_break (genshi.template.tests.eval.SuiteTestCase) ... ERROR test_with_statement (genshi.template.tests.eval.SuiteTestCase) ... ERROR test_with_statement_with_multiple_items (genshi.template.tests.eval.SuiteTestCase) ... ERROR test_yield_expression (genshi.template.tests.eval.SuiteTestCase) ... ERROR interpolate (genshi.template.interpolation) Doctest: genshi.template.interpolation.interpolate ... FAIL test_interpolate_dobuleescaped (genshi.template.tests.interpolation.InterpolateTestCase) ... ERROR test_interpolate_escaped (genshi.template.tests.interpolation.InterpolateTestCase) ... ok test_interpolate_full_mismatched_brackets (genshi.template.tests.interpolation.InterpolateTestCase) ... ok test_interpolate_full_nested_brackets (genshi.template.tests.interpolation.InterpolateTestCase) ... ERROR test_interpolate_mixed1 (genshi.template.tests.interpolation.InterpolateTestCase) ... ERROR test_interpolate_mixed2 (genshi.template.tests.interpolation.InterpolateTestCase) ... ERROR test_interpolate_quoted_brackets_1 (genshi.template.tests.interpolation.InterpolateTestCase) ... ERROR test_interpolate_quoted_brackets_2 (genshi.template.tests.interpolation.InterpolateTestCase) ... ERROR test_interpolate_quoted_brackets_3 (genshi.template.tests.interpolation.InterpolateTestCase) ... ERROR test_interpolate_quoted_brackets_4 (genshi.template.tests.interpolation.InterpolateTestCase) ... ERROR test_interpolate_quoted_brackets_5 (genshi.template.tests.interpolation.InterpolateTestCase) ... ERROR test_interpolate_short (genshi.template.tests.interpolation.InterpolateTestCase) ... ERROR test_interpolate_short_containing_digit (genshi.template.tests.interpolation.InterpolateTestCase) ... ERROR test_interpolate_short_containing_dot (genshi.template.tests.interpolation.InterpolateTestCase) ... ERROR test_interpolate_short_containing_underscore (genshi.template.tests.interpolation.InterpolateTestCase) ... ERROR test_interpolate_short_doubleescaped (genshi.template.tests.interpolation.InterpolateTestCase) ... ERROR test_interpolate_short_escaped (genshi.template.tests.interpolation.InterpolateTestCase) ... ok test_interpolate_short_escaped_2 (genshi.template.tests.interpolation.InterpolateTestCase) ... ok test_interpolate_short_starting_with_digit (genshi.template.tests.interpolation.InterpolateTestCase) ... ok test_interpolate_short_starting_with_dot (genshi.template.tests.interpolation.InterpolateTestCase) ... ok test_interpolate_short_starting_with_underscore (genshi.template.tests.interpolation.InterpolateTestCase) ... ERROR test_interpolate_simple (genshi.template.tests.interpolation.InterpolateTestCase) ... ERROR test_interpolate_string (genshi.template.tests.interpolation.InterpolateTestCase) ... ok test_interpolate_triplequoted (genshi.template.tests.interpolation.InterpolateTestCase) ... ERROR TemplateLoader (genshi.template.loader) Doctest: genshi.template.loader.TemplateLoader ... FAIL prefixed (genshi.template.loader.TemplateLoader) Doctest: genshi.template.loader.TemplateLoader.prefixed ... ok test_absolute_include (genshi.template.tests.loader.TemplateLoaderTestCase) ... ok test_abspath_caching (genshi.template.tests.loader.TemplateLoaderTestCase) ... ok test_abspath_include_caching_without_search_path (genshi.template.tests.loader.TemplateLoaderTestCase) ... ok test_load_with_callback (genshi.template.tests.loader.TemplateLoaderTestCase) ... ok test_load_with_default_encoding (genshi.template.tests.loader.TemplateLoaderTestCase) ... ok test_load_with_explicit_encoding (genshi.template.tests.loader.TemplateLoaderTestCase) ... ok test_prefix_delegation_to_directories (genshi.template.tests.loader.TemplateLoaderTestCase) ... ok test_prefix_delegation_to_directories_with_subdirs (genshi.template.tests.loader.TemplateLoaderTestCase) ... ok test_relative_absolute_template_preferred (genshi.template.tests.loader.TemplateLoaderTestCase) ... ok test_relative_include_from_inmemory_template (genshi.template.tests.loader.TemplateLoaderTestCase) ... ok test_relative_include_parentdir (genshi.template.tests.loader.TemplateLoaderTestCase) ... ok test_relative_include_samedir (genshi.template.tests.loader.TemplateLoaderTestCase) ... ok test_relative_include_samesubdir (genshi.template.tests.loader.TemplateLoaderTestCase) ... ok test_relative_include_subdir (genshi.template.tests.loader.TemplateLoaderTestCase) ... ok test_relative_include_without_loader (genshi.template.tests.loader.TemplateLoaderTestCase) ... ok test_relative_include_without_loader_relative (genshi.template.tests.loader.TemplateLoaderTestCase) ... ok test_relative_include_without_search_path (genshi.template.tests.loader.TemplateLoaderTestCase) ... ok test_relative_include_without_search_path_nested (genshi.template.tests.loader.TemplateLoaderTestCase) ... ok test_search_path_as_string (genshi.template.tests.loader.TemplateLoaderTestCase) ... ok test_search_path_empty (genshi.template.tests.loader.TemplateLoaderTestCase) ... ok MarkupTemplate (genshi.template.markup) Doctest: genshi.template.markup.MarkupTemplate ... FAIL test_allow_exec_false (genshi.template.tests.markup.MarkupTemplateTestCase) ... ok test_allow_exec_true (genshi.template.tests.markup.MarkupTemplateTestCase) ... ERROR test_attr_escape_quotes (genshi.template.tests.markup.MarkupTemplateTestCase) ... ERROR test_bad_directive_error (genshi.template.tests.markup.MarkupTemplateTestCase) ... ok test_directive_element (genshi.template.tests.markup.MarkupTemplateTestCase) ... ERROR test_directive_value_syntax_error (genshi.template.tests.markup.MarkupTemplateTestCase) ... ok test_dynamic_include_href (genshi.template.tests.markup.MarkupTemplateTestCase) ... ERROR test_empty_attr (genshi.template.tests.markup.MarkupTemplateTestCase) ... ok test_empty_attr_interpolated (genshi.template.tests.markup.MarkupTemplateTestCase) ... ERROR test_error_when_include_not_found (genshi.template.tests.markup.MarkupTemplateTestCase) ... ok test_exec_def (genshi.template.tests.markup.MarkupTemplateTestCase) ... ERROR test_exec_import (genshi.template.tests.markup.MarkupTemplateTestCase) ... ERROR test_exec_in_match (genshi.template.tests.markup.MarkupTemplateTestCase) ... ERROR test_exec_with_trailing_space (genshi.template.tests.markup.MarkupTemplateTestCase) ... ERROR test_expression_syntax_error (genshi.template.tests.markup.MarkupTemplateTestCase) ... ok test_expression_syntax_error_multi_line (genshi.template.tests.markup.MarkupTemplateTestCase) ... ok test_fallback_when_auto_reload_true (genshi.template.tests.markup.MarkupTemplateTestCase) ... ok test_fallback_when_include_found (genshi.template.tests.markup.MarkupTemplateTestCase) ... ok test_fallback_when_include_not_found (genshi.template.tests.markup.MarkupTemplateTestCase) ... ok test_include_fallback_with_directive (genshi.template.tests.markup.MarkupTemplateTestCase) ... ERROR test_include_in_fallback (genshi.template.tests.markup.MarkupTemplateTestCase) ... ok test_include_in_loop (genshi.template.tests.markup.MarkupTemplateTestCase) ... ERROR test_include_inline_recursive (genshi.template.tests.markup.MarkupTemplateTestCase) ... ERROR test_include_inlined (genshi.template.tests.markup.MarkupTemplateTestCase) ... ok test_include_inlined_in_loop (genshi.template.tests.markup.MarkupTemplateTestCase) ... ERROR test_interpolate_leading_trailing_space (genshi.template.tests.markup.MarkupTemplateTestCase) ... ERROR test_interpolate_list_result (genshi.template.tests.markup.MarkupTemplateTestCase) ... ERROR test_interpolate_mixed3 (genshi.template.tests.markup.MarkupTemplateTestCase) ... ERROR test_interpolate_multiline (genshi.template.tests.markup.MarkupTemplateTestCase) ... ERROR test_interpolate_non_string_attrs (genshi.template.tests.markup.MarkupTemplateTestCase) ... ERROR test_latin1_encoded_explicit_encoding (genshi.template.tests.markup.MarkupTemplateTestCase) ... ok test_latin1_encoded_with_xmldecl (genshi.template.tests.markup.MarkupTemplateTestCase) ... ok test_markup_noescape (genshi.template.tests.markup.MarkupTemplateTestCase) ... ERROR test_match_tail_handling (genshi.template.tests.markup.MarkupTemplateTestCase) ... ERROR test_match_without_select (genshi.template.tests.markup.MarkupTemplateTestCase) ... ok test_namespace_on_removed_elem (genshi.template.tests.markup.MarkupTemplateTestCase) ... ERROR test_nested_include_fallback (genshi.template.tests.markup.MarkupTemplateTestCase) ... ok test_nested_include_in_fallback (genshi.template.tests.markup.MarkupTemplateTestCase) ... ok test_nested_include_matches (genshi.template.tests.markup.MarkupTemplateTestCase) ... ERROR test_nested_matches_without_buffering (genshi.template.tests.markup.MarkupTemplateTestCase) ... ERROR test_normal_comment (genshi.template.tests.markup.MarkupTemplateTestCase) ... ok test_parse_fileobj (genshi.template.tests.markup.MarkupTemplateTestCase) ... ERROR test_parse_stream (genshi.template.tests.markup.MarkupTemplateTestCase) ... ERROR test_parse_with_same_namespace_nested (genshi.template.tests.markup.MarkupTemplateTestCase) ... ok test_pickle (genshi.template.tests.markup.MarkupTemplateTestCase) ... ERROR test_select_included_elements (genshi.template.tests.markup.MarkupTemplateTestCase) ... ERROR test_template_comment (genshi.template.tests.markup.MarkupTemplateTestCase) ... ok test_text_noescape_quotes (genshi.template.tests.markup.MarkupTemplateTestCase) ... ERROR test_with_in_match (genshi.template.tests.markup.MarkupTemplateTestCase) ... ERROR test_helper_functions (genshi.template.tests.plugin.MarkupTemplateEnginePluginTestCase) ... ERROR test_init_no_options (genshi.template.tests.plugin.MarkupTemplateEnginePluginTestCase) ... ok test_init_with_invalid_cache_size (genshi.template.tests.plugin.MarkupTemplateEnginePluginTestCase) ... ok test_init_with_invalid_doctype (genshi.template.tests.plugin.MarkupTemplateEnginePluginTestCase) ... ok test_init_with_invalid_output_format (genshi.template.tests.plugin.MarkupTemplateEnginePluginTestCase) ... ok test_init_with_loader_options (genshi.template.tests.plugin.MarkupTemplateEnginePluginTestCase) ... ok test_init_with_output_options (genshi.template.tests.plugin.MarkupTemplateEnginePluginTestCase) ... ok test_load_template_from_file (genshi.template.tests.plugin.MarkupTemplateEnginePluginTestCase) ... ERROR test_load_template_from_string (genshi.template.tests.plugin.MarkupTemplateEnginePluginTestCase) ... ERROR test_render (genshi.template.tests.plugin.MarkupTemplateEnginePluginTestCase) ... ERROR test_render_fragment_with_doctype (genshi.template.tests.plugin.MarkupTemplateEnginePluginTestCase) ... ERROR test_render_with_doctype (genshi.template.tests.plugin.MarkupTemplateEnginePluginTestCase) ... ERROR test_render_with_format (genshi.template.tests.plugin.MarkupTemplateEnginePluginTestCase) ... ERROR test_transform_with_load (genshi.template.tests.plugin.MarkupTemplateEnginePluginTestCase) ... ERROR test_transform_without_load (genshi.template.tests.plugin.MarkupTemplateEnginePluginTestCase) ... ERROR test_helper_functions (genshi.template.tests.plugin.TextTemplateEnginePluginTestCase) ... ERROR test_init_no_options (genshi.template.tests.plugin.TextTemplateEnginePluginTestCase) ... ok test_init_with_loader_options (genshi.template.tests.plugin.TextTemplateEnginePluginTestCase) ... ok test_init_with_new_syntax (genshi.template.tests.plugin.TextTemplateEnginePluginTestCase) ... ERROR test_init_with_output_options (genshi.template.tests.plugin.TextTemplateEnginePluginTestCase) ... ok test_load_template_from_file (genshi.template.tests.plugin.TextTemplateEnginePluginTestCase) ... ERROR test_load_template_from_string (genshi.template.tests.plugin.TextTemplateEnginePluginTestCase) ... ERROR test_render (genshi.template.tests.plugin.TextTemplateEnginePluginTestCase) ... ERROR test_transform_with_load (genshi.template.tests.plugin.TextTemplateEnginePluginTestCase) ... ERROR test_transform_without_load (genshi.template.tests.plugin.TextTemplateEnginePluginTestCase) ... ERROR NewTextTemplate (genshi.template.text) Doctest: genshi.template.text.NewTextTemplate ... FAIL OldTextTemplate (genshi.template.text) Doctest: genshi.template.text.OldTextTemplate ... FAIL test_comment (genshi.template.tests.text.OldTextTemplateTestCase) ... ok test_comment_escaping (genshi.template.tests.text.OldTextTemplateTestCase) ... ok test_empty_lines1 (genshi.template.tests.text.OldTextTemplateTestCase) ... ERROR test_empty_lines2 (genshi.template.tests.text.OldTextTemplateTestCase) ... ERROR test_end_with_args (genshi.template.tests.text.OldTextTemplateTestCase) ... ERROR test_escaping (genshi.template.tests.text.OldTextTemplateTestCase) ... ok test_include (genshi.template.tests.text.OldTextTemplateTestCase) ... ok test_latin1_encoded (genshi.template.tests.text.OldTextTemplateTestCase) ... ERROR test_unicode_input (genshi.template.tests.text.OldTextTemplateTestCase) ... ERROR test_comment (genshi.template.tests.text.NewTextTemplateTestCase) ... ok test_comment_escaping (genshi.template.tests.text.NewTextTemplateTestCase) ... ok test_empty_lines1 (genshi.template.tests.text.NewTextTemplateTestCase) ... ERROR test_empty_lines1_with_crlf (genshi.template.tests.text.NewTextTemplateTestCase) ... ERROR test_empty_lines2 (genshi.template.tests.text.NewTextTemplateTestCase) ... ERROR test_empty_lines2_with_crlf (genshi.template.tests.text.NewTextTemplateTestCase) ... ERROR test_end_with_args (genshi.template.tests.text.NewTextTemplateTestCase) ... ERROR test_escaping (genshi.template.tests.text.NewTextTemplateTestCase) ... ok test_exec_def (genshi.template.tests.text.NewTextTemplateTestCase) ... ERROR test_exec_import (genshi.template.tests.text.NewTextTemplateTestCase) ... ERROR test_exec_with_trailing_space (genshi.template.tests.text.NewTextTemplateTestCase) ... ok test_include (genshi.template.tests.text.NewTextTemplateTestCase) ... ok test_include_expr (genshi.template.tests.text.NewTextTemplateTestCase) ... ERROR test_latin1_encoded (genshi.template.tests.text.NewTextTemplateTestCase) ... ERROR test_unicode_input (genshi.template.tests.text.NewTextTemplateTestCase) ... ERROR LRUCache (genshi.util) Doctest: genshi.util.LRUCache ... ok flatten (genshi.util) Doctest: genshi.util.flatten ... ok plaintext (genshi.util) Doctest: genshi.util.plaintext ... ok stripentities (genshi.util) Doctest: genshi.util.stripentities ... ok striptags (genshi.util) Doctest: genshi.util.striptags ... ok test_getitem (genshi.tests.util.LRUCacheTestCase) ... ok test_setitem (genshi.tests.util.LRUCacheTestCase) ... ok ====================================================================== ERROR: test_fill_option_segmented_text (genshi.filters.tests.test_html.HTMLFormFillerTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/tests/test_html.py", line 312, in test_fill_option_segmented_text html = MarkupTemplate("""
File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_fill_option_segmented_text_no_value (genshi.filters.tests.test_html.HTMLFormFillerTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/tests/test_html.py", line 324, in test_fill_option_segmented_text_no_value html = MarkupTemplate(""" File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_extract_attribute_expr (genshi.filters.tests.i18n.TranslatorTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/tests/i18n.py", line 158, in test_extract_attribute_expr messages = list(translator.extract(tmpl.stream)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 454, in stream self._prepare_self() File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 473, in _prepare_self self._stream = list(self._prepare(self._stream, inlined)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 289, in _prepare self, self._extract_includes(self._interpolate_attrs(stream)), File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 210, in _extract_includes for kind, data, pos in stream: File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 278, in _interpolate_attrs value = list(interpolate(value, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_extract_funky_plural_form (genshi.filters.tests.i18n.TranslatorTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/tests/i18n.py", line 127, in test_extract_funky_plural_form tmpl = MarkupTemplate(""" File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_extract_gettext_with_unicode_string (genshi.filters.tests.i18n.TranslatorTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/tests/i18n.py", line 136, in test_extract_gettext_with_unicode_string tmpl = MarkupTemplate(""" File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_extract_non_included_attribute_interpolated (genshi.filters.tests.i18n.TranslatorTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/tests/i18n.py", line 167, in test_extract_non_included_attribute_interpolated messages = list(translator.extract(tmpl.stream)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 454, in stream self._prepare_self() File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 473, in _prepare_self self._stream = list(self._prepare(self._stream, inlined)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 289, in _prepare self, self._extract_includes(self._interpolate_attrs(stream)), File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 210, in _extract_includes for kind, data, pos in stream: File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 278, in _interpolate_attrs value = list(interpolate(value, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_extract_plural_form (genshi.filters.tests.i18n.TranslatorTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/tests/i18n.py", line 117, in test_extract_plural_form tmpl = MarkupTemplate(""" File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_extract_tag_with_variable_xml_lang (genshi.filters.tests.i18n.TranslatorTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/tests/i18n.py", line 193, in test_extract_tag_with_variable_xml_lang messages = list(translator.extract(tmpl.stream)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 454, in stream self._prepare_self() File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 473, in _prepare_self self._stream = list(self._prepare(self._stream, inlined)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 289, in _prepare self, self._extract_includes(self._interpolate_attrs(stream)), File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 210, in _extract_includes for kind, data, pos in stream: File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 278, in _interpolate_attrs value = list(interpolate(value, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_extract_text_from_sub (genshi.filters.tests.i18n.TranslatorTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/tests/i18n.py", line 176, in test_extract_text_from_sub messages = list(translator.extract(tmpl.stream)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 454, in stream self._prepare_self() File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 473, in _prepare_self self._stream = list(self._prepare(self._stream, inlined)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 490, in _prepare directive, substream = cls.attach(self, substream, value, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 404, in attach return super(IfDirective, cls).attach(template, stream, value, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 82, in attach return cls(value, template, namespaces, *pos[1:]), stream File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 60, in __init__ self.expr = self._parse_expr(value, template, lineno, offset) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 108, in _parse_expr return expr and Expression(expr, template.filepath, lineno, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_extract_without_text (genshi.filters.tests.i18n.TranslatorTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/tests/i18n.py", line 106, in test_extract_without_text tmpl = MarkupTemplate(""" File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_ignore_attribute_with_expression (genshi.filters.tests.i18n.TranslatorTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/tests/i18n.py", line 203, in test_ignore_attribute_with_expression messages = list(translator.extract(tmpl.stream)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 454, in stream self._prepare_self() File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 473, in _prepare_self self._stream = list(self._prepare(self._stream, inlined)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 289, in _prepare self, self._extract_includes(self._interpolate_attrs(stream)), File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 210, in _extract_includes for kind, data, pos in stream: File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 278, in _interpolate_attrs value = list(interpolate(value, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_extract_i18n_msg_with_directive (genshi.filters.tests.i18n.MsgDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/tests/i18n.py", line 628, in test_extract_i18n_msg_with_directive messages = list(translator.extract(tmpl.stream)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 454, in stream self._prepare_self() File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 473, in _prepare_self self._stream = list(self._prepare(self._stream, inlined)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 496, in _prepare yield kind, (directives, list(substream)), pos File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 490, in _prepare directive, substream = cls.attach(self, substream, value, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 82, in attach return cls(value, template, namespaces, *pos[1:]), stream File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 60, in __init__ self.expr = self._parse_expr(value, template, lineno, offset) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 108, in _parse_expr return expr and Expression(expr, template.filepath, lineno, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in _clone value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_extract_i18n_msg_with_dynamic_attributes (genshi.filters.tests.i18n.MsgDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/tests/i18n.py", line 337, in test_extract_i18n_msg_with_dynamic_attributes messages = list(translator.extract(tmpl.stream)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 454, in stream self._prepare_self() File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 473, in _prepare_self self._stream = list(self._prepare(self._stream, inlined)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 494, in _prepare substream = self._prepare(substream, inlined) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 289, in _prepare self, self._extract_includes(self._interpolate_attrs(stream)), File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 210, in _extract_includes for kind, data, pos in stream: File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 278, in _interpolate_attrs value = list(interpolate(value, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_extract_i18n_msg_with_other_directives_nested (genshi.filters.tests.i18n.MsgDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/tests/i18n.py", line 792, in test_extract_i18n_msg_with_other_directives_nested messages = list(translator.extract(tmpl.stream)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 454, in stream self._prepare_self() File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 473, in _prepare_self self._stream = list(self._prepare(self._stream, inlined)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 490, in _prepare directive, substream = cls.attach(self, substream, value, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 718, in attach return super(WithDirective, cls).attach(template, stream, value, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 82, in attach return cls(value, template, namespaces, *pos[1:]), stream File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 706, in __init__ Expression(node.value, template.filepath, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_extract_i18n_msg_with_param (genshi.filters.tests.i18n.MsgDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/tests/i18n.py", line 534, in test_extract_i18n_msg_with_param tmpl = MarkupTemplate(""">/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 635, in visit_Attribute args = [self.visit(node.value), _new(_ast.Str, node.attr)] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_extract_i18n_msg_with_two_params (genshi.filters.tests.i18n.MsgDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/tests/i18n.py", line 589, in test_extract_i18n_msg_with_two_params tmpl = MarkupTemplate(""">/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 635, in visit_Attribute args = [self.visit(node.value), _new(_ast.Str, node.attr)] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_i18n_msg_ticket_300_extract (genshi.filters.tests.i18n.MsgDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/tests/i18n.py", line 719, in test_i18n_msg_ticket_300_extract tmpl = MarkupTemplate(""">/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 464, in _compile new_source = ASTCodeGenerator(tree).code File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 43, in __init__ self.visit(tree) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 104, in visit_Expression return self.visit(node.body) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 90, in visit raise Exception('Unhandled node type %r' % type(node)) Exception: Unhandled node type ====================================================================== ERROR: test_i18n_msg_ticket_300_translate (genshi.filters.tests.i18n.MsgDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/tests/i18n.py", line 734, in test_i18n_msg_ticket_300_translate tmpl = MarkupTemplate(""">/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_i18n_msg_with_other_nested_directives_with_reordered_content (genshi.filters.tests.i18n.MsgDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/tests/i18n.py", line 864, in test_i18n_msg_with_other_nested_directives_with_reordered_content messages = list(translator.extract(tmpl.stream)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 454, in stream self._prepare_self() File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 473, in _prepare_self self._stream = list(self._prepare(self._stream, inlined)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 490, in _prepare directive, substream = cls.attach(self, substream, value, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 404, in attach return super(IfDirective, cls).attach(template, stream, value, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 82, in attach return cls(value, template, namespaces, *pos[1:]), stream File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 60, in __init__ self.expr = self._parse_expr(value, template, lineno, offset) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 108, in _parse_expr return expr and Expression(expr, template.filepath, lineno, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_translate_i18n_msg_ticket_404 (genshi.filters.tests.i18n.MsgDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/tests/i18n.py", line 919, in test_translate_i18n_msg_ticket_404 tmpl = MarkupTemplate(""">/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_translate_i18n_msg_ticket_404_regression (genshi.filters.tests.i18n.MsgDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/tests/i18n.py", line 932, in test_translate_i18n_msg_ticket_404_regression tmpl = MarkupTemplate(""">/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_translate_i18n_msg_with_attribute_param (genshi.filters.tests.i18n.MsgDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/tests/i18n.py", line 586, in test_translate_i18n_msg_with_attribute_param """, tmpl.generate(anchor='42').render()) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 565, in generate stream = self.stream File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 454, in stream self._prepare_self() File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 473, in _prepare_self self._stream = list(self._prepare(self._stream, inlined)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 494, in _prepare substream = self._prepare(substream, inlined) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 289, in _prepare self, self._extract_includes(self._interpolate_attrs(stream)), File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 210, in _extract_includes for kind, data, pos in stream: File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 278, in _interpolate_attrs value = list(interpolate(value, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_translate_i18n_msg_with_directive (genshi.filters.tests.i18n.MsgDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/tests/i18n.py", line 644, in test_translate_i18n_msg_with_directive """, tmpl.generate().render()) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 565, in generate stream = self.stream File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 454, in stream self._prepare_self() File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 473, in _prepare_self self._stream = list(self._prepare(self._stream, inlined)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 496, in _prepare yield kind, (directives, list(substream)), pos File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 490, in _prepare directive, substream = cls.attach(self, substream, value, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 82, in attach return cls(value, template, namespaces, *pos[1:]), stream File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 60, in __init__ self.expr = self._parse_expr(value, template, lineno, offset) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 108, in _parse_expr return expr and Expression(expr, template.filepath, lineno, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 464, in _compile new_source = ASTCodeGenerator(tree).code File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 43, in __init__ self.visit(tree) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 104, in visit_Expression return self.visit(node.body) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 591, in visit_Dict self.visit(key) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 90, in visit raise Exception('Unhandled node type %r' % type(node)) Exception: Unhandled node type ====================================================================== ERROR: test_translate_i18n_msg_with_dynamic_attributes (genshi.filters.tests.i18n.MsgDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/tests/i18n.py", line 361, in test_translate_i18n_msg_with_dynamic_attributes """, tmpl.generate(_=translator.translate).render(encoding=None)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 565, in generate stream = self.stream File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 454, in stream self._prepare_self() File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 473, in _prepare_self self._stream = list(self._prepare(self._stream, inlined)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 494, in _prepare substream = self._prepare(substream, inlined) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 289, in _prepare self, self._extract_includes(self._interpolate_attrs(stream)), File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 210, in _extract_includes for kind, data, pos in stream: File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 278, in _interpolate_attrs value = list(interpolate(value, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_translate_i18n_msg_with_other_directives_nested (genshi.filters.tests.i18n.MsgDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/tests/i18n.py", line 832, in test_translate_i18n_msg_with_other_directives_nested messages = list(translator.extract(tmpl.stream)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 454, in stream self._prepare_self() File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 473, in _prepare_self self._stream = list(self._prepare(self._stream, inlined)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 494, in _prepare substream = self._prepare(substream, inlined) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 289, in _prepare self, self._extract_includes(self._interpolate_attrs(stream)), File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 210, in _extract_includes for kind, data, pos in stream: File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 278, in _interpolate_attrs value = list(interpolate(value, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 635, in visit_Attribute args = [self.visit(node.value), _new(_ast.Str, node.attr)] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_translate_i18n_msg_with_param (genshi.filters.tests.i18n.MsgDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/tests/i18n.py", line 547, in test_translate_i18n_msg_with_param tmpl = MarkupTemplate(""">/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 635, in visit_Attribute args = [self.visit(node.value), _new(_ast.Str, node.attr)] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_translate_i18n_msg_with_param_reordered (genshi.filters.tests.i18n.MsgDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/tests/i18n.py", line 561, in test_translate_i18n_msg_with_param_reordered tmpl = MarkupTemplate(""">/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 635, in visit_Attribute args = [self.visit(node.value), _new(_ast.Str, node.attr)] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_translate_i18n_msg_with_two_params (genshi.filters.tests.i18n.MsgDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/tests/i18n.py", line 602, in test_translate_i18n_msg_with_two_params tmpl = MarkupTemplate(""">/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 635, in visit_Attribute args = [self.visit(node.value), _new(_ast.Str, node.attr)] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_extract_i18n_choose_as_attribute (genshi.filters.tests.i18n.ChooseDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/tests/i18n.py", line 1161, in test_extract_i18n_choose_as_attribute messages = list(translator.extract(tmpl.stream)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 454, in stream self._prepare_self() File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 473, in _prepare_self self._stream = list(self._prepare(self._stream, inlined)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 490, in _prepare directive, substream = cls.attach(self, substream, value, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/i18n.py", line 355, in attach return super(ChooseDirective, cls).attach(template, stream, value, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 82, in attach return cls(value, template, namespaces, *pos[1:]), stream File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/i18n.py", line 343, in __init__ self.numeral = self._parse_expr(params.pop(0), template, lineno, offset) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 108, in _parse_expr return expr and Expression(expr, template.filepath, lineno, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_extract_i18n_choose_as_attribute_and_py_strip (genshi.filters.tests.i18n.ChooseDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/tests/i18n.py", line 1517, in test_extract_i18n_choose_as_attribute_and_py_strip messages = list(translator.extract(tmpl.stream)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 454, in stream self._prepare_self() File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 473, in _prepare_self self._stream = list(self._prepare(self._stream, inlined)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 490, in _prepare directive, substream = cls.attach(self, substream, value, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/i18n.py", line 355, in attach return super(ChooseDirective, cls).attach(template, stream, value, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 82, in attach return cls(value, template, namespaces, *pos[1:]), stream File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/i18n.py", line 343, in __init__ self.numeral = self._parse_expr(params.pop(0), template, lineno, offset) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 108, in _parse_expr return expr and Expression(expr, template.filepath, lineno, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_extract_i18n_choose_as_attribute_with_params (genshi.filters.tests.i18n.ChooseDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/tests/i18n.py", line 1186, in test_extract_i18n_choose_as_attribute_with_params tmpl = MarkupTemplate(""">/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_extract_i18n_choose_as_attribute_with_params_and_comment (genshi.filters.tests.i18n.ChooseDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/tests/i18n.py", line 1267, in test_extract_i18n_choose_as_attribute_with_params_and_comment tmpl = MarkupTemplate(""">/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_extract_i18n_choose_as_attribute_with_params_and_domain_as_param (genshi.filters.tests.i18n.ChooseDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/tests/i18n.py", line 1202, in test_extract_i18n_choose_as_attribute_with_params_and_domain_as_param tmpl = MarkupTemplate(""">/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_extract_i18n_choose_as_directive (genshi.filters.tests.i18n.ChooseDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/tests/i18n.py", line 1180, in test_extract_i18n_choose_as_directive messages = list(translator.extract(tmpl.stream)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 454, in stream self._prepare_self() File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 473, in _prepare_self self._stream = list(self._prepare(self._stream, inlined)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 490, in _prepare directive, substream = cls.attach(self, substream, value, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/i18n.py", line 355, in attach return super(ChooseDirective, cls).attach(template, stream, value, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 82, in attach return cls(value, template, namespaces, *pos[1:]), stream File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/i18n.py", line 343, in __init__ self.numeral = self._parse_expr(params.pop(0), template, lineno, offset) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 108, in _parse_expr return expr and Expression(expr, template.filepath, lineno, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_extract_i18n_choose_as_directive_with_params (genshi.filters.tests.i18n.ChooseDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/tests/i18n.py", line 1219, in test_extract_i18n_choose_as_directive_with_params tmpl = MarkupTemplate(""">/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_extract_i18n_choose_as_directive_with_params_and_comment (genshi.filters.tests.i18n.ChooseDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/tests/i18n.py", line 1284, in test_extract_i18n_choose_as_directive_with_params_and_comment tmpl = MarkupTemplate(""">/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_extract_i18n_choose_as_directive_with_params_and_domain_as_directive (genshi.filters.tests.i18n.ChooseDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/tests/i18n.py", line 1242, in test_extract_i18n_choose_as_directive_with_params_and_domain_as_directive tmpl = MarkupTemplate(""">/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_extract_i18n_choose_as_element_with_attributes (genshi.filters.tests.i18n.ChooseDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/tests/i18n.py", line 1357, in test_extract_i18n_choose_as_element_with_attributes tmpl = MarkupTemplate(""">/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_extract_i18n_choose_with_attributes (genshi.filters.tests.i18n.ChooseDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/tests/i18n.py", line 1301, in test_extract_i18n_choose_with_attributes tmpl = MarkupTemplate(""">/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_translate_i18n_choose_and_domain_and_py_strip (genshi.filters.tests.i18n.ChooseDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/tests/i18n.py", line 1432, in test_translate_i18n_choose_and_domain_and_py_strip tmpl = MarkupTemplate(""">/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_translate_i18n_choose_and_plural_with_py_strip (genshi.filters.tests.i18n.ChooseDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/tests/i18n.py", line 1486, in test_translate_i18n_choose_and_plural_with_py_strip tmpl = MarkupTemplate(""">/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_translate_i18n_choose_and_py_strip (genshi.filters.tests.i18n.ChooseDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/tests/i18n.py", line 1410, in test_translate_i18n_choose_and_py_strip tmpl = MarkupTemplate(""">/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_translate_i18n_choose_and_singular_with_py_strip (genshi.filters.tests.i18n.ChooseDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/tests/i18n.py", line 1456, in test_translate_i18n_choose_and_singular_with_py_strip tmpl = MarkupTemplate(""">/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_translate_i18n_choose_as_attribute (genshi.filters.tests.i18n.ChooseDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/tests/i18n.py", line 968, in test_translate_i18n_choose_as_attribute """, tmpl.generate(one=1, two=2).render()) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 565, in generate stream = self.stream File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 454, in stream self._prepare_self() File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 473, in _prepare_self self._stream = list(self._prepare(self._stream, inlined)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 490, in _prepare directive, substream = cls.attach(self, substream, value, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/i18n.py", line 355, in attach return super(ChooseDirective, cls).attach(template, stream, value, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 82, in attach return cls(value, template, namespaces, *pos[1:]), stream File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/i18n.py", line 343, in __init__ self.numeral = self._parse_expr(params.pop(0), template, lineno, offset) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 108, in _parse_expr return expr and Expression(expr, template.filepath, lineno, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_translate_i18n_choose_as_attribute_with_params (genshi.filters.tests.i18n.ChooseDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/tests/i18n.py", line 1047, in test_translate_i18n_choose_as_attribute_with_params tmpl = MarkupTemplate(""">/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_translate_i18n_choose_as_attribute_with_params_and_domain_as_param (genshi.filters.tests.i18n.ChooseDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/tests/i18n.py", line 1069, in test_translate_i18n_choose_as_attribute_with_params_and_domain_as_param tmpl = MarkupTemplate(""">/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_translate_i18n_choose_as_directive (genshi.filters.tests.i18n.ChooseDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/tests/i18n.py", line 988, in test_translate_i18n_choose_as_directive """, tmpl.generate(one=1, two=2).render()) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 565, in generate stream = self.stream File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 454, in stream self._prepare_self() File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 473, in _prepare_self self._stream = list(self._prepare(self._stream, inlined)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 490, in _prepare directive, substream = cls.attach(self, substream, value, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/i18n.py", line 355, in attach return super(ChooseDirective, cls).attach(template, stream, value, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 82, in attach return cls(value, template, namespaces, *pos[1:]), stream File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/i18n.py", line 343, in __init__ self.numeral = self._parse_expr(params.pop(0), template, lineno, offset) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 108, in _parse_expr return expr and Expression(expr, template.filepath, lineno, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_translate_i18n_choose_as_directive_singular_and_plural_with_strip (genshi.filters.tests.i18n.ChooseDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/tests/i18n.py", line 1018, in test_translate_i18n_choose_as_directive_singular_and_plural_with_strip """, tmpl.generate(one=1, two=2).render()) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 565, in generate stream = self.stream File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 454, in stream self._prepare_self() File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 473, in _prepare_self self._stream = list(self._prepare(self._stream, inlined)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 490, in _prepare directive, substream = cls.attach(self, substream, value, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/i18n.py", line 355, in attach return super(ChooseDirective, cls).attach(template, stream, value, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 82, in attach return cls(value, template, namespaces, *pos[1:]), stream File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/i18n.py", line 343, in __init__ self.numeral = self._parse_expr(params.pop(0), template, lineno, offset) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 108, in _parse_expr return expr and Expression(expr, template.filepath, lineno, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_translate_i18n_choose_as_directive_with_params (genshi.filters.tests.i18n.ChooseDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/tests/i18n.py", line 1093, in test_translate_i18n_choose_as_directive_with_params tmpl = MarkupTemplate(""">/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_translate_i18n_choose_as_directive_with_params_and_domain_as_directive (genshi.filters.tests.i18n.ChooseDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/tests/i18n.py", line 1119, in test_translate_i18n_choose_as_directive_with_params_and_domain_as_directive tmpl = MarkupTemplate(""">/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_translate_i18n_choose_as_element_with_attributes (genshi.filters.tests.i18n.ChooseDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/tests/i18n.py", line 1382, in test_translate_i18n_choose_as_element_with_attributes tmpl = MarkupTemplate(""">/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_translate_i18n_choose_plural_singular_as_directive (genshi.filters.tests.i18n.ChooseDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/tests/i18n.py", line 1044, in test_translate_i18n_choose_plural_singular_as_directive """, tmpl.generate(one=1, two=2).render()) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 565, in generate stream = self.stream File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 454, in stream self._prepare_self() File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 473, in _prepare_self self._stream = list(self._prepare(self._stream, inlined)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 490, in _prepare directive, substream = cls.attach(self, substream, value, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/i18n.py", line 355, in attach return super(ChooseDirective, cls).attach(template, stream, value, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 82, in attach return cls(value, template, namespaces, *pos[1:]), stream File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/i18n.py", line 343, in __init__ self.numeral = self._parse_expr(params.pop(0), template, lineno, offset) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 108, in _parse_expr return expr and Expression(expr, template.filepath, lineno, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_translate_i18n_choose_with_attributes (genshi.filters.tests.i18n.ChooseDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/tests/i18n.py", line 1325, in test_translate_i18n_choose_with_attributes tmpl = MarkupTemplate(""">/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_translate_i18n_domain_with_nested_includes (genshi.filters.tests.i18n.DomainDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/tests/i18n.py", line 1771, in test_translate_i18n_domain_with_nested_includes """, tmpl.generate(idx=-1).render()) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 565, in generate stream = self.stream File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 454, in stream self._prepare_self() File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 473, in _prepare_self self._stream = list(self._prepare(self._stream, inlined)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 496, in _prepare yield kind, (directives, list(substream)), pos File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 490, in _prepare directive, substream = cls.attach(self, substream, value, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 718, in attach return super(WithDirective, cls).attach(template, stream, value, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 82, in attach return cls(value, template, namespaces, *pos[1:]), stream File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 706, in __init__ Expression(node.value, template.filepath, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_translate_i18n_domain_with_nested_includes_with_translatable_attrs (genshi.filters.tests.i18n.DomainDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/tests/i18n.py", line 1851, in test_translate_i18n_domain_with_nested_includes_with_translatable_attrs """, tmpl.generate(idx=-1, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 565, in generate stream = self.stream File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 454, in stream self._prepare_self() File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 473, in _prepare_self self._stream = list(self._prepare(self._stream, inlined)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 496, in _prepare yield kind, (directives, list(substream)), pos File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 490, in _prepare directive, substream = cls.attach(self, substream, value, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 718, in attach return super(WithDirective, cls).attach(template, stream, value, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 82, in attach return cls(value, template, namespaces, *pos[1:]), stream File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 706, in __init__ Expression(node.value, template.filepath, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_extract_py_def_directive_with_py_strip (genshi.filters.tests.i18n.ExtractTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/tests/i18n.py", line 1992, in test_extract_py_def_directive_with_py_strip messages = list(translator.extract(tmpl.stream)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 454, in stream self._prepare_self() File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 473, in _prepare_self self._stream = list(self._prepare(self._stream, inlined)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 496, in _prepare yield kind, (directives, list(substream)), pos File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 494, in _prepare substream = self._prepare(substream, inlined) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 289, in _prepare self, self._extract_includes(self._interpolate_attrs(stream)), File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 210, in _extract_includes for kind, data, pos in stream: File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 278, in _interpolate_attrs value = list(interpolate(value, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in _clone value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 635, in visit_Attribute args = [self.visit(node.value), _new(_ast.Str, node.attr)] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_extraction_inside_ignored_tags (genshi.filters.tests.i18n.ExtractTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/tests/i18n.py", line 1937, in test_extraction_inside_ignored_tags results = list(extract(buf, ['_'], [], {})) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/i18n.py", line 1253, in extract tmpl = template_class(fileobj, filename=getattr(fileobj, 'name', None), File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_extraction_inside_ignored_tags_with_directives (genshi.filters.tests.i18n.ExtractTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/tests/i18n.py", line 1950, in test_extraction_inside_ignored_tags_with_directives self.assertEqual([], list(extract(buf, ['_'], [], {}))) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/i18n.py", line 1260, in extract for message in translator.extract(tmpl.stream, gettext_functions=keywords): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 454, in stream self._prepare_self() File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 473, in _prepare_self self._stream = list(self._prepare(self._stream, inlined)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 490, in _prepare directive, substream = cls.attach(self, substream, value, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 404, in attach return super(IfDirective, cls).attach(template, stream, value, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 82, in attach return cls(value, template, namespaces, *pos[1:]), stream File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 60, in __init__ self.expr = self._parse_expr(value, template, lineno, offset) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 108, in _parse_expr return expr and Expression(expr, template.filepath, lineno, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_extraction_with_keyword_arg (genshi.filters.tests.i18n.ExtractTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/tests/i18n.py", line 1914, in test_extraction_with_keyword_arg results = list(extract(buf, ['gettext'], [], {})) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/i18n.py", line 1253, in extract tmpl = template_class(fileobj, filename=getattr(fileobj, 'name', None), File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_extraction_with_nonstring_arg (genshi.filters.tests.i18n.ExtractTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/tests/i18n.py", line 1923, in test_extraction_with_nonstring_arg results = list(extract(buf, ['dgettext'], [], {})) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/i18n.py", line 1253, in extract tmpl = template_class(fileobj, filename=getattr(fileobj, 'name', None), File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_extraction_without_text (genshi.filters.tests.i18n.ExtractTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/tests/i18n.py", line 1884, in test_extraction_without_text results = list(extract(buf, ['_', 'ngettext'], [], { File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/i18n.py", line 1253, in extract tmpl = template_class(fileobj, filename=getattr(fileobj, 'name', None), File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_markup_template_extraction (genshi.filters.tests.i18n.ExtractTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/tests/i18n.py", line 1870, in test_markup_template_extraction results = list(extract(buf, ['_', 'ngettext'], [], {})) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/i18n.py", line 1253, in extract tmpl = template_class(fileobj, filename=getattr(fileobj, 'name', None), File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_text_template_extraction (genshi.filters.tests.i18n.ExtractTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/tests/i18n.py", line 1901, in test_text_template_extraction results = list(extract(buf, ['_', 'ngettext'], [], { File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/i18n.py", line 1253, in extract tmpl = template_class(fileobj, filename=getattr(fileobj, 'name', None), File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/text.py", line 291, in _parse for kind, data, pos in interpolate(text, self.filepath, lineno, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_combined_with_loop (genshi.template.tests.directives.AttrsDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/directives.py", line 36, in test_combined_with_loop """, tmpl.generate(items=items).render(encoding=None)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 565, in generate stream = self.stream File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 454, in stream self._prepare_self() File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 473, in _prepare_self self._stream = list(self._prepare(self._stream, inlined)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 490, in _prepare directive, substream = cls.attach(self, substream, value, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 363, in attach return super(ForDirective, cls).attach(template, stream, value, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 82, in attach return cls(value, template, namespaces, *pos[1:]), stream File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 357, in __init__ Directive.__init__(self, value, template, namespaces, lineno, offset) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 60, in __init__ self.expr = self._parse_expr(value, template, lineno, offset) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 108, in _parse_expr return expr and Expression(expr, template.filepath, lineno, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_remove_existing_attr (genshi.template.tests.directives.AttrsDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/directives.py", line 60, in test_remove_existing_attr """, tmpl.generate().render(encoding=None)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 565, in generate stream = self.stream File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 454, in stream self._prepare_self() File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 473, in _prepare_self self._stream = list(self._prepare(self._stream, inlined)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 490, in _prepare directive, substream = cls.attach(self, substream, value, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 82, in attach return cls(value, template, namespaces, *pos[1:]), stream File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 60, in __init__ self.expr = self._parse_expr(value, template, lineno, offset) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 108, in _parse_expr return expr and Expression(expr, template.filepath, lineno, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 464, in _compile new_source = ASTCodeGenerator(tree).code File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 43, in __init__ self.visit(tree) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 104, in visit_Expression return self.visit(node.body) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 591, in visit_Dict self.visit(key) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 90, in visit raise Exception('Unhandled node type %r' % type(node)) Exception: Unhandled node type ====================================================================== ERROR: test_update_existing_attr (genshi.template.tests.directives.AttrsDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/directives.py", line 48, in test_update_existing_attr """, tmpl.generate().render(encoding=None)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 565, in generate stream = self.stream File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 454, in stream self._prepare_self() File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 473, in _prepare_self self._stream = list(self._prepare(self._stream, inlined)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 490, in _prepare directive, substream = cls.attach(self, substream, value, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 82, in attach return cls(value, template, namespaces, *pos[1:]), stream File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 60, in __init__ self.expr = self._parse_expr(value, template, lineno, offset) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 108, in _parse_expr return expr and Expression(expr, template.filepath, lineno, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 464, in _compile new_source = ASTCodeGenerator(tree).code File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 43, in __init__ self.visit(tree) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 104, in visit_Expression return self.visit(node.body) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 591, in visit_Dict self.visit(key) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 90, in visit raise Exception('Unhandled node type %r' % type(node)) Exception: Unhandled node type ====================================================================== ERROR: test_as_element (genshi.template.tests.directives.ChooseDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/directives.py", line 238, in test_as_element """, tmpl.generate().render(encoding=None)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 565, in generate stream = self.stream File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 454, in stream self._prepare_self() File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 473, in _prepare_self self._stream = list(self._prepare(self._stream, inlined)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 496, in _prepare yield kind, (directives, list(substream)), pos File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 490, in _prepare directive, substream = cls.attach(self, substream, value, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 624, in attach return super(WhenDirective, cls).attach(template, stream, value, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 82, in attach return cls(value, template, namespaces, *pos[1:]), stream File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 617, in __init__ Directive.__init__(self, value, template, namespaces, lineno, offset) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 60, in __init__ self.expr = self._parse_expr(value, template, lineno, offset) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 108, in _parse_expr return expr and Expression(expr, template.filepath, lineno, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 464, in _compile new_source = ASTCodeGenerator(tree).code File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 43, in __init__ self.visit(tree) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 104, in visit_Expression return self.visit(node.body) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 521, in _f f(self, node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 650, in visit_Compare self.visit(node.left) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 90, in visit raise Exception('Unhandled node type %r' % type(node)) Exception: Unhandled node type ====================================================================== ERROR: test_complex_nesting (genshi.template.tests.directives.ChooseDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/directives.py", line 128, in test_complex_nesting """, tmpl.generate().render(encoding=None)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 565, in generate stream = self.stream File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 454, in stream self._prepare_self() File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 473, in _prepare_self self._stream = list(self._prepare(self._stream, inlined)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 490, in _prepare directive, substream = cls.attach(self, substream, value, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 595, in attach return super(ChooseDirective, cls).attach(template, stream, value, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 82, in attach return cls(value, template, namespaces, *pos[1:]), stream File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 60, in __init__ self.expr = self._parse_expr(value, template, lineno, offset) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 108, in _parse_expr return expr and Expression(expr, template.filepath, lineno, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 464, in _compile new_source = ASTCodeGenerator(tree).code File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 43, in __init__ self.visit(tree) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 104, in visit_Expression return self.visit(node.body) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 90, in visit raise Exception('Unhandled node type %r' % type(node)) Exception: Unhandled node type ====================================================================== ERROR: test_complex_nesting_otherwise (genshi.template.tests.directives.ChooseDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/directives.py", line 148, in test_complex_nesting_otherwise """, tmpl.generate().render(encoding=None)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 565, in generate stream = self.stream File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 454, in stream self._prepare_self() File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 473, in _prepare_self self._stream = list(self._prepare(self._stream, inlined)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 490, in _prepare directive, substream = cls.attach(self, substream, value, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 595, in attach return super(ChooseDirective, cls).attach(template, stream, value, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 82, in attach return cls(value, template, namespaces, *pos[1:]), stream File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 60, in __init__ self.expr = self._parse_expr(value, template, lineno, offset) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 108, in _parse_expr return expr and Expression(expr, template.filepath, lineno, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 464, in _compile new_source = ASTCodeGenerator(tree).code File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 43, in __init__ self.visit(tree) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 104, in visit_Expression return self.visit(node.body) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 90, in visit raise Exception('Unhandled node type %r' % type(node)) Exception: Unhandled node type ====================================================================== ERROR: test_in_text_template (genshi.template.tests.directives.ChooseDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/directives.py", line 256, in test_in_text_template tmpl.generate().render(encoding=None)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 565, in generate stream = self.stream File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 454, in stream self._prepare_self() File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 473, in _prepare_self self._stream = list(self._prepare(self._stream, inlined)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 496, in _prepare yield kind, (directives, list(substream)), pos File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 490, in _prepare directive, substream = cls.attach(self, substream, value, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 624, in attach return super(WhenDirective, cls).attach(template, stream, value, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 82, in attach return cls(value, template, namespaces, *pos[1:]), stream File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 617, in __init__ Directive.__init__(self, value, template, namespaces, lineno, offset) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 60, in __init__ self.expr = self._parse_expr(value, template, lineno, offset) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 108, in _parse_expr return expr and Expression(expr, template.filepath, lineno, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 464, in _compile new_source = ASTCodeGenerator(tree).code File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 43, in __init__ self.visit(tree) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 104, in visit_Expression return self.visit(node.body) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 521, in _f f(self, node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 650, in visit_Compare self.visit(node.left) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 90, in visit raise Exception('Unhandled node type %r' % type(node)) Exception: Unhandled node type ====================================================================== ERROR: test_multiple_true_whens (genshi.template.tests.directives.ChooseDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/directives.py", line 79, in test_multiple_true_whens """, tmpl.generate().render(encoding=None)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 565, in generate stream = self.stream File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 454, in stream self._prepare_self() File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 473, in _prepare_self self._stream = list(self._prepare(self._stream, inlined)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 496, in _prepare yield kind, (directives, list(substream)), pos File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 490, in _prepare directive, substream = cls.attach(self, substream, value, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 624, in attach return super(WhenDirective, cls).attach(template, stream, value, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 82, in attach return cls(value, template, namespaces, *pos[1:]), stream File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 617, in __init__ Directive.__init__(self, value, template, namespaces, lineno, offset) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 60, in __init__ self.expr = self._parse_expr(value, template, lineno, offset) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 108, in _parse_expr return expr and Expression(expr, template.filepath, lineno, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 464, in _compile new_source = ASTCodeGenerator(tree).code File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 43, in __init__ self.visit(tree) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 104, in visit_Expression return self.visit(node.body) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 521, in _f f(self, node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 650, in visit_Compare self.visit(node.left) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 90, in visit raise Exception('Unhandled node type %r' % type(node)) Exception: Unhandled node type ====================================================================== ERROR: test_nesting (genshi.template.tests.directives.ChooseDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/directives.py", line 108, in test_nesting """, tmpl.generate().render(encoding=None)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 565, in generate stream = self.stream File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 454, in stream self._prepare_self() File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 473, in _prepare_self self._stream = list(self._prepare(self._stream, inlined)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 490, in _prepare directive, substream = cls.attach(self, substream, value, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 595, in attach return super(ChooseDirective, cls).attach(template, stream, value, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 82, in attach return cls(value, template, namespaces, *pos[1:]), stream File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 60, in __init__ self.expr = self._parse_expr(value, template, lineno, offset) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 108, in _parse_expr return expr and Expression(expr, template.filepath, lineno, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 464, in _compile new_source = ASTCodeGenerator(tree).code File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 43, in __init__ self.visit(tree) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 104, in visit_Expression return self.visit(node.body) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 90, in visit raise Exception('Unhandled node type %r' % type(node)) Exception: Unhandled node type ====================================================================== ERROR: test_otherwise (genshi.template.tests.directives.ChooseDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/directives.py", line 88, in test_otherwise """, tmpl.generate().render(encoding=None)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 565, in generate stream = self.stream File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 454, in stream self._prepare_self() File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 473, in _prepare_self self._stream = list(self._prepare(self._stream, inlined)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 496, in _prepare yield kind, (directives, list(substream)), pos File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 490, in _prepare directive, substream = cls.attach(self, substream, value, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 624, in attach return super(WhenDirective, cls).attach(template, stream, value, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 82, in attach return cls(value, template, namespaces, *pos[1:]), stream File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 617, in __init__ Directive.__init__(self, value, template, namespaces, lineno, offset) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 60, in __init__ self.expr = self._parse_expr(value, template, lineno, offset) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 108, in _parse_expr return expr and Expression(expr, template.filepath, lineno, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 464, in _compile new_source = ASTCodeGenerator(tree).code File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 43, in __init__ self.visit(tree) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 104, in visit_Expression return self.visit(node.body) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 90, in visit raise Exception('Unhandled node type %r' % type(node)) Exception: Unhandled node type ====================================================================== ERROR: test_when_outside_choose (genshi.template.tests.directives.ChooseDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/directives.py", line 172, in test_when_outside_choose self.assertRaises(TemplateRuntimeError, str, tmpl.generate()) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 565, in generate stream = self.stream File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 454, in stream self._prepare_self() File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 473, in _prepare_self self._stream = list(self._prepare(self._stream, inlined)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 490, in _prepare directive, substream = cls.attach(self, substream, value, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 624, in attach return super(WhenDirective, cls).attach(template, stream, value, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 82, in attach return cls(value, template, namespaces, *pos[1:]), stream File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 617, in __init__ Directive.__init__(self, value, template, namespaces, lineno, offset) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 60, in __init__ self.expr = self._parse_expr(value, template, lineno, offset) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 108, in _parse_expr return expr and Expression(expr, template.filepath, lineno, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_when_without_test_but_with_choose_value (genshi.template.tests.directives.ChooseDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/directives.py", line 209, in test_when_without_test_but_with_choose_value """, tmpl.generate(foo='Yeah').render(encoding=None)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 565, in generate stream = self.stream File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 454, in stream self._prepare_self() File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 473, in _prepare_self self._stream = list(self._prepare(self._stream, inlined)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 490, in _prepare directive, substream = cls.attach(self, substream, value, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 595, in attach return super(ChooseDirective, cls).attach(template, stream, value, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 82, in attach return cls(value, template, namespaces, *pos[1:]), stream File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 60, in __init__ self.expr = self._parse_expr(value, template, lineno, offset) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 108, in _parse_expr return expr and Expression(expr, template.filepath, lineno, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_as_element (genshi.template.tests.directives.DefDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/directives.py", line 294, in test_as_element tmpl = MarkupTemplate(""" File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_def_in_matched (genshi.template.tests.directives.DefDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/directives.py", line 364, in test_def_in_matched tmpl = MarkupTemplate(""" File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_exec_in_replace (genshi.template.tests.directives.DefDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/directives.py", line 278, in test_exec_in_replace tmpl = MarkupTemplate("""
File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_function_raising_typeerror (genshi.template.tests.directives.DefDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/directives.py", line 355, in test_function_raising_typeerror tmpl = MarkupTemplate(""" File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_function_with_default_arg (genshi.template.tests.directives.DefDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/directives.py", line 326, in test_function_with_default_arg tmpl = MarkupTemplate(""" File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_function_with_star_args (genshi.template.tests.directives.DefDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/directives.py", line 395, in test_function_with_star_args tmpl = MarkupTemplate(""" File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_function_with_strip (genshi.template.tests.directives.DefDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/directives.py", line 267, in test_function_with_strip tmpl = MarkupTemplate(""" File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_in_text_template (genshi.template.tests.directives.DefDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/directives.py", line 379, in test_in_text_template tmpl = TextTemplate(""" File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/text.py", line 291, in _parse for kind, data, pos in interpolate(text, self.filepath, lineno, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_invocation_in_attribute (genshi.template.tests.directives.DefDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/directives.py", line 335, in test_invocation_in_attribute tmpl = MarkupTemplate(""" File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in _clone value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_invocation_in_attribute_none (genshi.template.tests.directives.DefDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/directives.py", line 344, in test_invocation_in_attribute_none tmpl = MarkupTemplate(""" File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 464, in _compile new_source = ASTCodeGenerator(tree).code File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 43, in __init__ self.visit(tree) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 104, in visit_Expression return self.visit(node.body) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 90, in visit raise Exception('Unhandled node type %r' % type(node)) Exception: Unhandled node type ====================================================================== ERROR: test_nested_defs (genshi.template.tests.directives.DefDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/directives.py", line 309, in test_nested_defs tmpl = MarkupTemplate(""" File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_as_element (genshi.template.tests.directives.ForDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/directives.py", line 435, in test_as_element tmpl = MarkupTemplate(""" File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_loop_with_strip (genshi.template.tests.directives.ForDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/directives.py", line 418, in test_loop_with_strip tmpl = MarkupTemplate(""" File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_multi_assignment (genshi.template.tests.directives.ForDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/directives.py", line 452, in test_multi_assignment tmpl = MarkupTemplate(""" File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_nested_assignment (genshi.template.tests.directives.ForDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/directives.py", line 467, in test_nested_assignment tmpl = MarkupTemplate(""" File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_not_iterable (genshi.template.tests.directives.ForDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/directives.py", line 482, in test_not_iterable tmpl = MarkupTemplate(""" File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_as_element (genshi.template.tests.directives.IfDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/directives.py", line 541, in test_as_element tmpl = MarkupTemplate(""" File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_loop_with_strip (genshi.template.tests.directives.IfDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/directives.py", line 530, in test_loop_with_strip tmpl = MarkupTemplate(""" File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_as_element (genshi.template.tests.directives.MatchDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/directives.py", line 588, in test_as_element tmpl = MarkupTemplate(""" File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_cascaded_matches (genshi.template.tests.directives.MatchDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/directives.py", line 803, in test_cascaded_matches tmpl = MarkupTemplate(""" File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_content_directive_in_match (genshi.template.tests.directives.MatchDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/directives.py", line 800, in test_content_directive_in_match """, tmpl.generate().render(encoding=None)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 565, in generate stream = self.stream File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 454, in stream self._prepare_self() File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 473, in _prepare_self self._stream = list(self._prepare(self._stream, inlined)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 496, in _prepare yield kind, (directives, list(substream)), pos File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 490, in _prepare directive, substream = cls.attach(self, substream, value, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 211, in attach expr = cls._parse_expr(value, template, *pos[1:]) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 108, in _parse_expr return expr and Expression(expr, template.filepath, lineno, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_def_in_match (genshi.template.tests.directives.MatchDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/directives.py", line 768, in test_def_in_match tmpl = MarkupTemplate(""" File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_match_with_closure (genshi.template.tests.directives.MatchDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/directives.py", line 874, in test_match_with_closure tmpl = MarkupTemplate(""" File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_match_with_once_attribute (genshi.template.tests.directives.MatchDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/directives.py", line 904, in test_match_with_once_attribute tmpl = MarkupTemplate(""" File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_match_with_position_predicate (genshi.template.tests.directives.MatchDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/directives.py", line 859, in test_match_with_position_predicate tmpl = MarkupTemplate(""" File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_match_with_recursive_attribute (genshi.template.tests.directives.MatchDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/directives.py", line 929, in test_match_with_recursive_attribute tmpl = MarkupTemplate(""" File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_match_with_xpath_variable (genshi.template.tests.directives.MatchDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/directives.py", line 778, in test_match_with_xpath_variable tmpl = MarkupTemplate("""
File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_match_without_closure (genshi.template.tests.directives.MatchDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/directives.py", line 889, in test_match_without_closure tmpl = MarkupTemplate(""" File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_multiple_matches (genshi.template.tests.directives.MatchDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/directives.py", line 816, in test_multiple_matches tmpl = MarkupTemplate(""" File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 635, in visit_Attribute args = [self.visit(node.value), _new(_ast.Str, node.attr)] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_not_match_self (genshi.template.tests.directives.MatchDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/directives.py", line 684, in test_not_match_self tmpl = MarkupTemplate(""">/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_recursive_match_1 (genshi.template.tests.directives.MatchDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/directives.py", line 603, in test_recursive_match_1 tmpl = MarkupTemplate(""" File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_recursive_match_2 (genshi.template.tests.directives.MatchDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/directives.py", line 634, in test_recursive_match_2 tmpl = MarkupTemplate(""" File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_recursive_match_3 (genshi.template.tests.directives.MatchDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/directives.py", line 655, in test_recursive_match_3 tmpl = MarkupTemplate(""" File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_select_all_attrs (genshi.template.tests.directives.MatchDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/directives.py", line 729, in test_select_all_attrs tmpl = MarkupTemplate(""" File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_select_all_attrs_empty (genshi.template.tests.directives.MatchDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/directives.py", line 742, in test_select_all_attrs_empty tmpl = MarkupTemplate(""" File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_select_all_attrs_in_body (genshi.template.tests.directives.MatchDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/directives.py", line 755, in test_select_all_attrs_in_body tmpl = MarkupTemplate(""" File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_select_text_in_element (genshi.template.tests.directives.MatchDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/directives.py", line 706, in test_select_text_in_element tmpl = MarkupTemplate(""">/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_triple_match_produces_no_duplicate_items (genshi.template.tests.directives.MatchDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/directives.py", line 953, in test_triple_match_produces_no_duplicate_items tmpl = MarkupTemplate(""" File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_with_strip (genshi.template.tests.directives.MatchDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/directives.py", line 557, in test_with_strip tmpl = MarkupTemplate(""" File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_without_strip (genshi.template.tests.directives.MatchDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/directives.py", line 572, in test_without_strip tmpl = MarkupTemplate(""" File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_as_element (genshi.template.tests.directives.ReplaceDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/directives.py", line 1081, in test_as_element
""", tmpl.generate(title='Test').render(encoding=None)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 565, in generate stream = self.stream File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 454, in stream self._prepare_self() File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 473, in _prepare_self self._stream = list(self._prepare(self._stream, inlined)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 490, in _prepare directive, substream = cls.attach(self, substream, value, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 499, in attach expr = cls._parse_expr(value, template, *pos[1:]) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 108, in _parse_expr return expr and Expression(expr, template.filepath, lineno, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_strip_false (genshi.template.tests.directives.StripDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/directives.py", line 1093, in test_strip_false
""", tmpl.generate().render(encoding=None)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 565, in generate stream = self.stream File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 454, in stream self._prepare_self() File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 473, in _prepare_self self._stream = list(self._prepare(self._stream, inlined)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 490, in _prepare directive, substream = cls.attach(self, substream, value, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 82, in attach return cls(value, template, namespaces, *pos[1:]), stream File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 60, in __init__ self.expr = self._parse_expr(value, template, lineno, offset) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 108, in _parse_expr return expr and Expression(expr, template.filepath, lineno, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 464, in _compile new_source = ASTCodeGenerator(tree).code File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 43, in __init__ self.visit(tree) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 104, in visit_Expression return self.visit(node.body) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 90, in visit raise Exception('Unhandled node type %r' % type(node)) Exception: Unhandled node type ====================================================================== ERROR: test_as_element (genshi.template.tests.directives.WithDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/directives.py", line 1120, in test_as_element tmpl = MarkupTemplate("""
File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_ast_transformation (genshi.template.tests.directives.WithDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/directives.py", line 1181, in test_ast_transformation tmpl = MarkupTemplate("""
File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_multiple_vars_same_name (genshi.template.tests.directives.WithDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/directives.py", line 1128, in test_multiple_vars_same_name tmpl = MarkupTemplate("""
File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_multiple_vars_single_assignment (genshi.template.tests.directives.WithDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/directives.py", line 1141, in test_multiple_vars_single_assignment tmpl = MarkupTemplate("""
File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_multiple_vars_trailing_semicolon (genshi.template.tests.directives.WithDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/directives.py", line 1157, in test_multiple_vars_trailing_semicolon tmpl = MarkupTemplate("""
File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_nested_vars_single_assignment (genshi.template.tests.directives.WithDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/directives.py", line 1149, in test_nested_vars_single_assignment tmpl = MarkupTemplate("""
File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_semicolon_escape (genshi.template.tests.directives.WithDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/directives.py", line 1165, in test_semicolon_escape tmpl = MarkupTemplate("""
File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_shadowing (genshi.template.tests.directives.WithDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/directives.py", line 1108, in test_shadowing tmpl = MarkupTemplate("""
File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_unicode_expr (genshi.template.tests.directives.WithDirectiveTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/directives.py", line 1193, in test_unicode_expr tmpl = MarkupTemplate("""
File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_access_undefined (genshi.template.tests.eval.ExpressionTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 362, in test_access_undefined expr = Expression("nothing", filename='index.html', lineno=50, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_binop_add (genshi.template.tests.eval.ExpressionTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 126, in test_binop_add self.assertEqual(3, Expression("2 + 1").evaluate({})) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 464, in _compile new_source = ASTCodeGenerator(tree).code File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 43, in __init__ self.visit(tree) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 104, in visit_Expression return self.visit(node.body) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 521, in _f f(self, node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 554, in visit_BinOp self.visit(node.left) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 90, in visit raise Exception('Unhandled node type %r' % type(node)) Exception: Unhandled node type ====================================================================== ERROR: test_binop_and (genshi.template.tests.eval.ExpressionTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 158, in test_binop_and self.assertEqual(0, Expression("1 & 0").evaluate({})) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 464, in _compile new_source = ASTCodeGenerator(tree).code File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 43, in __init__ self.visit(tree) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 104, in visit_Expression return self.visit(node.body) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 521, in _f f(self, node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 554, in visit_BinOp self.visit(node.left) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 90, in visit raise Exception('Unhandled node type %r' % type(node)) Exception: Unhandled node type ====================================================================== ERROR: test_binop_contains (genshi.template.tests.eval.ExpressionTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 170, in test_binop_contains self.assertEqual(True, Expression("1 in (1, 2, 3)").evaluate({})) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 464, in _compile new_source = ASTCodeGenerator(tree).code File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 43, in __init__ self.visit(tree) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 104, in visit_Expression return self.visit(node.body) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 521, in _f f(self, node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 650, in visit_Compare self.visit(node.left) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 90, in visit raise Exception('Unhandled node type %r' % type(node)) Exception: Unhandled node type ====================================================================== ERROR: test_binop_div (genshi.template.tests.eval.ExpressionTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 146, in test_binop_div self.assertEqual(2, Expression("4 / 2").evaluate({})) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 464, in _compile new_source = ASTCodeGenerator(tree).code File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 43, in __init__ self.visit(tree) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 104, in visit_Expression return self.visit(node.body) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 521, in _f f(self, node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 554, in visit_BinOp self.visit(node.left) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 90, in visit raise Exception('Unhandled node type %r' % type(node)) Exception: Unhandled node type ====================================================================== ERROR: test_binop_floordiv (genshi.template.tests.eval.ExpressionTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 150, in test_binop_floordiv self.assertEqual(1, Expression("3 // 2").evaluate({})) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 464, in _compile new_source = ASTCodeGenerator(tree).code File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 43, in __init__ self.visit(tree) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 104, in visit_Expression return self.visit(node.body) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 521, in _f f(self, node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 554, in visit_BinOp self.visit(node.left) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 90, in visit raise Exception('Unhandled node type %r' % type(node)) Exception: Unhandled node type ====================================================================== ERROR: test_binop_is (genshi.template.tests.eval.ExpressionTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 180, in test_binop_is self.assertEqual(True, Expression("1 is 1").evaluate({})) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 464, in _compile new_source = ASTCodeGenerator(tree).code File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 43, in __init__ self.visit(tree) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 104, in visit_Expression return self.visit(node.body) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 521, in _f f(self, node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 650, in visit_Compare self.visit(node.left) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 90, in visit raise Exception('Unhandled node type %r' % type(node)) Exception: Unhandled node type ====================================================================== ERROR: test_binop_is_not (genshi.template.tests.eval.ExpressionTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 186, in test_binop_is_not self.assertEqual(True, Expression("1 is not 2").evaluate({})) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 464, in _compile new_source = ASTCodeGenerator(tree).code File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 43, in __init__ self.visit(tree) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 104, in visit_Expression return self.visit(node.body) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 521, in _f f(self, node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 650, in visit_Compare self.visit(node.left) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 90, in visit raise Exception('Unhandled node type %r' % type(node)) Exception: Unhandled node type ====================================================================== ERROR: test_binop_mod (genshi.template.tests.eval.ExpressionTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 154, in test_binop_mod self.assertEqual(1, Expression("3 % 2").evaluate({})) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 464, in _compile new_source = ASTCodeGenerator(tree).code File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 43, in __init__ self.visit(tree) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 104, in visit_Expression return self.visit(node.body) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 521, in _f f(self, node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 554, in visit_BinOp self.visit(node.left) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 90, in visit raise Exception('Unhandled node type %r' % type(node)) Exception: Unhandled node type ====================================================================== ERROR: test_binop_mul (genshi.template.tests.eval.ExpressionTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 138, in test_binop_mul self.assertEqual(4, Expression("2 * 2").evaluate({})) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 464, in _compile new_source = ASTCodeGenerator(tree).code File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 43, in __init__ self.visit(tree) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 104, in visit_Expression return self.visit(node.body) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 521, in _f f(self, node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 554, in visit_BinOp self.visit(node.left) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 90, in visit raise Exception('Unhandled node type %r' % type(node)) Exception: Unhandled node type ====================================================================== ERROR: test_binop_not_contains (genshi.template.tests.eval.ExpressionTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 175, in test_binop_not_contains self.assertEqual(True, Expression("4 not in (1, 2, 3)").evaluate({})) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 464, in _compile new_source = ASTCodeGenerator(tree).code File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 43, in __init__ self.visit(tree) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 104, in visit_Expression return self.visit(node.body) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 521, in _f f(self, node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 650, in visit_Compare self.visit(node.left) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 90, in visit raise Exception('Unhandled node type %r' % type(node)) Exception: Unhandled node type ====================================================================== ERROR: test_binop_or (genshi.template.tests.eval.ExpressionTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 162, in test_binop_or self.assertEqual(1, Expression("1 | 0").evaluate({})) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 464, in _compile new_source = ASTCodeGenerator(tree).code File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 43, in __init__ self.visit(tree) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 104, in visit_Expression return self.visit(node.body) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 521, in _f f(self, node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 554, in visit_BinOp self.visit(node.left) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 90, in visit raise Exception('Unhandled node type %r' % type(node)) Exception: Unhandled node type ====================================================================== ERROR: test_binop_pow (genshi.template.tests.eval.ExpressionTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 142, in test_binop_pow self.assertEqual(4, Expression("2 ** 2").evaluate({})) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 464, in _compile new_source = ASTCodeGenerator(tree).code File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 43, in __init__ self.visit(tree) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 104, in visit_Expression return self.visit(node.body) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 521, in _f f(self, node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 554, in visit_BinOp self.visit(node.left) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 90, in visit raise Exception('Unhandled node type %r' % type(node)) Exception: Unhandled node type ====================================================================== ERROR: test_binop_sub (genshi.template.tests.eval.ExpressionTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 134, in test_binop_sub self.assertEqual(1, Expression("2 - 1").evaluate({})) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 464, in _compile new_source = ASTCodeGenerator(tree).code File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 43, in __init__ self.visit(tree) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 104, in visit_Expression return self.visit(node.body) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 521, in _f f(self, node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 554, in visit_BinOp self.visit(node.left) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 90, in visit raise Exception('Unhandled node type %r' % type(node)) Exception: Unhandled node type ====================================================================== ERROR: test_binop_xor (genshi.template.tests.eval.ExpressionTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 166, in test_binop_xor self.assertEqual(1, Expression("1 ^ 0").evaluate({})) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 464, in _compile new_source = ASTCodeGenerator(tree).code File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 43, in __init__ self.visit(tree) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 104, in visit_Expression return self.visit(node.body) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 521, in _f f(self, node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 554, in visit_BinOp self.visit(node.left) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 90, in visit raise Exception('Unhandled node type %r' % type(node)) Exception: Unhandled node type ====================================================================== ERROR: test_boolop_and (genshi.template.tests.eval.ExpressionTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 194, in test_boolop_and self.assertEqual(False, Expression("True and False").evaluate({})) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 464, in _compile new_source = ASTCodeGenerator(tree).code File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 43, in __init__ self.visit(tree) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 104, in visit_Expression return self.visit(node.body) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 521, in _f f(self, node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 531, in visit_BoolOp self.visit(node.values[0]) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 90, in visit raise Exception('Unhandled node type %r' % type(node)) Exception: Unhandled node type ====================================================================== ERROR: test_boolop_or (genshi.template.tests.eval.ExpressionTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 199, in test_boolop_or self.assertEqual(True, Expression("True or False").evaluate({})) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 464, in _compile new_source = ASTCodeGenerator(tree).code File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 43, in __init__ self.visit(tree) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 104, in visit_Expression return self.visit(node.body) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 521, in _f f(self, node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 531, in visit_BoolOp self.visit(node.values[0]) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 90, in visit raise Exception('Unhandled node type %r' % type(node)) Exception: Unhandled node type ====================================================================== ERROR: test_builtins (genshi.template.tests.eval.ExpressionTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 55, in test_builtins expr = Expression('Markup') File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_call_dstar_args (genshi.template.tests.eval.ExpressionTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 253, in test_call_dstar_args expr = Expression("foo(**bar)") File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_call_function (genshi.template.tests.eval.ExpressionTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 236, in test_call_function self.assertEqual(42, Expression("foo()").evaluate({'foo': lambda: 42})) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_call_keywords (genshi.template.tests.eval.ExpressionTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 243, in test_call_keywords self.assertEqual(42, Expression("foo(x=bar)").evaluate({'foo': lambda x: x, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_call_star_args (genshi.template.tests.eval.ExpressionTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 247, in test_call_star_args self.assertEqual(42, Expression("foo(*bar)").evaluate({'foo': lambda x: x, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_compare_eq (genshi.template.tests.eval.ExpressionTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 204, in test_compare_eq self.assertEqual(True, Expression("1 == 1").evaluate({})) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 464, in _compile new_source = ASTCodeGenerator(tree).code File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 43, in __init__ self.visit(tree) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 104, in visit_Expression return self.visit(node.body) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 521, in _f f(self, node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 650, in visit_Compare self.visit(node.left) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 90, in visit raise Exception('Unhandled node type %r' % type(node)) Exception: Unhandled node type ====================================================================== ERROR: test_compare_ge (genshi.template.tests.eval.ExpressionTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 227, in test_compare_ge self.assertEqual(True, Expression("1 >= 1").evaluate({})) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 464, in _compile new_source = ASTCodeGenerator(tree).code File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 43, in __init__ self.visit(tree) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 104, in visit_Expression return self.visit(node.body) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 521, in _f f(self, node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 650, in visit_Compare self.visit(node.left) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 90, in visit raise Exception('Unhandled node type %r' % type(node)) Exception: Unhandled node type ====================================================================== ERROR: test_compare_gt (genshi.template.tests.eval.ExpressionTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 223, in test_compare_gt self.assertEqual(True, Expression("2 > 1").evaluate({})) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 464, in _compile new_source = ASTCodeGenerator(tree).code File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 43, in __init__ self.visit(tree) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 104, in visit_Expression return self.visit(node.body) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 521, in _f f(self, node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 650, in visit_Compare self.visit(node.left) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 90, in visit raise Exception('Unhandled node type %r' % type(node)) Exception: Unhandled node type ====================================================================== ERROR: test_compare_le (genshi.template.tests.eval.ExpressionTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 219, in test_compare_le self.assertEqual(True, Expression("1 <= 1").evaluate({})) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 464, in _compile new_source = ASTCodeGenerator(tree).code File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 43, in __init__ self.visit(tree) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 104, in visit_Expression return self.visit(node.body) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 521, in _f f(self, node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 650, in visit_Compare self.visit(node.left) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 90, in visit raise Exception('Unhandled node type %r' % type(node)) Exception: Unhandled node type ====================================================================== ERROR: test_compare_lt (genshi.template.tests.eval.ExpressionTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 215, in test_compare_lt self.assertEqual(True, Expression("1 < 2").evaluate({})) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 464, in _compile new_source = ASTCodeGenerator(tree).code File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 43, in __init__ self.visit(tree) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 104, in visit_Expression return self.visit(node.body) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 521, in _f f(self, node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 650, in visit_Compare self.visit(node.left) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 90, in visit raise Exception('Unhandled node type %r' % type(node)) Exception: Unhandled node type ====================================================================== ERROR: test_compare_multi (genshi.template.tests.eval.ExpressionTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 231, in test_compare_multi self.assertEqual(True, Expression("1 != 3 == 3").evaluate({})) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 464, in _compile new_source = ASTCodeGenerator(tree).code File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 43, in __init__ self.visit(tree) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 104, in visit_Expression return self.visit(node.body) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 521, in _f f(self, node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 650, in visit_Compare self.visit(node.left) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 90, in visit raise Exception('Unhandled node type %r' % type(node)) Exception: Unhandled node type ====================================================================== ERROR: test_compare_ne (genshi.template.tests.eval.ExpressionTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 208, in test_compare_ne self.assertEqual(False, Expression("1 != 1").evaluate({})) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 464, in _compile new_source = ASTCodeGenerator(tree).code File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 43, in __init__ self.visit(tree) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 104, in visit_Expression return self.visit(node.body) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 521, in _f f(self, node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 650, in visit_Compare self.visit(node.left) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 90, in visit raise Exception('Unhandled node type %r' % type(node)) Exception: Unhandled node type ====================================================================== ERROR: test_conditional_expression (genshi.template.tests.eval.ExpressionTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 331, in test_conditional_expression expr = Expression("'T' if foo else 'F'") File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_dict_literal (genshi.template.tests.eval.ExpressionTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 93, in test_dict_literal self.assertEqual({}, Expression("{}").evaluate({})) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 470, in _compile return build_code_chunk(code, filename, name, lineno) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/compat.py", line 93, in build_code_chunk return CodeType(0, code.co_nlocals, code.co_kwonlyargcount, TypeError: an integer is required (got type bytes) ====================================================================== ERROR: test_eq (genshi.template.tests.eval.ExpressionTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 31, in test_eq expr = Expression('x,y') File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in _clone value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_error_access_undefined (genshi.template.tests.eval.ExpressionTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 414, in test_error_access_undefined expr = Expression("nothing", filename='index.html', lineno=50, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_error_getattr_undefined (genshi.template.tests.eval.ExpressionTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 437, in test_error_getattr_undefined expr = Expression('something.nil', filename='index.html', lineno=50, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 635, in visit_Attribute args = [self.visit(node.value), _new(_ast.Str, node.attr)] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_error_getitem_undefined_string (genshi.template.tests.eval.ExpressionTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 461, in test_error_getitem_undefined_string expr = Expression('something["nil"]', filename='index.html', lineno=50, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 645, in visit_Subscript self.visit(node.value), File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_generator_expression (genshi.template.tests.eval.ExpressionTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 300, in test_generator_expression expr = Expression("list(n for n in numbers if n < 2)") File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_generator_expression_with_getattr (genshi.template.tests.eval.ExpressionTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 321, in test_generator_expression_with_getattr expr = Expression("list(i.name for i in items if i.value > 1)") File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_generator_expression_with_getitem (genshi.template.tests.eval.ExpressionTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 326, in test_generator_expression_with_getitem expr = Expression("list(i['name'] for i in items if i['value'] > 1)") File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_getattr_exception (genshi.template.tests.eval.ExpressionTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 390, in test_getattr_exception Expression('s.prop_a').evaluate, {'s': Something()}) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 635, in visit_Attribute args = [self.visit(node.value), _new(_ast.Str, node.attr)] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_getattr_undefined (genshi.template.tests.eval.ExpressionTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 374, in test_getattr_undefined expr = Expression('something.nil', filename='index.html', lineno=50, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 635, in visit_Attribute args = [self.visit(node.value), _new(_ast.Str, node.attr)] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_getitem_exception (genshi.template.tests.eval.ExpressionTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 411, in test_getitem_exception Expression('s["foo"]').evaluate, {'s': Something()}) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 645, in visit_Subscript self.visit(node.value), File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_getitem_undefined_string (genshi.template.tests.eval.ExpressionTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 399, in test_getitem_undefined_string expr = Expression('something["nil"]', filename='index.html', lineno=50, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 645, in visit_Subscript self.visit(node.value), File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_hash (genshi.template.tests.eval.ExpressionTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 36, in test_hash expr = Expression('x,y') File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in _clone value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_lambda (genshi.template.tests.eval.ExpressionTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 258, in test_lambda expr = Expression("filter(lambda x: x > 2, items)") File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_list_comprehension (genshi.template.tests.eval.ExpressionTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 270, in test_list_comprehension expr = Expression("[n for n in numbers if n < 2]") File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 583, in visit_GeneratorExp self.visit(generator.iter), File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_list_comprehension_with_getattr (genshi.template.tests.eval.ExpressionTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 291, in test_list_comprehension_with_getattr expr = Expression("[i.name for i in items if i.value > 1]") File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 583, in visit_GeneratorExp self.visit(generator.iter), File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_list_comprehension_with_getitem (genshi.template.tests.eval.ExpressionTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 296, in test_list_comprehension_with_getitem expr = Expression("[i['name'] for i in items if i['value'] > 1]") File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 583, in visit_GeneratorExp self.visit(generator.iter), File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_list_literal (genshi.template.tests.eval.ExpressionTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 98, in test_list_literal self.assertEqual([], Expression("[]").evaluate({})) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 470, in _compile return build_code_chunk(code, filename, name, lineno) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/compat.py", line 93, in build_code_chunk return CodeType(0, code.co_nlocals, code.co_kwonlyargcount, TypeError: an integer is required (got type bytes) ====================================================================== ERROR: test_name_lookup (genshi.template.tests.eval.ExpressionTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 49, in test_name_lookup self.assertEqual('bar', Expression('foo').evaluate({'foo': 'bar'})) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_num_literal (genshi.template.tests.eval.ExpressionTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 83, in test_num_literal self.assertEqual(42, Expression("42").evaluate({})) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 464, in _compile new_source = ASTCodeGenerator(tree).code File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 43, in __init__ self.visit(tree) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 104, in visit_Expression return self.visit(node.body) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 90, in visit raise Exception('Unhandled node type %r' % type(node)) Exception: Unhandled node type ====================================================================== ERROR: test_pickle (genshi.template.tests.eval.ExpressionTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 41, in test_pickle expr = Expression('1 < 2') File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 464, in _compile new_source = ASTCodeGenerator(tree).code File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 43, in __init__ self.visit(tree) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 104, in visit_Expression return self.visit(node.body) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 521, in _f f(self, node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 650, in visit_Compare self.visit(node.left) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 90, in visit raise Exception('Unhandled node type %r' % type(node)) Exception: Unhandled node type ====================================================================== ERROR: test_slice (genshi.template.tests.eval.ExpressionTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 336, in test_slice expr = Expression("numbers[0:2]") File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 641, in visit_Subscript return ASTTransformer.visit_Subscript(self, node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_slice_copy (genshi.template.tests.eval.ExpressionTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 345, in test_slice_copy expr = Expression("numbers[:]") File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 641, in visit_Subscript return ASTTransformer.visit_Subscript(self, node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_slice_negative_end (genshi.template.tests.eval.ExpressionTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 358, in test_slice_negative_end expr = Expression("numbers[:-1]") File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 641, in visit_Subscript return ASTTransformer.visit_Subscript(self, node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_slice_negative_start (genshi.template.tests.eval.ExpressionTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 354, in test_slice_negative_start expr = Expression("numbers[-1:]") File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 641, in visit_Subscript return ASTTransformer.visit_Subscript(self, node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_slice_stride (genshi.template.tests.eval.ExpressionTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 349, in test_slice_stride expr = Expression("numbers[::stride]") File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 641, in visit_Subscript return ASTTransformer.visit_Subscript(self, node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_slice_with_vars (genshi.template.tests.eval.ExpressionTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 340, in test_slice_with_vars expr = Expression("numbers[start:end]") File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 641, in visit_Subscript return ASTTransformer.visit_Subscript(self, node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_str_literal (genshi.template.tests.eval.ExpressionTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 59, in test_str_literal self.assertEqual('foo', Expression('"foo"').evaluate({})) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 464, in _compile new_source = ASTCodeGenerator(tree).code File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 43, in __init__ self.visit(tree) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 104, in visit_Expression return self.visit(node.body) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 90, in visit raise Exception('Unhandled node type %r' % type(node)) Exception: Unhandled node type ====================================================================== ERROR: test_str_literal_non_ascii (genshi.template.tests.eval.ExpressionTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 68, in test_str_literal_non_ascii expr = Expression("'\xfe'") File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 464, in _compile new_source = ASTCodeGenerator(tree).code File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 43, in __init__ self.visit(tree) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 104, in visit_Expression return self.visit(node.body) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 90, in visit raise Exception('Unhandled node type %r' % type(node)) Exception: Unhandled node type ====================================================================== ERROR: test_tuple_literal (genshi.template.tests.eval.ExpressionTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 104, in test_tuple_literal self.assertEqual((), Expression("()").evaluate({})) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 470, in _compile return build_code_chunk(code, filename, name, lineno) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/compat.py", line 93, in build_code_chunk return CodeType(0, code.co_nlocals, code.co_kwonlyargcount, TypeError: an integer is required (got type bytes) ====================================================================== ERROR: test_unaryop_inv (genshi.template.tests.eval.ExpressionTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 122, in test_unaryop_inv self.assertEqual(-2, Expression("~1").evaluate({})) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 464, in _compile new_source = ASTCodeGenerator(tree).code File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 43, in __init__ self.visit(tree) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 104, in visit_Expression return self.visit(node.body) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 568, in visit_UnaryOp self.visit(node.operand) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 90, in visit raise Exception('Unhandled node type %r' % type(node)) Exception: Unhandled node type ====================================================================== ERROR: test_unaryop_neg (genshi.template.tests.eval.ExpressionTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 114, in test_unaryop_neg self.assertEqual(-1, Expression("-1").evaluate({})) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 464, in _compile new_source = ASTCodeGenerator(tree).code File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 43, in __init__ self.visit(tree) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 104, in visit_Expression return self.visit(node.body) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 568, in visit_UnaryOp self.visit(node.operand) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 90, in visit raise Exception('Unhandled node type %r' % type(node)) Exception: Unhandled node type ====================================================================== ERROR: test_unaryop_not (genshi.template.tests.eval.ExpressionTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 118, in test_unaryop_not self.assertEqual(False, Expression("not True").evaluate({})) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 464, in _compile new_source = ASTCodeGenerator(tree).code File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 43, in __init__ self.visit(tree) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 104, in visit_Expression return self.visit(node.body) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 568, in visit_UnaryOp self.visit(node.operand) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 90, in visit raise Exception('Unhandled node type %r' % type(node)) Exception: Unhandled node type ====================================================================== ERROR: test_unaryop_pos (genshi.template.tests.eval.ExpressionTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 110, in test_unaryop_pos self.assertEqual(1, Expression("+1").evaluate({})) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 464, in _compile new_source = ASTCodeGenerator(tree).code File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 43, in __init__ self.visit(tree) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 104, in visit_Expression return self.visit(node.body) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 568, in visit_UnaryOp self.visit(node.operand) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 90, in visit raise Exception('Unhandled node type %r' % type(node)) Exception: Unhandled node type ====================================================================== ERROR: test_assign (genshi.template.tests.eval.SuiteTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 508, in test_assign suite = Suite("foo = 42") File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 464, in _compile new_source = ASTCodeGenerator(tree).code File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 43, in __init__ self.visit(tree) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 98, in visit_Module self.visit(n) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 219, in visit_Assign self.visit(node.value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 90, in visit raise Exception('Unhandled node type %r' % type(node)) Exception: Unhandled node type ====================================================================== ERROR: test_assign_in_list (genshi.template.tests.eval.SuiteTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 799, in test_assign_in_list suite = Suite("[d['k']] = 'foo',; assert d['k'] == 'foo'") File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in _clone value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in _clone value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in _clone value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_assign_to_attribute (genshi.template.tests.eval.SuiteTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 826, in test_assign_to_attribute suite = Suite("obj.attr = 'foo'") File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in _clone value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in _clone value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_assign_to_dict_item (genshi.template.tests.eval.SuiteTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 818, in test_assign_to_dict_item suite = Suite("d['k'] = 'foo'") File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in _clone value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in _clone value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_augmented_assign_in_def (genshi.template.tests.eval.SuiteTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 781, in test_augmented_assign_in_def Suite("""def foo(): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in _clone value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_augmented_assign_in_loop_in_def (genshi.template.tests.eval.SuiteTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 790, in test_augmented_assign_in_loop_in_def Suite("""def foo(): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in _clone value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 572, in visit_FunctionDef return ASTTransformer.visit_FunctionDef(self, node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in _clone value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_augmented_attribute_assignment (genshi.template.tests.eval.SuiteTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 771, in test_augmented_attribute_assignment suite = Suite("d['k'] += 42") File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in _clone value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_class (genshi.template.tests.eval.SuiteTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 656, in test_class suite = Suite("class plain(object): pass") File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in _clone value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 542, in visit_ClassDef return ASTTransformer.visit_ClassDef(self, node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in _clone value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_class_in_def (genshi.template.tests.eval.SuiteTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 662, in test_class_in_def suite = Suite(""" File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in _clone value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 572, in visit_FunctionDef return ASTTransformer.visit_FunctionDef(self, node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in _clone value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 542, in visit_ClassDef return ASTTransformer.visit_ClassDef(self, node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in _clone value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_class_with_methods (genshi.template.tests.eval.SuiteTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 675, in test_class_with_methods suite = Suite("""class plain(object): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in _clone value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 542, in visit_ClassDef return ASTTransformer.visit_ClassDef(self, node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in _clone value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_def (genshi.template.tests.eval.SuiteTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 514, in test_def suite = Suite("def donothing(): pass") File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 470, in _compile return build_code_chunk(code, filename, name, lineno) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/compat.py", line 93, in build_code_chunk return CodeType(0, code.co_nlocals, code.co_kwonlyargcount, TypeError: an integer is required (got type bytes) ====================================================================== ERROR: test_def_all_defaults (genshi.template.tests.eval.SuiteTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 557, in test_def_all_defaults suite = Suite(""" File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in _clone value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_def_kwargs (genshi.template.tests.eval.SuiteTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 584, in test_def_kwargs suite = Suite(""" File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in _clone value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_def_kwonlyarg (genshi.template.tests.eval.SuiteTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 595, in test_def_kwonlyarg suite = Suite(""" File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in _clone value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_def_kwonlyarg_with_default (genshi.template.tests.eval.SuiteTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 605, in test_def_kwonlyarg_with_default suite = Suite(""" File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in _clone value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_def_nested (genshi.template.tests.eval.SuiteTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 617, in test_def_nested suite = Suite(""" File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in _clone value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_def_some_defaults (genshi.template.tests.eval.SuiteTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 545, in test_def_some_defaults suite = Suite(""" File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in _clone value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_def_using_nonlocal (genshi.template.tests.eval.SuiteTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 532, in test_def_using_nonlocal suite = Suite(""" File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in _clone value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 572, in visit_FunctionDef return ASTTransformer.visit_FunctionDef(self, node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in _clone value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in _clone value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_def_vararg (genshi.template.tests.eval.SuiteTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 571, in test_def_vararg suite = Suite(""" File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in _clone value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_def_with_decorator (genshi.template.tests.eval.SuiteTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 633, in test_def_with_decorator suite = Suite(""" File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in _clone value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 572, in visit_FunctionDef return ASTTransformer.visit_FunctionDef(self, node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in _clone value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_def_with_multiple_statements (genshi.template.tests.eval.SuiteTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 521, in test_def_with_multiple_statements suite = Suite(""" File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in _clone value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 572, in visit_FunctionDef return ASTTransformer.visit_FunctionDef(self, node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in _clone value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in _clone value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_delattr (genshi.template.tests.eval.SuiteTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 836, in test_delattr Suite("del obj.attr").execute({'obj': obj}) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in _clone value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in _clone value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_delete (genshi.template.tests.eval.SuiteTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 648, in test_delete suite = Suite("""foo = 42 File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 464, in _compile new_source = ASTCodeGenerator(tree).code File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 43, in __init__ self.visit(tree) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 98, in visit_Module self.visit(n) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 219, in visit_Assign self.visit(node.value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 90, in visit raise Exception('Unhandled node type %r' % type(node)) Exception: Unhandled node type ====================================================================== ERROR: test_delitem (genshi.template.tests.eval.SuiteTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 841, in test_delitem Suite("del d['k']").execute({'d': d}) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in _clone value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in _clone value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_exec (genshi.template.tests.eval.SuiteTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 805, in test_exec suite = Suite("x = 1; exec(d['k']); assert x == 42, x") File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in _clone value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_finally (genshi.template.tests.eval.SuiteTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 750, in test_finally suite = Suite("""try: File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 464, in _compile new_source = ASTCodeGenerator(tree).code File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 43, in __init__ self.visit(tree) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 98, in visit_Module self.visit(n) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 417, in visit_Try self.visit(statement) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 219, in visit_Assign self.visit(node.value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 90, in visit raise Exception('Unhandled node type %r' % type(node)) Exception: Unhandled node type ====================================================================== ERROR: test_for (genshi.template.tests.eval.SuiteTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 706, in test_for suite = Suite("""x = [] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in _clone value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_for_in_def (genshi.template.tests.eval.SuiteTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 715, in test_for_in_def suite = Suite("""def loop(): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in _clone value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 572, in visit_FunctionDef return ASTTransformer.visit_FunctionDef(self, node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in _clone value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_if (genshi.template.tests.eval.SuiteTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 727, in test_if suite = Suite("""if foo == 42: File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in _clone value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_import (genshi.template.tests.eval.SuiteTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 684, in test_import suite = Suite("from itertools import repeat") File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 470, in _compile return build_code_chunk(code, filename, name, lineno) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/compat.py", line 93, in build_code_chunk return CodeType(0, code.co_nlocals, code.co_kwonlyargcount, TypeError: an integer is required (got type bytes) ====================================================================== ERROR: test_import_in_def (genshi.template.tests.eval.SuiteTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 696, in test_import_in_def suite = Suite("""def fun(): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 464, in _compile new_source = ASTCodeGenerator(tree).code File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 43, in __init__ self.visit(tree) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 98, in visit_Module self.visit(n) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 176, in visit_FunctionDef self.visit(statement) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 202, in visit_Return self.visit(node.value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 665, in visit_Call self.visit(arg) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 90, in visit raise Exception('Unhandled node type %r' % type(node)) Exception: Unhandled node type ====================================================================== ERROR: test_import_star (genshi.template.tests.eval.SuiteTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 690, in test_import_star suite = Suite("from itertools import *") File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 470, in _compile return build_code_chunk(code, filename, name, lineno) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/compat.py", line 93, in build_code_chunk return CodeType(0, code.co_nlocals, code.co_kwonlyargcount, TypeError: an integer is required (got type bytes) ====================================================================== ERROR: test_internal_shadowing (genshi.template.tests.eval.SuiteTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 500, in test_internal_shadowing suite = Suite("""data = [] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in _clone value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_local_augmented_assign (genshi.template.tests.eval.SuiteTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 777, in test_local_augmented_assign Suite("x = 1; x += 42; assert x == 43").execute({}) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in _clone value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_pickle (genshi.template.tests.eval.SuiteTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 485, in test_pickle suite = Suite('foo = 42') File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 464, in _compile new_source = ASTCodeGenerator(tree).code File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 43, in __init__ self.visit(tree) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 98, in visit_Module self.visit(n) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 219, in visit_Assign self.visit(node.value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 90, in visit raise Exception('Unhandled node type %r' % type(node)) Exception: Unhandled node type ====================================================================== ERROR: test_raise (genshi.template.tests.eval.SuiteTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 735, in test_raise suite = Suite("""raise NotImplementedError""") File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in _clone value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_return (genshi.template.tests.eval.SuiteTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 809, in test_return suite = Suite(""" File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in _clone value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 572, in visit_FunctionDef return ASTTransformer.visit_FunctionDef(self, node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in _clone value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_try_except (genshi.template.tests.eval.SuiteTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 739, in test_try_except suite = Suite("""try: File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in _clone value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in _clone value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_while_break (genshi.template.tests.eval.SuiteTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 760, in test_while_break suite = Suite("""x = 0 File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in _clone value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_with_statement (genshi.template.tests.eval.SuiteTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 854, in test_with_statement suite = Suite("""from __future__ import with_statement File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in _clone value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in _clone value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_with_statement_with_multiple_items (genshi.template.tests.eval.SuiteTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 895, in test_with_statement_with_multiple_items suite = Suite("""from __future__ import with_statement File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in _clone value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in _clone value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_yield_expression (genshi.template.tests.eval.SuiteTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/eval.py", line 867, in test_yield_expression suite = Suite("""from genshi.compat import next File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in _clone value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_interpolate_dobuleescaped (genshi.template.tests.interpolation.InterpolateTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/interpolation.py", line 44, in test_interpolate_dobuleescaped parts = list(interpolate('$$${bla}')) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_interpolate_full_nested_brackets (genshi.template.tests.interpolation.InterpolateTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/interpolation.py", line 126, in test_interpolate_full_nested_brackets parts = list(interpolate('${{1:2}}')) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 464, in _compile new_source = ASTCodeGenerator(tree).code File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 43, in __init__ self.visit(tree) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 104, in visit_Expression return self.visit(node.body) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 591, in visit_Dict self.visit(key) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 90, in visit raise Exception('Unhandled node type %r' % type(node)) Exception: Unhandled node type ====================================================================== ERROR: test_interpolate_mixed1 (genshi.template.tests.interpolation.InterpolateTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/interpolation.py", line 170, in test_interpolate_mixed1 parts = list(interpolate('$foo bar $baz')) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_interpolate_mixed2 (genshi.template.tests.interpolation.InterpolateTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/interpolation.py", line 180, in test_interpolate_mixed2 parts = list(interpolate('foo $bar baz')) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_interpolate_quoted_brackets_1 (genshi.template.tests.interpolation.InterpolateTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/interpolation.py", line 140, in test_interpolate_quoted_brackets_1 parts = list(interpolate('${"}"}')) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 464, in _compile new_source = ASTCodeGenerator(tree).code File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 43, in __init__ self.visit(tree) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 104, in visit_Expression return self.visit(node.body) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 90, in visit raise Exception('Unhandled node type %r' % type(node)) Exception: Unhandled node type ====================================================================== ERROR: test_interpolate_quoted_brackets_2 (genshi.template.tests.interpolation.InterpolateTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/interpolation.py", line 146, in test_interpolate_quoted_brackets_2 parts = list(interpolate("${'}'}")) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 464, in _compile new_source = ASTCodeGenerator(tree).code File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 43, in __init__ self.visit(tree) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 104, in visit_Expression return self.visit(node.body) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 90, in visit raise Exception('Unhandled node type %r' % type(node)) Exception: Unhandled node type ====================================================================== ERROR: test_interpolate_quoted_brackets_3 (genshi.template.tests.interpolation.InterpolateTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/interpolation.py", line 152, in test_interpolate_quoted_brackets_3 parts = list(interpolate("${'''}'''}")) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 464, in _compile new_source = ASTCodeGenerator(tree).code File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 43, in __init__ self.visit(tree) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 104, in visit_Expression return self.visit(node.body) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 90, in visit raise Exception('Unhandled node type %r' % type(node)) Exception: Unhandled node type ====================================================================== ERROR: test_interpolate_quoted_brackets_4 (genshi.template.tests.interpolation.InterpolateTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/interpolation.py", line 158, in test_interpolate_quoted_brackets_4 parts = list(interpolate("${'''}\"\"\"'''}")) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 464, in _compile new_source = ASTCodeGenerator(tree).code File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 43, in __init__ self.visit(tree) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 104, in visit_Expression return self.visit(node.body) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 90, in visit raise Exception('Unhandled node type %r' % type(node)) Exception: Unhandled node type ====================================================================== ERROR: test_interpolate_quoted_brackets_5 (genshi.template.tests.interpolation.InterpolateTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/interpolation.py", line 164, in test_interpolate_quoted_brackets_5 parts = list(interpolate(r"${'\'}'}")) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 464, in _compile new_source = ASTCodeGenerator(tree).code File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 43, in __init__ self.visit(tree) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 104, in visit_Expression return self.visit(node.body) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 90, in visit raise Exception('Unhandled node type %r' % type(node)) Exception: Unhandled node type ====================================================================== ERROR: test_interpolate_short (genshi.template.tests.interpolation.InterpolateTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/interpolation.py", line 52, in test_interpolate_short parts = list(interpolate('$bla')) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_interpolate_short_containing_digit (genshi.template.tests.interpolation.InterpolateTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/interpolation.py", line 120, in test_interpolate_short_containing_digit parts = list(interpolate('$foo0')) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_interpolate_short_containing_dot (genshi.template.tests.interpolation.InterpolateTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/interpolation.py", line 96, in test_interpolate_short_containing_dot parts = list(interpolate('$foo.bar')) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 635, in visit_Attribute args = [self.visit(node.value), _new(_ast.Str, node.attr)] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_interpolate_short_containing_underscore (genshi.template.tests.interpolation.InterpolateTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/interpolation.py", line 84, in test_interpolate_short_containing_underscore parts = list(interpolate('$foo_bar')) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_interpolate_short_doubleescaped (genshi.template.tests.interpolation.InterpolateTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/interpolation.py", line 70, in test_interpolate_short_doubleescaped parts = list(interpolate('$$$bla')) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_interpolate_short_starting_with_underscore (genshi.template.tests.interpolation.InterpolateTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/interpolation.py", line 78, in test_interpolate_short_starting_with_underscore parts = list(interpolate('$_bla')) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_interpolate_simple (genshi.template.tests.interpolation.InterpolateTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/interpolation.py", line 32, in test_interpolate_simple parts = list(interpolate('${bla}')) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_interpolate_triplequoted (genshi.template.tests.interpolation.InterpolateTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/interpolation.py", line 190, in test_interpolate_triplequoted parts = list(interpolate('${"""foo\nbar"""}')) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 464, in _compile new_source = ASTCodeGenerator(tree).code File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 43, in __init__ self.visit(tree) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 104, in visit_Expression return self.visit(node.body) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 90, in visit raise Exception('Unhandled node type %r' % type(node)) Exception: Unhandled node type ====================================================================== ERROR: test_allow_exec_true (genshi.template.tests.markup.MarkupTemplateTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/markup.py", line 634, in test_allow_exec_true tmpl = MarkupTemplate(xml, filename='test.html', allow_exec=True) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 94, in _parse suite = Suite(data[1], self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 464, in _compile new_source = ASTCodeGenerator(tree).code File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 43, in __init__ self.visit(tree) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 98, in visit_Module self.visit(n) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 219, in visit_Assign self.visit(node.value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 90, in visit raise Exception('Unhandled node type %r' % type(node)) Exception: Unhandled node type ====================================================================== ERROR: test_attr_escape_quotes (genshi.template.tests.markup.MarkupTemplateTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/markup.py", line 156, in test_attr_escape_quotes
""", str(tmpl.generate(myvar='"foo"'))) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 565, in generate stream = self.stream File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 454, in stream self._prepare_self() File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 473, in _prepare_self self._stream = list(self._prepare(self._stream, inlined)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 289, in _prepare self, self._extract_includes(self._interpolate_attrs(stream)), File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 210, in _extract_includes for kind, data, pos in stream: File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 278, in _interpolate_attrs value = list(interpolate(value, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_directive_element (genshi.template.tests.markup.MarkupTemplateTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/markup.py", line 164, in test_directive_element
""", str(tmpl.generate(myvar='"foo"'))) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 565, in generate stream = self.stream File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 454, in stream self._prepare_self() File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 473, in _prepare_self self._stream = list(self._prepare(self._stream, inlined)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 490, in _prepare directive, substream = cls.attach(self, substream, value, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 404, in attach return super(IfDirective, cls).attach(template, stream, value, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 82, in attach return cls(value, template, namespaces, *pos[1:]), stream File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 60, in __init__ self.expr = self._parse_expr(value, template, lineno, offset) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 108, in _parse_expr return expr and Expression(expr, template.filepath, lineno, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_dynamic_include_href (genshi.template.tests.markup.MarkupTemplateTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/markup.py", line 306, in test_dynamic_include_href """, tmpl.generate(name='tmpl1').render(encoding=None)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 565, in generate stream = self.stream File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 454, in stream self._prepare_self() File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 473, in _prepare_self self._stream = list(self._prepare(self._stream, inlined)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 289, in _prepare self, self._extract_includes(self._interpolate_attrs(stream)), File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 210, in _extract_includes for kind, data, pos in stream: File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 278, in _interpolate_attrs value = list(interpolate(value, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_empty_attr_interpolated (genshi.template.tests.markup.MarkupTemplateTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/markup.py", line 80, in test_empty_attr_interpolated self.assertEqual('', str(tmpl.generate(attr=''))) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 565, in generate stream = self.stream File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 454, in stream self._prepare_self() File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 473, in _prepare_self self._stream = list(self._prepare(self._stream, inlined)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 289, in _prepare self, self._extract_includes(self._interpolate_attrs(stream)), File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 210, in _extract_includes for kind, data, pos in stream: File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 278, in _interpolate_attrs value = list(interpolate(value, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_exec_def (genshi.template.tests.markup.MarkupTemplateTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/markup.py", line 230, in test_exec_def tmpl = MarkupTemplate(""" File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 94, in _parse suite = Suite(data[1], self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 464, in _compile new_source = ASTCodeGenerator(tree).code File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 43, in __init__ self.visit(tree) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 98, in visit_Module self.visit(n) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 176, in visit_FunctionDef self.visit(statement) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 202, in visit_Return self.visit(node.value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 90, in visit raise Exception('Unhandled node type %r' % type(node)) Exception: Unhandled node type ====================================================================== ERROR: test_exec_import (genshi.template.tests.markup.MarkupTemplateTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/markup.py", line 221, in test_exec_import tmpl = MarkupTemplate(""" File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 94, in _parse suite = Suite(data[1], self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 470, in _compile return build_code_chunk(code, filename, name, lineno) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/compat.py", line 93, in build_code_chunk return CodeType(0, code.co_nlocals, code.co_kwonlyargcount, TypeError: an integer is required (got type bytes) ====================================================================== ERROR: test_exec_in_match (genshi.template.tests.markup.MarkupTemplateTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/markup.py", line 644, in test_exec_in_match tmpl = MarkupTemplate(xml, filename='test.html', allow_exec=True) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 94, in _parse suite = Suite(data[1], self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 464, in _compile new_source = ASTCodeGenerator(tree).code File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 43, in __init__ self.visit(tree) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 98, in visit_Module self.visit(n) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 219, in visit_Assign self.visit(node.value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 90, in visit raise Exception('Unhandled node type %r' % type(node)) Exception: Unhandled node type ====================================================================== ERROR: test_exec_with_trailing_space (genshi.template.tests.markup.MarkupTemplateTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/markup.py", line 214, in test_exec_with_trailing_space MarkupTemplate(""" File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 94, in _parse suite = Suite(data[1], self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 464, in _compile new_source = ASTCodeGenerator(tree).code File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 43, in __init__ self.visit(tree) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 98, in visit_Module self.visit(n) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 219, in visit_Assign self.visit(node.value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 90, in visit raise Exception('Unhandled node type %r' % type(node)) Exception: Unhandled node type ====================================================================== ERROR: test_include_fallback_with_directive (genshi.template.tests.markup.MarkupTemplateTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/markup.py", line 525, in test_include_fallback_with_directive """, tmpl.generate(debug=True).render(encoding=None)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 565, in generate stream = self.stream File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 454, in stream self._prepare_self() File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 473, in _prepare_self self._stream = list(self._prepare(self._stream, inlined)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 527, in _prepare for event in self._prepare(fallback, inlined): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 490, in _prepare directive, substream = cls.attach(self, substream, value, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 404, in attach return super(IfDirective, cls).attach(template, stream, value, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 82, in attach return cls(value, template, namespaces, *pos[1:]), stream File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 60, in __init__ self.expr = self._parse_expr(value, template, lineno, offset) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 108, in _parse_expr return expr and Expression(expr, template.filepath, lineno, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 464, in _compile new_source = ASTCodeGenerator(tree).code File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 43, in __init__ self.visit(tree) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 104, in visit_Expression return self.visit(node.body) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 90, in visit raise Exception('Unhandled node type %r' % type(node)) Exception: Unhandled node type ====================================================================== ERROR: test_include_in_loop (genshi.template.tests.markup.MarkupTemplateTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/markup.py", line 280, in test_include_in_loop """, tmpl.generate(name='tmpl1').render(encoding=None)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 565, in generate stream = self.stream File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 454, in stream self._prepare_self() File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 473, in _prepare_self self._stream = list(self._prepare(self._stream, inlined)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 490, in _prepare directive, substream = cls.attach(self, substream, value, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 363, in attach return super(ForDirective, cls).attach(template, stream, value, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 82, in attach return cls(value, template, namespaces, *pos[1:]), stream File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 357, in __init__ Directive.__init__(self, value, template, namespaces, lineno, offset) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 60, in __init__ self.expr = self._parse_expr(value, template, lineno, offset) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 108, in _parse_expr return expr and Expression(expr, template.filepath, lineno, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_include_inline_recursive (genshi.template.tests.markup.MarkupTemplateTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/markup.py", line 602, in test_include_inline_recursive tmpl = loader.load(os.path.join(dirname, 'tmpl1.html')) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/loader.py", line 235, in load tmpl = self._instantiate(cls, fileobj, filepath, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/loader.py", line 272, in _instantiate return cls(fileobj, filepath=filepath, filename=filename, loader=self, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_include_inlined_in_loop (genshi.template.tests.markup.MarkupTemplateTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/markup.py", line 579, in test_include_inlined_in_loop """, tmpl.generate().render(encoding=None)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 565, in generate stream = self.stream File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 454, in stream self._prepare_self() File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 473, in _prepare_self self._stream = list(self._prepare(self._stream, inlined)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 490, in _prepare directive, substream = cls.attach(self, substream, value, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 363, in attach return super(ForDirective, cls).attach(template, stream, value, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 82, in attach return cls(value, template, namespaces, *pos[1:]), stream File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 357, in __init__ Directive.__init__(self, value, template, namespaces, lineno, offset) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 60, in __init__ self.expr = self._parse_expr(value, template, lineno, offset) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 108, in _parse_expr return expr and Expression(expr, template.filepath, lineno, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_interpolate_leading_trailing_space (genshi.template.tests.markup.MarkupTemplateTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/markup.py", line 57, in test_interpolate_leading_trailing_space tmpl = MarkupTemplate('${ foo }') File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_interpolate_list_result (genshi.template.tests.markup.MarkupTemplateTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/markup.py", line 71, in test_interpolate_list_result tmpl = MarkupTemplate('$foo') File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_interpolate_mixed3 (genshi.template.tests.markup.MarkupTemplateTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/markup.py", line 53, in test_interpolate_mixed3 tmpl = MarkupTemplate(' ${var} $var') File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_interpolate_multiline (genshi.template.tests.markup.MarkupTemplateTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/markup.py", line 61, in test_interpolate_multiline tmpl = MarkupTemplate("""${dict( File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 645, in visit_Subscript self.visit(node.value), File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_interpolate_non_string_attrs (genshi.template.tests.markup.MarkupTemplateTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/markup.py", line 68, in test_interpolate_non_string_attrs self.assertEqual('', str(tmpl.generate())) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 565, in generate stream = self.stream File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 454, in stream self._prepare_self() File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 473, in _prepare_self self._stream = list(self._prepare(self._stream, inlined)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 289, in _prepare self, self._extract_includes(self._interpolate_attrs(stream)), File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 210, in _extract_includes for kind, data, pos in stream: File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 278, in _interpolate_attrs value = list(interpolate(value, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 464, in _compile new_source = ASTCodeGenerator(tree).code File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 43, in __init__ self.visit(tree) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 104, in visit_Expression return self.visit(node.body) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 90, in visit raise Exception('Unhandled node type %r' % type(node)) Exception: Unhandled node type ====================================================================== ERROR: test_markup_noescape (genshi.template.tests.markup.MarkupTemplateTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/markup.py", line 128, in test_markup_noescape tmpl = MarkupTemplate("""
File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_match_tail_handling (genshi.template.tests.markup.MarkupTemplateTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/markup.py", line 775, in test_match_tail_handling tmpl = MarkupTemplate(xml, filename='test.html') File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_namespace_on_removed_elem (genshi.template.tests.markup.MarkupTemplateTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/markup.py", line 256, in test_namespace_on_removed_elem """, str(tmpl.generate())) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 565, in generate stream = self.stream File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 454, in stream self._prepare_self() File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 473, in _prepare_self self._stream = list(self._prepare(self._stream, inlined)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 490, in _prepare directive, substream = cls.attach(self, substream, value, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 404, in attach return super(IfDirective, cls).attach(template, stream, value, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 82, in attach return cls(value, template, namespaces, *pos[1:]), stream File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 60, in __init__ self.expr = self._parse_expr(value, template, lineno, offset) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 108, in _parse_expr return expr and Expression(expr, template.filepath, lineno, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 464, in _compile new_source = ASTCodeGenerator(tree).code File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 43, in __init__ self.visit(tree) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 104, in visit_Expression return self.visit(node.body) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 90, in visit raise Exception('Unhandled node type %r' % type(node)) Exception: Unhandled node type ====================================================================== ERROR: test_nested_include_matches (genshi.template.tests.markup.MarkupTemplateTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/markup.py", line 706, in test_nested_include_matches tmpl = loader.load('tmpl3.html') File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/loader.py", line 235, in load tmpl = self._instantiate(cls, fileobj, filepath, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/loader.py", line 272, in _instantiate return cls(fileobj, filepath=filepath, filename=filename, loader=self, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_nested_matches_without_buffering (genshi.template.tests.markup.MarkupTemplateTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/markup.py", line 734, in test_nested_matches_without_buffering tmpl = MarkupTemplate(xml, filename='test.html') File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_parse_fileobj (genshi.template.tests.markup.MarkupTemplateTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/markup.py", line 35, in test_parse_fileobj tmpl = MarkupTemplate(fileobj) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_parse_stream (genshi.template.tests.markup.MarkupTemplateTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/markup.py", line 40, in test_parse_stream tmpl = MarkupTemplate(stream) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_pickle (genshi.template.tests.markup.MarkupTemplateTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/markup.py", line 45, in test_pickle tmpl = MarkupTemplate(stream) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_select_included_elements (genshi.template.tests.markup.MarkupTemplateTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/markup.py", line 332, in test_select_included_elements tmpl = loader.load('tmpl2.html') File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/loader.py", line 235, in load tmpl = self._instantiate(cls, fileobj, filepath, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/loader.py", line 272, in _instantiate return cls(fileobj, filepath=filepath, filename=filename, loader=self, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_text_noescape_quotes (genshi.template.tests.markup.MarkupTemplateTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/markup.py", line 140, in test_text_noescape_quotes tmpl = MarkupTemplate("""
File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_with_in_match (genshi.template.tests.markup.MarkupTemplateTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/markup.py", line 659, in test_with_in_match tmpl = MarkupTemplate(xml, filename='test.html') File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_helper_functions (genshi.template.tests.plugin.MarkupTemplateEnginePluginTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/plugin.py", line 167, in test_helper_functions tmpl = plugin.load_template(PACKAGE + '.templates.functions') File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/plugin.py", line 98, in load_template return self.loader.load(templatename) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/loader.py", line 235, in load tmpl = self._instantiate(cls, fileobj, filepath, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/loader.py", line 272, in _instantiate return cls(fileobj, filepath=filepath, filename=filename, loader=self, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_load_template_from_file (genshi.template.tests.plugin.MarkupTemplateEnginePluginTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/plugin.py", line 76, in test_load_template_from_file tmpl = plugin.load_template(PACKAGE + '.templates.test') File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/plugin.py", line 98, in load_template return self.loader.load(templatename) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/loader.py", line 235, in load tmpl = self._instantiate(cls, fileobj, filepath, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/loader.py", line 272, in _instantiate return cls(fileobj, filepath=filepath, filename=filename, loader=self, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_load_template_from_string (genshi.template.tests.plugin.MarkupTemplateEnginePluginTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/plugin.py", line 82, in test_load_template_from_string tmpl = plugin.load_template(None, template_string="""

File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/plugin.py", line 88, in load_template return self.template_class(template_string) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_render (genshi.template.tests.plugin.MarkupTemplateEnginePluginTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/plugin.py", line 102, in test_render tmpl = plugin.load_template(PACKAGE + '.templates.test') File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/plugin.py", line 98, in load_template return self.loader.load(templatename) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/loader.py", line 235, in load tmpl = self._instantiate(cls, fileobj, filepath, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/loader.py", line 272, in _instantiate return cls(fileobj, filepath=filepath, filename=filename, loader=self, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_render_fragment_with_doctype (genshi.template.tests.plugin.MarkupTemplateEnginePluginTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/plugin.py", line 152, in test_render_fragment_with_doctype tmpl = plugin.load_template(PACKAGE + '.templates.test_no_doctype') File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/plugin.py", line 98, in load_template return self.loader.load(templatename) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/loader.py", line 235, in load tmpl = self._instantiate(cls, fileobj, filepath, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/loader.py", line 272, in _instantiate return cls(fileobj, filepath=filepath, filename=filename, loader=self, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_render_with_doctype (genshi.template.tests.plugin.MarkupTemplateEnginePluginTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/plugin.py", line 135, in test_render_with_doctype tmpl = plugin.load_template(PACKAGE + '.templates.test') File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/plugin.py", line 98, in load_template return self.loader.load(templatename) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/loader.py", line 235, in load tmpl = self._instantiate(cls, fileobj, filepath, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/loader.py", line 272, in _instantiate return cls(fileobj, filepath=filepath, filename=filename, loader=self, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_render_with_format (genshi.template.tests.plugin.MarkupTemplateEnginePluginTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/plugin.py", line 117, in test_render_with_format tmpl = plugin.load_template(PACKAGE + '.templates.test') File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/plugin.py", line 98, in load_template return self.loader.load(templatename) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/loader.py", line 235, in load tmpl = self._instantiate(cls, fileobj, filepath, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/loader.py", line 272, in _instantiate return cls(fileobj, filepath=filepath, filename=filename, loader=self, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_transform_with_load (genshi.template.tests.plugin.MarkupTemplateEnginePluginTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/plugin.py", line 90, in test_transform_with_load tmpl = plugin.load_template(PACKAGE + '.templates.test') File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/plugin.py", line 98, in load_template return self.loader.load(templatename) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/loader.py", line 235, in load tmpl = self._instantiate(cls, fileobj, filepath, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/loader.py", line 272, in _instantiate return cls(fileobj, filepath=filepath, filename=filename, loader=self, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_transform_without_load (genshi.template.tests.plugin.MarkupTemplateEnginePluginTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/plugin.py", line 96, in test_transform_without_load stream = plugin.transform({'message': 'Hello'}, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/plugin.py", line 156, in transform return super(MarkupTemplateEnginePlugin, self).transform(data, template) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/plugin.py", line 116, in transform template = self.load_template(template) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/plugin.py", line 98, in load_template return self.loader.load(templatename) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/loader.py", line 235, in load tmpl = self._instantiate(cls, fileobj, filepath, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/loader.py", line 272, in _instantiate return cls(fileobj, filepath=filepath, filename=filename, loader=self, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_helper_functions (genshi.template.tests.plugin.TextTemplateEnginePluginTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/plugin.py", line 250, in test_helper_functions tmpl = plugin.load_template(PACKAGE + '.templates.functions') File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/plugin.py", line 98, in load_template return self.loader.load(templatename) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/loader.py", line 235, in load tmpl = self._instantiate(cls, fileobj, filepath, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/loader.py", line 272, in _instantiate return cls(fileobj, filepath=filepath, filename=filename, loader=self, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/text.py", line 326, in _parse for kind, data, pos in interpolate(text, self.filepath, lineno, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_init_with_new_syntax (genshi.template.tests.plugin.TextTemplateEnginePluginTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/plugin.py", line 211, in test_init_with_new_syntax output = plugin.render({'foo': True}, template=tmpl) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/plugin.py", line 111, in render return self.transform(info, template).render(**kwargs) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/plugin.py", line 117, in transform return template.generate(**info) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 565, in generate stream = self.stream File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 454, in stream self._prepare_self() File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 473, in _prepare_self self._stream = list(self._prepare(self._stream, inlined)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 490, in _prepare directive, substream = cls.attach(self, substream, value, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 404, in attach return super(IfDirective, cls).attach(template, stream, value, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 82, in attach return cls(value, template, namespaces, *pos[1:]), stream File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 60, in __init__ self.expr = self._parse_expr(value, template, lineno, offset) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 108, in _parse_expr return expr and Expression(expr, template.filepath, lineno, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_load_template_from_file (genshi.template.tests.plugin.TextTemplateEnginePluginTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/plugin.py", line 216, in test_load_template_from_file tmpl = plugin.load_template(PACKAGE + '.templates.test') File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/plugin.py", line 98, in load_template return self.loader.load(templatename) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/loader.py", line 235, in load tmpl = self._instantiate(cls, fileobj, filepath, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/loader.py", line 272, in _instantiate return cls(fileobj, filepath=filepath, filename=filename, loader=self, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/text.py", line 326, in _parse for kind, data, pos in interpolate(text, self.filepath, lineno, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_load_template_from_string (genshi.template.tests.plugin.TextTemplateEnginePluginTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/plugin.py", line 222, in test_load_template_from_string tmpl = plugin.load_template(None, template_string="$message") File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/plugin.py", line 88, in load_template return self.template_class(template_string) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/text.py", line 326, in _parse for kind, data, pos in interpolate(text, self.filepath, lineno, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_render (genshi.template.tests.plugin.TextTemplateEnginePluginTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/plugin.py", line 240, in test_render tmpl = plugin.load_template(PACKAGE + '.templates.test') File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/plugin.py", line 98, in load_template return self.loader.load(templatename) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/loader.py", line 235, in load tmpl = self._instantiate(cls, fileobj, filepath, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/loader.py", line 272, in _instantiate return cls(fileobj, filepath=filepath, filename=filename, loader=self, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/text.py", line 326, in _parse for kind, data, pos in interpolate(text, self.filepath, lineno, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_transform_with_load (genshi.template.tests.plugin.TextTemplateEnginePluginTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/plugin.py", line 234, in test_transform_with_load tmpl = plugin.load_template(PACKAGE + '.templates.test') File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/plugin.py", line 98, in load_template return self.loader.load(templatename) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/loader.py", line 235, in load tmpl = self._instantiate(cls, fileobj, filepath, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/loader.py", line 272, in _instantiate return cls(fileobj, filepath=filepath, filename=filename, loader=self, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/text.py", line 326, in _parse for kind, data, pos in interpolate(text, self.filepath, lineno, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_transform_without_load (genshi.template.tests.plugin.TextTemplateEnginePluginTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/plugin.py", line 228, in test_transform_without_load stream = plugin.transform({'message': 'Hello'}, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/plugin.py", line 116, in transform template = self.load_template(template) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/plugin.py", line 98, in load_template return self.loader.load(templatename) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/loader.py", line 235, in load tmpl = self._instantiate(cls, fileobj, filepath, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/loader.py", line 272, in _instantiate return cls(fileobj, filepath=filepath, filename=filename, loader=self, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/text.py", line 326, in _parse for kind, data, pos in interpolate(text, self.filepath, lineno, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_empty_lines1 (genshi.template.tests.text.OldTextTemplateTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/text.py", line 67, in test_empty_lines1 tmpl = OldTextTemplate("""Your items: File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/text.py", line 291, in _parse for kind, data, pos in interpolate(text, self.filepath, lineno, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_empty_lines2 (genshi.template.tests.text.OldTextTemplateTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/text.py", line 80, in test_empty_lines2 tmpl = OldTextTemplate("""Your items: File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/text.py", line 291, in _parse for kind, data, pos in interpolate(text, self.filepath, lineno, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_end_with_args (genshi.template.tests.text.OldTextTemplateTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/text.py", line 52, in test_end_with_args self.assertEqual('\n', tmpl.generate(foo=False).render(encoding=None)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 565, in generate stream = self.stream File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 454, in stream self._prepare_self() File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 473, in _prepare_self self._stream = list(self._prepare(self._stream, inlined)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 490, in _prepare directive, substream = cls.attach(self, substream, value, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 404, in attach return super(IfDirective, cls).attach(template, stream, value, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 82, in attach return cls(value, template, namespaces, *pos[1:]), stream File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 60, in __init__ self.expr = self._parse_expr(value, template, lineno, offset) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 108, in _parse_expr return expr and Expression(expr, template.filepath, lineno, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_latin1_encoded (genshi.template.tests.text.OldTextTemplateTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/text.py", line 56, in test_latin1_encoded tmpl = OldTextTemplate(text, encoding='iso-8859-1') File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/text.py", line 326, in _parse for kind, data, pos in interpolate(text, self.filepath, lineno, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_unicode_input (genshi.template.tests.text.OldTextTemplateTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/text.py", line 62, in test_unicode_input tmpl = OldTextTemplate(text) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/text.py", line 326, in _parse for kind, data, pos in interpolate(text, self.filepath, lineno, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_empty_lines1 (genshi.template.tests.text.NewTextTemplateTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/text.py", line 162, in test_empty_lines1 tmpl = NewTextTemplate("""Your items: File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/text.py", line 137, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/text.py", line 181, in _parse for kind, data, pos in interpolate(text, self.filepath, lineno, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_empty_lines1_with_crlf (genshi.template.tests.text.NewTextTemplateTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/text.py", line 175, in test_empty_lines1_with_crlf tmpl = NewTextTemplate('Your items:\r\n' File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/text.py", line 137, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/text.py", line 181, in _parse for kind, data, pos in interpolate(text, self.filepath, lineno, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_empty_lines2 (genshi.template.tests.text.NewTextTemplateTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/text.py", line 188, in test_empty_lines2 tmpl = NewTextTemplate("""Your items: File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/text.py", line 137, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/text.py", line 181, in _parse for kind, data, pos in interpolate(text, self.filepath, lineno, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_empty_lines2_with_crlf (genshi.template.tests.text.NewTextTemplateTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/text.py", line 205, in test_empty_lines2_with_crlf tmpl = NewTextTemplate('Your items:\r\n' File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/text.py", line 137, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/text.py", line 181, in _parse for kind, data, pos in interpolate(text, self.filepath, lineno, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_end_with_args (genshi.template.tests.text.NewTextTemplateTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/text.py", line 147, in test_end_with_args self.assertEqual('\n', tmpl.generate(foo=False).render(encoding=None)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 565, in generate stream = self.stream File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 454, in stream self._prepare_self() File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 473, in _prepare_self self._stream = list(self._prepare(self._stream, inlined)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 490, in _prepare directive, substream = cls.attach(self, substream, value, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 404, in attach return super(IfDirective, cls).attach(template, stream, value, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 82, in attach return cls(value, template, namespaces, *pos[1:]), stream File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 60, in __init__ self.expr = self._parse_expr(value, template, lineno, offset) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 108, in _parse_expr return expr and Expression(expr, template.filepath, lineno, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_exec_def (genshi.template.tests.text.NewTextTemplateTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/text.py", line 240, in test_exec_def tmpl = NewTextTemplate("""{% python File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/text.py", line 137, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/text.py", line 202, in _parse suite = Suite(value, self.filepath, lineno, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 464, in _compile new_source = ASTCodeGenerator(tree).code File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 43, in __init__ self.visit(tree) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 98, in visit_Module self.visit(n) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 176, in visit_FunctionDef self.visit(statement) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 202, in visit_Return self.visit(node.value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 90, in visit raise Exception('Unhandled node type %r' % type(node)) Exception: Unhandled node type ====================================================================== ERROR: test_exec_import (genshi.template.tests.text.NewTextTemplateTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/text.py", line 232, in test_exec_import tmpl = NewTextTemplate("""{% python from datetime import timedelta %} File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/text.py", line 137, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/text.py", line 202, in _parse suite = Suite(value, self.filepath, lineno, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 470, in _compile return build_code_chunk(code, filename, name, lineno) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/compat.py", line 93, in build_code_chunk return CodeType(0, code.co_nlocals, code.co_kwonlyargcount, TypeError: an integer is required (got type bytes) ====================================================================== ERROR: test_include_expr (genshi.template.tests.text.NewTextTemplateTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/text.py", line 288, in test_include_expr tmpl = loader.load('tmpl2.txt', cls=NewTextTemplate) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/loader.py", line 235, in load tmpl = self._instantiate(cls, fileobj, filepath, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/loader.py", line 272, in _instantiate return cls(fileobj, filepath=filepath, filename=filename, loader=self, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/text.py", line 137, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/text.py", line 191, in _parse value = list(interpolate(value, self.filepath, lineno, 0, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 464, in _compile new_source = ASTCodeGenerator(tree).code File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 43, in __init__ self.visit(tree) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 104, in visit_Expression return self.visit(node.body) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 521, in _f f(self, node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 554, in visit_BinOp self.visit(node.left) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 90, in visit raise Exception('Unhandled node type %r' % type(node)) Exception: Unhandled node type ====================================================================== ERROR: test_latin1_encoded (genshi.template.tests.text.NewTextTemplateTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/text.py", line 151, in test_latin1_encoded tmpl = NewTextTemplate(text, encoding='iso-8859-1') File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/text.py", line 137, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/text.py", line 230, in _parse for kind, data, pos in interpolate(text, self.filepath, lineno, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== ERROR: test_unicode_input (genshi.template.tests.text.NewTextTemplateTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/tests/text.py", line 157, in test_unicode_input tmpl = NewTextTemplate(text) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/text.py", line 137, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/text.py", line 230, in _parse for kind, data, pos in interpolate(text, self.filepath, lineno, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== FAIL: ChooseDirective (genshi.filters.i18n) Doctest: genshi.filters.i18n.ChooseDirective ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 2196, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for genshi.filters.i18n.ChooseDirective File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/i18n.py", line 282, in ChooseDirective ---------------------------------------------------------------------- File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/i18n.py", line 292, in genshi.filters.i18n.ChooseDirective Failed example: tmpl = MarkupTemplate('''

There is $num coin

There are $num coins

''') Exception raised: Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 1328, in __run exec(compile(example.source, filename, "single", File "", line 1, in tmpl = MarkupTemplate(''' File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ---------------------------------------------------------------------- File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/i18n.py", line 299, in genshi.filters.i18n.ChooseDirective Failed example: translator.setup(tmpl) Exception raised: Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 1328, in __run exec(compile(example.source, filename, "single", File "", line 1, in translator.setup(tmpl) NameError: name 'tmpl' is not defined ---------------------------------------------------------------------- File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/i18n.py", line 300, in genshi.filters.i18n.ChooseDirective Failed example: list(translator.extract(tmpl.stream)) #doctest: +NORMALIZE_WHITESPACE Exception raised: Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 1328, in __run exec(compile(example.source, filename, "single", File "", line 1, in list(translator.extract(tmpl.stream)) #doctest: +NORMALIZE_WHITESPACE NameError: name 'tmpl' is not defined ---------------------------------------------------------------------- File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/i18n.py", line 304, in genshi.filters.i18n.ChooseDirective Failed example: tmpl = MarkupTemplate('''

There is $num coin

There are $num coins

''') Exception raised: Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 1328, in __run exec(compile(example.source, filename, "single", File "", line 1, in tmpl = MarkupTemplate(''' File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ---------------------------------------------------------------------- File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/i18n.py", line 310, in genshi.filters.i18n.ChooseDirective Failed example: translator.setup(tmpl) Exception raised: Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 1328, in __run exec(compile(example.source, filename, "single", File "", line 1, in translator.setup(tmpl) NameError: name 'tmpl' is not defined ---------------------------------------------------------------------- File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/i18n.py", line 311, in genshi.filters.i18n.ChooseDirective Failed example: print((tmpl.generate(num=1).render())) Exception raised: Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 1328, in __run exec(compile(example.source, filename, "single", File "", line 1, in print((tmpl.generate(num=1).render())) NameError: name 'tmpl' is not defined ---------------------------------------------------------------------- File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/i18n.py", line 317, in genshi.filters.i18n.ChooseDirective Failed example: print((tmpl.generate(num=2).render())) Exception raised: Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 1328, in __run exec(compile(example.source, filename, "single", File "", line 1, in print((tmpl.generate(num=2).render())) NameError: name 'tmpl' is not defined ---------------------------------------------------------------------- File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/i18n.py", line 326, in genshi.filters.i18n.ChooseDirective Failed example: tmpl = MarkupTemplate('''

There is $num coin

There are $num coins

''') Exception raised: Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 1328, in __run exec(compile(example.source, filename, "single", File "", line 1, in tmpl = MarkupTemplate(''' File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ---------------------------------------------------------------------- File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/i18n.py", line 332, in genshi.filters.i18n.ChooseDirective Failed example: translator.setup(tmpl) Exception raised: Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 1328, in __run exec(compile(example.source, filename, "single", File "", line 1, in translator.setup(tmpl) NameError: name 'tmpl' is not defined ---------------------------------------------------------------------- File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/i18n.py", line 333, in genshi.filters.i18n.ChooseDirective Failed example: list(translator.extract(tmpl.stream)) #doctest: +NORMALIZE_WHITESPACE Exception raised: Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 1328, in __run exec(compile(example.source, filename, "single", File "", line 1, in list(translator.extract(tmpl.stream)) #doctest: +NORMALIZE_WHITESPACE NameError: name 'tmpl' is not defined ====================================================================== FAIL: MsgDirective (genshi.filters.i18n) Doctest: genshi.filters.i18n.MsgDirective ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 2196, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for genshi.filters.i18n.MsgDirective File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/i18n.py", line 87, in MsgDirective ---------------------------------------------------------------------- File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/i18n.py", line 110, in genshi.filters.i18n.MsgDirective Failed example: tmpl = MarkupTemplate('''

First Name: ${fname}

Last Name: ${lname}

Foo bar!

''') Exception raised: Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 1328, in __run exec(compile(example.source, filename, "single", File "", line 1, in tmpl = MarkupTemplate(''' File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ---------------------------------------------------------------------- File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/i18n.py", line 117, in genshi.filters.i18n.MsgDirective Failed example: translator.setup(tmpl) Exception raised: Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 1328, in __run exec(compile(example.source, filename, "single", File "", line 1, in translator.setup(tmpl) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/i18n.py", line 916, in setup template.add_directives(Translator.NAMESPACE, self) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 301, in add_directives assert not self._prepared, 'Too late for adding directives, ' \ AssertionError: Too late for adding directives, template already prepared ---------------------------------------------------------------------- File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/i18n.py", line 118, in genshi.filters.i18n.MsgDirective Failed example: list(translator.extract(tmpl.stream)) #doctest: +NORMALIZE_WHITESPACE Expected: [(2, None, '[1:First Name: %(fname)s]\n [2:Last Name: %(lname)s]', []), (6, None, 'Foo [1:bar]!', [])] Got: [(2, None, '[1:Foo]\n [2:Bar]', []), (6, None, 'Foo [1:bar]!', [])] ---------------------------------------------------------------------- File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/i18n.py", line 122, in genshi.filters.i18n.MsgDirective Failed example: tmpl = MarkupTemplate('''

First Name: ${fname}

Last Name: ${lname}

Foo bar!

''') Exception raised: Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 1328, in __run exec(compile(example.source, filename, "single", File "", line 1, in tmpl = MarkupTemplate(''' File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ---------------------------------------------------------------------- File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/i18n.py", line 129, in genshi.filters.i18n.MsgDirective Failed example: translator.setup(tmpl) Exception raised: Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 1328, in __run exec(compile(example.source, filename, "single", File "", line 1, in translator.setup(tmpl) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/i18n.py", line 916, in setup template.add_directives(Translator.NAMESPACE, self) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 301, in add_directives assert not self._prepared, 'Too late for adding directives, ' \ AssertionError: Too late for adding directives, template already prepared ---------------------------------------------------------------------- File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/i18n.py", line 130, in genshi.filters.i18n.MsgDirective Failed example: print((tmpl.generate(fname='John', lname='Doe').render())) Expected:

First Name: John

Last Name: Doe

Foo bar!

Got:

Foo

Bar

Foo bar!

====================================================================== FAIL: Translator (genshi.filters.i18n) Doctest: genshi.filters.i18n.Translator ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 2196, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for genshi.filters.i18n.Translator File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/i18n.py", line 543, in Translator ---------------------------------------------------------------------- File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/i18n.py", line 549, in genshi.filters.i18n.Translator Failed example: tmpl = MarkupTemplate(''' Example

Example

${_("Hello, %(name)s") % dict(name=username)}

''', filename='example.html') Exception raised: Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 1328, in __run exec(compile(example.source, filename, "single", File "", line 1, in tmpl = MarkupTemplate(''' File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ---------------------------------------------------------------------- File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/i18n.py", line 572, in genshi.filters.i18n.Translator Failed example: tmpl.filters.insert(0, translator) Exception raised: Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 1328, in __run exec(compile(example.source, filename, "single", File "", line 1, in tmpl.filters.insert(0, translator) NameError: name 'tmpl' is not defined ---------------------------------------------------------------------- File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/i18n.py", line 577, in genshi.filters.i18n.Translator Failed example: print((tmpl.generate(username='Hans', _=pseudo_gettext))) Exception raised: Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 1328, in __run exec(compile(example.source, filename, "single", File "", line 1, in print((tmpl.generate(username='Hans', _=pseudo_gettext))) NameError: name 'tmpl' is not defined ====================================================================== FAIL: extract (genshi.filters.i18n.Translator) Doctest: genshi.filters.i18n.Translator.extract ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 2196, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for genshi.filters.i18n.Translator.extract File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/i18n.py", line 769, in extract ---------------------------------------------------------------------- File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/i18n.py", line 784, in genshi.filters.i18n.Translator.extract Failed example: tmpl = MarkupTemplate(''' Example

Example

${_("Hello, %(name)s") % dict(name=username)}

${ngettext("You have %d item", "You have %d items", num)}

''', filename='example.html') Exception raised: Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 1328, in __run exec(compile(example.source, filename, "single", File "", line 1, in tmpl = MarkupTemplate(''' File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ---------------------------------------------------------------------- File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/i18n.py", line 794, in genshi.filters.i18n.Translator.extract Failed example: for line, func, msg, comments in Translator().extract(tmpl.stream): print(('%d, %r, %r' % (line, func, msg))) Exception raised: Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 1328, in __run exec(compile(example.source, filename, "single", File "", line 1, in for line, func, msg, comments in Translator().extract(tmpl.stream): NameError: name 'tmpl' is not defined ====================================================================== FAIL: extract_from_code (genshi.filters.i18n) Doctest: genshi.filters.i18n.extract_from_code ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 2196, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for genshi.filters.i18n.extract_from_code File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/i18n.py", line 1167, in extract_from_code ---------------------------------------------------------------------- File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/i18n.py", line 1171, in genshi.filters.i18n.extract_from_code Failed example: expr = Expression('_("Hello")') Exception raised: Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 1328, in __run exec(compile(example.source, filename, "single", File "", line 1, in expr = Expression('_("Hello")') File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ---------------------------------------------------------------------- File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/i18n.py", line 1172, in genshi.filters.i18n.extract_from_code Failed example: list(extract_from_code(expr, GETTEXT_FUNCTIONS)) Exception raised: Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 1328, in __run exec(compile(example.source, filename, "single", File "", line 1, in list(extract_from_code(expr, GETTEXT_FUNCTIONS)) NameError: name 'expr' is not defined ---------------------------------------------------------------------- File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/i18n.py", line 1175, in genshi.filters.i18n.extract_from_code Failed example: expr = Expression('ngettext("You have %(num)s item", ' '"You have %(num)s items", num)') Exception raised: Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 1328, in __run exec(compile(example.source, filename, "single", File "", line 1, in expr = Expression('ngettext("You have %(num)s item", ' File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ---------------------------------------------------------------------- File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/filters/i18n.py", line 1177, in genshi.filters.i18n.extract_from_code Failed example: list(extract_from_code(expr, GETTEXT_FUNCTIONS)) Exception raised: Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 1328, in __run exec(compile(example.source, filename, "single", File "", line 1, in list(extract_from_code(expr, GETTEXT_FUNCTIONS)) NameError: name 'expr' is not defined ====================================================================== FAIL: AttrsDirective (genshi.template.directives) Doctest: genshi.template.directives.AttrsDirective ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 2196, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for genshi.template.directives.AttrsDirective File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 135, in AttrsDirective ---------------------------------------------------------------------- File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 146, in genshi.template.directives.AttrsDirective Failed example: print((tmpl.generate(foo={'class': 'collapse'}))) Exception raised: Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 1328, in __run exec(compile(example.source, filename, "single", File "", line 1, in print((tmpl.generate(foo={'class': 'collapse'}))) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 565, in generate stream = self.stream File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 454, in stream self._prepare_self() File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 473, in _prepare_self self._stream = list(self._prepare(self._stream, inlined)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 490, in _prepare directive, substream = cls.attach(self, substream, value, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 82, in attach return cls(value, template, namespaces, *pos[1:]), stream File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 60, in __init__ self.expr = self._parse_expr(value, template, lineno, offset) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 108, in _parse_expr return expr and Expression(expr, template.filepath, lineno, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ---------------------------------------------------------------------- File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 150, in genshi.template.directives.AttrsDirective Failed example: print((tmpl.generate(foo=[('class', 'collapse')]))) Exception raised: Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 1328, in __run exec(compile(example.source, filename, "single", File "", line 1, in print((tmpl.generate(foo=[('class', 'collapse')]))) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 565, in generate stream = self.stream File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 454, in stream self._prepare_self() File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 473, in _prepare_self self._stream = list(self._prepare(self._stream, inlined)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 490, in _prepare directive, substream = cls.attach(self, substream, value, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 82, in attach return cls(value, template, namespaces, *pos[1:]), stream File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 60, in __init__ self.expr = self._parse_expr(value, template, lineno, offset) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 108, in _parse_expr return expr and Expression(expr, template.filepath, lineno, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ---------------------------------------------------------------------- File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 158, in genshi.template.directives.AttrsDirective Failed example: print((tmpl.generate(foo=None))) Exception raised: Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 1328, in __run exec(compile(example.source, filename, "single", File "", line 1, in print((tmpl.generate(foo=None))) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 565, in generate stream = self.stream File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 454, in stream self._prepare_self() File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 473, in _prepare_self self._stream = list(self._prepare(self._stream, inlined)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 490, in _prepare directive, substream = cls.attach(self, substream, value, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 82, in attach return cls(value, template, namespaces, *pos[1:]), stream File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 60, in __init__ self.expr = self._parse_expr(value, template, lineno, offset) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 108, in _parse_expr return expr and Expression(expr, template.filepath, lineno, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== FAIL: ChooseDirective (genshi.template.directives) Doctest: genshi.template.directives.ChooseDirective ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 2196, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for genshi.template.directives.ChooseDirective File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 550, in ChooseDirective ---------------------------------------------------------------------- File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 566, in genshi.template.directives.ChooseDirective Failed example: print((tmpl.generate())) Exception raised: Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 1328, in __run exec(compile(example.source, filename, "single", File "", line 1, in print((tmpl.generate())) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 565, in generate stream = self.stream File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 454, in stream self._prepare_self() File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 473, in _prepare_self self._stream = list(self._prepare(self._stream, inlined)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 496, in _prepare yield kind, (directives, list(substream)), pos File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 490, in _prepare directive, substream = cls.attach(self, substream, value, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 624, in attach return super(WhenDirective, cls).attach(template, stream, value, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 82, in attach return cls(value, template, namespaces, *pos[1:]), stream File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 617, in __init__ Directive.__init__(self, value, template, namespaces, lineno, offset) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 60, in __init__ self.expr = self._parse_expr(value, template, lineno, offset) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 108, in _parse_expr return expr and Expression(expr, template.filepath, lineno, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 464, in _compile new_source = ASTCodeGenerator(tree).code File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 43, in __init__ self.visit(tree) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 104, in visit_Expression return self.visit(node.body) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 521, in _f f(self, node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 650, in visit_Compare self.visit(node.left) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 90, in visit raise Exception('Unhandled node type %r' % type(node)) Exception: Unhandled node type ---------------------------------------------------------------------- File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 580, in genshi.template.directives.ChooseDirective Failed example: print((tmpl.generate())) Exception raised: Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 1328, in __run exec(compile(example.source, filename, "single", File "", line 1, in print((tmpl.generate())) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 565, in generate stream = self.stream File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 454, in stream self._prepare_self() File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 473, in _prepare_self self._stream = list(self._prepare(self._stream, inlined)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 490, in _prepare directive, substream = cls.attach(self, substream, value, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 595, in attach return super(ChooseDirective, cls).attach(template, stream, value, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 82, in attach return cls(value, template, namespaces, *pos[1:]), stream File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 60, in __init__ self.expr = self._parse_expr(value, template, lineno, offset) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 108, in _parse_expr return expr and Expression(expr, template.filepath, lineno, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 464, in _compile new_source = ASTCodeGenerator(tree).code File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 43, in __init__ self.visit(tree) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 104, in visit_Expression return self.visit(node.body) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 90, in visit raise Exception('Unhandled node type %r' % type(node)) Exception: Unhandled node type ====================================================================== FAIL: ContentDirective (genshi.template.directives) Doctest: genshi.template.directives.ContentDirective ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 2196, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for genshi.template.directives.ContentDirective File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 188, in ContentDirective ---------------------------------------------------------------------- File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 198, in genshi.template.directives.ContentDirective Failed example: print((tmpl.generate(bar='Bye'))) Exception raised: Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 1328, in __run exec(compile(example.source, filename, "single", File "", line 1, in print((tmpl.generate(bar='Bye'))) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 565, in generate stream = self.stream File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 454, in stream self._prepare_self() File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 473, in _prepare_self self._stream = list(self._prepare(self._stream, inlined)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 490, in _prepare directive, substream = cls.attach(self, substream, value, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 211, in attach expr = cls._parse_expr(value, template, *pos[1:]) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 108, in _parse_expr return expr and Expression(expr, template.filepath, lineno, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== FAIL: DefDirective (genshi.template.directives) Doctest: genshi.template.directives.DefDirective ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 2196, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for genshi.template.directives.DefDirective File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 215, in DefDirective ---------------------------------------------------------------------- File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 227, in genshi.template.directives.DefDirective Failed example: tmpl = MarkupTemplate('''

${greeting}, ${name}!

${echo('Hi', name='you')}
''') Exception raised: Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 1328, in __run exec(compile(example.source, filename, "single", File "", line 1, in tmpl = MarkupTemplate('''
File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ---------------------------------------------------------------------- File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 233, in genshi.template.directives.DefDirective Failed example: print((tmpl.generate(bar='Bye'))) Exception raised: Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 1328, in __run exec(compile(example.source, filename, "single", File "", line 1, in print((tmpl.generate(bar='Bye'))) NameError: name 'tmpl' is not defined ---------------------------------------------------------------------- File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 243, in genshi.template.directives.DefDirective Failed example: tmpl = MarkupTemplate('''

Hello, world!

${helloworld()}
''') Exception raised: Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 1328, in __run exec(compile(example.source, filename, "single", File "", line 1, in tmpl = MarkupTemplate('''
File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ---------------------------------------------------------------------- File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 249, in genshi.template.directives.DefDirective Failed example: print((tmpl.generate(bar='Bye'))) Exception raised: Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 1328, in __run exec(compile(example.source, filename, "single", File "", line 1, in print((tmpl.generate(bar='Bye'))) NameError: name 'tmpl' is not defined ====================================================================== FAIL: ForDirective (genshi.template.directives) Doctest: genshi.template.directives.ForDirective ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 2196, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for genshi.template.directives.ForDirective File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 333, in ForDirective ---------------------------------------------------------------------- File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 338, in genshi.template.directives.ForDirective Failed example: tmpl = MarkupTemplate('''
  • ${item}
''') Exception raised: Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 1328, in __run exec(compile(example.source, filename, "single", File "", line 1, in tmpl = MarkupTemplate('''
    File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ---------------------------------------------------------------------- File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 341, in genshi.template.directives.ForDirective Failed example: print((tmpl.generate(items=[1, 2, 3]))) Exception raised: Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 1328, in __run exec(compile(example.source, filename, "single", File "", line 1, in print((tmpl.generate(items=[1, 2, 3]))) NameError: name 'tmpl' is not defined ====================================================================== FAIL: IfDirective (genshi.template.directives) Doctest: genshi.template.directives.IfDirective ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 2196, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for genshi.template.directives.IfDirective File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 385, in IfDirective ---------------------------------------------------------------------- File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 390, in genshi.template.directives.IfDirective Failed example: tmpl = MarkupTemplate('''
    ${bar}
    ''') Exception raised: Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 1328, in __run exec(compile(example.source, filename, "single", File "", line 1, in tmpl = MarkupTemplate('''
    File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ---------------------------------------------------------------------- File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 393, in genshi.template.directives.IfDirective Failed example: print((tmpl.generate(foo=True, bar='Hello'))) Exception raised: Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 1328, in __run exec(compile(example.source, filename, "single", File "", line 1, in print((tmpl.generate(foo=True, bar='Hello'))) NameError: name 'tmpl' is not defined ====================================================================== FAIL: MatchDirective (genshi.template.directives) Doctest: genshi.template.directives.MatchDirective ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 2196, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for genshi.template.directives.MatchDirective File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 414, in MatchDirective ---------------------------------------------------------------------- File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 418, in genshi.template.directives.MatchDirective Failed example: tmpl = MarkupTemplate('''
    Hello ${select('@name')}
    ''') Exception raised: Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 1328, in __run exec(compile(example.source, filename, "single", File "", line 1, in tmpl = MarkupTemplate('''
    File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ---------------------------------------------------------------------- File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 424, in genshi.template.directives.MatchDirective Failed example: print((tmpl.generate())) Exception raised: Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 1328, in __run exec(compile(example.source, filename, "single", File "", line 1, in print((tmpl.generate())) NameError: name 'tmpl' is not defined ====================================================================== FAIL: ReplaceDirective (genshi.template.directives) Doctest: genshi.template.directives.ReplaceDirective ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 2196, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for genshi.template.directives.ReplaceDirective File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 464, in ReplaceDirective ---------------------------------------------------------------------- File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 474, in genshi.template.directives.ReplaceDirective Failed example: print((tmpl.generate(bar='Bye'))) Exception raised: Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 1328, in __run exec(compile(example.source, filename, "single", File "", line 1, in print((tmpl.generate(bar='Bye'))) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 565, in generate stream = self.stream File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 454, in stream self._prepare_self() File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 473, in _prepare_self self._stream = list(self._prepare(self._stream, inlined)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 490, in _prepare directive, substream = cls.attach(self, substream, value, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 499, in attach expr = cls._parse_expr(value, template, *pos[1:]) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 108, in _parse_expr return expr and Expression(expr, template.filepath, lineno, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ---------------------------------------------------------------------- File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 485, in genshi.template.directives.ReplaceDirective Failed example: print((tmpl.generate(bar='Bye'))) Exception raised: Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 1328, in __run exec(compile(example.source, filename, "single", File "", line 1, in print((tmpl.generate(bar='Bye'))) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 565, in generate stream = self.stream File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 454, in stream self._prepare_self() File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 473, in _prepare_self self._stream = list(self._prepare(self._stream, inlined)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 490, in _prepare directive, substream = cls.attach(self, substream, value, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 211, in attach expr = cls._parse_expr(value, template, *pos[1:]) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 108, in _parse_expr return expr and Expression(expr, template.filepath, lineno, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== FAIL: StripDirective (genshi.template.directives) Doctest: genshi.template.directives.StripDirective ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 2196, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for genshi.template.directives.StripDirective File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 503, in StripDirective ---------------------------------------------------------------------- File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 513, in genshi.template.directives.StripDirective Failed example: print((tmpl.generate())) Exception raised: Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 1328, in __run exec(compile(example.source, filename, "single", File "", line 1, in print((tmpl.generate())) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 565, in generate stream = self.stream File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 454, in stream self._prepare_self() File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 473, in _prepare_self self._stream = list(self._prepare(self._stream, inlined)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 490, in _prepare directive, substream = cls.attach(self, substream, value, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 82, in attach return cls(value, template, namespaces, *pos[1:]), stream File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 60, in __init__ self.expr = self._parse_expr(value, template, lineno, offset) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 108, in _parse_expr return expr and Expression(expr, template.filepath, lineno, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 464, in _compile new_source = ASTCodeGenerator(tree).code File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 43, in __init__ self.visit(tree) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 104, in visit_Expression return self.visit(node.body) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 90, in visit raise Exception('Unhandled node type %r' % type(node)) Exception: Unhandled node type ---------------------------------------------------------------------- File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 523, in genshi.template.directives.StripDirective Failed example: tmpl = MarkupTemplate('''
    ${what}
    ${echo('foo')}
    ''') Exception raised: Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 1328, in __run exec(compile(example.source, filename, "single", File "", line 1, in tmpl = MarkupTemplate('''
    File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ---------------------------------------------------------------------- File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 529, in genshi.template.directives.StripDirective Failed example: print((tmpl.generate())) Exception raised: Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 1328, in __run exec(compile(example.source, filename, "single", File "", line 1, in print((tmpl.generate())) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 565, in generate stream = self.stream File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 454, in stream self._prepare_self() File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 473, in _prepare_self self._stream = list(self._prepare(self._stream, inlined)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 490, in _prepare directive, substream = cls.attach(self, substream, value, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 82, in attach return cls(value, template, namespaces, *pos[1:]), stream File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 60, in __init__ self.expr = self._parse_expr(value, template, lineno, offset) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 108, in _parse_expr return expr and Expression(expr, template.filepath, lineno, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 464, in _compile new_source = ASTCodeGenerator(tree).code File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 43, in __init__ self.visit(tree) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 91, in visit ret = visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 104, in visit_Expression return self.visit(node.body) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 90, in visit raise Exception('Unhandled node type %r' % type(node)) Exception: Unhandled node type ====================================================================== FAIL: WithDirective (genshi.template.directives) Doctest: genshi.template.directives.WithDirective ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 2196, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for genshi.template.directives.WithDirective File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 679, in WithDirective ---------------------------------------------------------------------- File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 684, in genshi.template.directives.WithDirective Failed example: tmpl = MarkupTemplate('''
    $x $y $z
    ''') Exception raised: Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 1328, in __run exec(compile(example.source, filename, "single", File "", line 1, in tmpl = MarkupTemplate('''
    File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ---------------------------------------------------------------------- File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/directives.py", line 687, in genshi.template.directives.WithDirective Failed example: print((tmpl.generate(x=42))) Exception raised: Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 1328, in __run exec(compile(example.source, filename, "single", File "", line 1, in print((tmpl.generate(x=42))) NameError: name 'tmpl' is not defined ====================================================================== FAIL: Expression (genshi.template.eval) Doctest: genshi.template.eval.Expression ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 2196, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for genshi.template.eval.Expression File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 126, in Expression ---------------------------------------------------------------------- File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 130, in genshi.template.eval.Expression Failed example: Expression('test').evaluate(data) Exception raised: Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 1328, in __run exec(compile(example.source, filename, "single", File "", line 1, in Expression('test').evaluate(data) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ---------------------------------------------------------------------- File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 133, in genshi.template.eval.Expression Failed example: Expression('items[0]').evaluate(data) Exception raised: Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 1328, in __run exec(compile(example.source, filename, "single", File "", line 1, in Expression('items[0]').evaluate(data) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 645, in visit_Subscript self.visit(node.value), File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ---------------------------------------------------------------------- File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 135, in genshi.template.eval.Expression Failed example: Expression('items[-1]').evaluate(data) Exception raised: Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 1328, in __run exec(compile(example.source, filename, "single", File "", line 1, in Expression('items[-1]').evaluate(data) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 645, in visit_Subscript self.visit(node.value), File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ---------------------------------------------------------------------- File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 137, in genshi.template.eval.Expression Failed example: Expression('dict["some"]').evaluate(data) Exception raised: Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 1328, in __run exec(compile(example.source, filename, "single", File "", line 1, in Expression('dict["some"]').evaluate(data) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 645, in visit_Subscript self.visit(node.value), File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ---------------------------------------------------------------------- File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 143, in genshi.template.eval.Expression Failed example: Expression('dict.some').evaluate(data) Exception raised: Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 1328, in __run exec(compile(example.source, filename, "single", File "", line 1, in Expression('dict.some').evaluate(data) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 635, in visit_Attribute args = [self.visit(node.value), _new(_ast.Str, node.attr)] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ---------------------------------------------------------------------- File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 152, in genshi.template.eval.Expression Failed example: Expression('mine.myattr').evaluate(data) Exception raised: Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 1328, in __run exec(compile(example.source, filename, "single", File "", line 1, in Expression('mine.myattr').evaluate(data) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 635, in visit_Attribute args = [self.visit(node.value), _new(_ast.Str, node.attr)] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ---------------------------------------------------------------------- File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 154, in genshi.template.eval.Expression Failed example: Expression('mine["myattr"]').evaluate(data) Exception raised: Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 1328, in __run exec(compile(example.source, filename, "single", File "", line 1, in Expression('mine["myattr"]').evaluate(data) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 645, in visit_Subscript self.visit(node.value), File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ---------------------------------------------------------------------- File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 156, in genshi.template.eval.Expression Failed example: Expression('mine[key]').evaluate(data) Exception raised: Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 1328, in __run exec(compile(example.source, filename, "single", File "", line 1, in Expression('mine[key]').evaluate(data) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 645, in visit_Subscript self.visit(node.value), File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ---------------------------------------------------------------------- File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 164, in genshi.template.eval.Expression Failed example: Expression('len(items)').evaluate(data) Exception raised: Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 1328, in __run exec(compile(example.source, filename, "single", File "", line 1, in Expression('len(items)').evaluate(data) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== FAIL: LenientLookup (genshi.template.eval) Doctest: genshi.template.eval.LenientLookup ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 2196, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for genshi.template.eval.LenientLookup File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 355, in LenientLookup ---------------------------------------------------------------------- File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 361, in genshi.template.eval.LenientLookup Failed example: expr = Expression('nothing', lookup='lenient') Exception raised: Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 1328, in __run exec(compile(example.source, filename, "single", File "", line 1, in expr = Expression('nothing', lookup='lenient') File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ---------------------------------------------------------------------- File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 362, in genshi.template.eval.LenientLookup Failed example: undef = expr.evaluate({}) Exception raised: Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 1328, in __run exec(compile(example.source, filename, "single", File "", line 1, in undef = expr.evaluate({}) NameError: name 'expr' is not defined ---------------------------------------------------------------------- File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 363, in genshi.template.eval.LenientLookup Failed example: undef Exception raised: Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 1328, in __run exec(compile(example.source, filename, "single", File "", line 1, in undef NameError: name 'undef' is not defined ---------------------------------------------------------------------- File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 369, in genshi.template.eval.LenientLookup Failed example: expr = Expression('something.nil', lookup='lenient') Exception raised: Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 1328, in __run exec(compile(example.source, filename, "single", File "", line 1, in expr = Expression('something.nil', lookup='lenient') File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 635, in visit_Attribute args = [self.visit(node.value), _new(_ast.Str, node.attr)] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ---------------------------------------------------------------------- File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 370, in genshi.template.eval.LenientLookup Failed example: expr.evaluate({'something': dict()}) Exception raised: Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 1328, in __run exec(compile(example.source, filename, "single", File "", line 1, in expr.evaluate({'something': dict()}) NameError: name 'expr' is not defined ====================================================================== FAIL: StrictLookup (genshi.template.eval) Doctest: genshi.template.eval.StrictLookup ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 2196, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for genshi.template.eval.StrictLookup File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 386, in StrictLookup ---------------------------------------------------------------------- File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 392, in genshi.template.eval.StrictLookup Failed example: expr = Expression('nothing', lookup='strict') Exception raised: Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 1328, in __run exec(compile(example.source, filename, "single", File "", line 1, in expr = Expression('nothing', lookup='strict') File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ---------------------------------------------------------------------- File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 393, in genshi.template.eval.StrictLookup Failed example: try: expr.evaluate({}) except UndefinedError as e: print(e.msg) Exception raised: Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 1328, in __run exec(compile(example.source, filename, "single", File "", line 2, in expr.evaluate({}) NameError: name 'expr' is not defined ---------------------------------------------------------------------- File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 402, in genshi.template.eval.StrictLookup Failed example: expr = Expression('something.nil', lookup='strict') Exception raised: Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 1328, in __run exec(compile(example.source, filename, "single", File "", line 1, in expr = Expression('something.nil', lookup='strict') File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 635, in visit_Attribute args = [self.visit(node.value), _new(_ast.Str, node.attr)] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ---------------------------------------------------------------------- File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 403, in genshi.template.eval.StrictLookup Failed example: try: expr.evaluate({'something': dict()}) except UndefinedError as e: print(e.msg) Exception raised: Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 1328, in __run exec(compile(example.source, filename, "single", File "", line 2, in expr.evaluate({'something': dict()}) NameError: name 'expr' is not defined ====================================================================== FAIL: Suite (genshi.template.eval) Doctest: genshi.template.eval.Suite ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 2196, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for genshi.template.eval.Suite File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 181, in Suite ---------------------------------------------------------------------- File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 185, in genshi.template.eval.Suite Failed example: Suite("foo = dict['some']").execute(data) Exception raised: Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 1328, in __run exec(compile(example.source, filename, "single", File "", line 1, in Suite("foo = dict['some']").execute(data) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in _clone value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 812, in value = [self.visit(x) for x in value] File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ---------------------------------------------------------------------- File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 186, in genshi.template.eval.Suite Failed example: data['foo'] Exception raised: Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 1328, in __run exec(compile(example.source, filename, "single", File "", line 1, in data['foo'] KeyError: 'foo' ====================================================================== FAIL: interpolate (genshi.template.interpolation) Doctest: genshi.template.interpolation.interpolate ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 2196, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for genshi.template.interpolation.interpolate File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 40, in interpolate ---------------------------------------------------------------------- File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 47, in genshi.template.interpolation.interpolate Failed example: for kind, data, pos in interpolate("hey ${foo}bar"): print(('%s %r' % (kind, data))) Exception raised: Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 1328, in __run exec(compile(example.source, filename, "single", File "", line 1, in for kind, data, pos in interpolate("hey ${foo}bar"): File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== FAIL: TemplateLoader (genshi.template.loader) Doctest: genshi.template.loader.TemplateLoader ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 2196, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for genshi.template.loader.TemplateLoader File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/loader.py", line 43, in TemplateLoader ---------------------------------------------------------------------- File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/loader.py", line 63, in genshi.template.loader.TemplateLoader Failed example: template = loader.load(os.path.basename(path)) Exception raised: Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 1328, in __run exec(compile(example.source, filename, "single", File "", line 1, in template = loader.load(os.path.basename(path)) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/loader.py", line 235, in load tmpl = self._instantiate(cls, fileobj, filepath, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/loader.py", line 272, in _instantiate return cls(fileobj, filepath=filepath, filename=filename, loader=self, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ---------------------------------------------------------------------- File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/loader.py", line 64, in genshi.template.loader.TemplateLoader Failed example: isinstance(template, MarkupTemplate) Exception raised: Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 1328, in __run exec(compile(example.source, filename, "single", File "", line 1, in isinstance(template, MarkupTemplate) NameError: name 'template' is not defined ---------------------------------------------------------------------- File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/loader.py", line 70, in genshi.template.loader.TemplateLoader Failed example: loader.load(os.path.basename(path)) is template Exception raised: Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 1328, in __run exec(compile(example.source, filename, "single", File "", line 1, in loader.load(os.path.basename(path)) is template File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/loader.py", line 235, in load tmpl = self._instantiate(cls, fileobj, filepath, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/loader.py", line 272, in _instantiate return cls(fileobj, filepath=filepath, filename=filename, loader=self, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ====================================================================== FAIL: MarkupTemplate (genshi.template.markup) Doctest: genshi.template.markup.MarkupTemplate ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 2196, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for genshi.template.markup.MarkupTemplate File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 33, in MarkupTemplate ---------------------------------------------------------------------- File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 36, in genshi.template.markup.MarkupTemplate Failed example: tmpl = MarkupTemplate('''
    • ${item}
    ''') Exception raised: Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 1328, in __run exec(compile(example.source, filename, "single", File "", line 1, in tmpl = MarkupTemplate('''
      File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 65, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 85, in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ---------------------------------------------------------------------- File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/markup.py", line 39, in genshi.template.markup.MarkupTemplate Failed example: print((tmpl.generate(items=[1, 2, 3]))) Exception raised: Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 1328, in __run exec(compile(example.source, filename, "single", File "", line 1, in print((tmpl.generate(items=[1, 2, 3]))) NameError: name 'tmpl' is not defined ====================================================================== FAIL: NewTextTemplate (genshi.template.text) Doctest: genshi.template.text.NewTextTemplate ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 2196, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for genshi.template.text.NewTextTemplate File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/text.py", line 43, in NewTextTemplate ---------------------------------------------------------------------- File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/text.py", line 56, in genshi.template.text.NewTextTemplate Failed example: tmpl = NewTextTemplate('''Dear $name, {# This is a comment #} We have the following items for you: {% for item in items %} * ${'Item %d' % item} {% end %} ''') Exception raised: Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 1328, in __run exec(compile(example.source, filename, "single", File "", line 1, in tmpl = NewTextTemplate('''Dear $name, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/text.py", line 137, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/text.py", line 181, in _parse for kind, data, pos in interpolate(text, self.filepath, lineno, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ---------------------------------------------------------------------- File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/text.py", line 64, in genshi.template.text.NewTextTemplate Failed example: print((tmpl.generate(name='Joe', items=[1, 2, 3]).render(encoding=None))) Exception raised: Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 1328, in __run exec(compile(example.source, filename, "single", File "", line 1, in print((tmpl.generate(name='Joe', items=[1, 2, 3]).render(encoding=None))) NameError: name 'tmpl' is not defined ---------------------------------------------------------------------- File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/text.py", line 81, in genshi.template.text.NewTextTemplate Failed example: tmpl = NewTextTemplate('''Dear $name, {# This is a comment #}\ We have the following items for you: {% for item in items %}\ * $item {% end %}\ ''') Exception raised: Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 1328, in __run exec(compile(example.source, filename, "single", File "", line 1, in tmpl = NewTextTemplate('''Dear $name, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/text.py", line 137, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/text.py", line 181, in _parse for kind, data, pos in interpolate(text, self.filepath, lineno, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ---------------------------------------------------------------------- File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/text.py", line 89, in genshi.template.text.NewTextTemplate Failed example: print((tmpl.generate(name='Joe', items=[1, 2, 3]).render(encoding=None))) Exception raised: Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 1328, in __run exec(compile(example.source, filename, "single", File "", line 1, in print((tmpl.generate(name='Joe', items=[1, 2, 3]).render(encoding=None))) NameError: name 'tmpl' is not defined ---------------------------------------------------------------------- File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/text.py", line 101, in genshi.template.text.NewTextTemplate Failed example: tmpl = NewTextTemplate('''Dear $name, \\{# This is a comment #} We have the following items for you: {% for item in items %}\ * $item {% end %}\ ''') Exception raised: Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 1328, in __run exec(compile(example.source, filename, "single", File "", line 1, in tmpl = NewTextTemplate('''Dear $name, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/text.py", line 137, in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/text.py", line 181, in _parse for kind, data, pos in interpolate(text, self.filepath, lineno, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ---------------------------------------------------------------------- File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/text.py", line 109, in genshi.template.text.NewTextTemplate Failed example: print((tmpl.generate(name='Joe', items=[1, 2, 3]).render(encoding=None))) Exception raised: Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 1328, in __run exec(compile(example.source, filename, "single", File "", line 1, in print((tmpl.generate(name='Joe', items=[1, 2, 3]).render(encoding=None))) NameError: name 'tmpl' is not defined ====================================================================== FAIL: OldTextTemplate (genshi.template.text) Doctest: genshi.template.text.OldTextTemplate ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 2196, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for genshi.template.text.OldTextTemplate File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/text.py", line 237, in OldTextTemplate ---------------------------------------------------------------------- File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/text.py", line 242, in genshi.template.text.OldTextTemplate Failed example: tmpl = OldTextTemplate('''Dear $name, We have the following items for you: #for item in items * $item #end All the best, Foobar''') Exception raised: Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 1328, in __run exec(compile(example.source, filename, "single", File "", line 1, in tmpl = OldTextTemplate('''Dear $name, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/base.py", line 418, in __init__ self._stream = self._parse(source, encoding) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/text.py", line 291, in _parse for kind, data, pos in interpolate(text, self.filepath, lineno, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/interpolation.py", line 77, in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 93, in __init__ self.code = _compile(node, self.source, mode=self.mode, File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 451, in _compile tree = xform().visit(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 816, in _clone value = self.visit(value) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/astutil.py", line 794, in visit return visitor(node) File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/eval.py", line 616, in visit_Name strarg = _new(_ast.Str, node.id) AttributeError: module '_ast' has no attribute 'Str' ---------------------------------------------------------------------- File "/<>/.pybuild/cpython3_3.8_genshi/build/genshi/template/text.py", line 251, in genshi.template.text.OldTextTemplate Failed example: print((tmpl.generate(name='Joe', items=[1, 2, 3]).render(encoding=None))) Exception raised: Traceback (most recent call last): File "/usr/lib/python3.8/doctest.py", line 1328, in __run exec(compile(example.source, filename, "single", File "", line 1, in print((tmpl.generate(name='Joe', items=[1, 2, 3]).render(encoding=None))) NameError: name 'tmpl' is not defined ---------------------------------------------------------------------- Ran 867 tests in 0.936s FAILED (failures=24, errors=309) Test failed: error: Test failed: E: pybuild pybuild:341: test: plugin distutils failed with: exit code=1: python3.8 setup.py test dh_auto_test: pybuild --test -i python{version} -p "3.8 3.7" returned exit code 13 make: *** [debian/rules:10: build-arch] Error 255 dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2 -------------------------------------------------------------------------------- Build finished at 20200105-1055 Finished -------- E: Build failure (dpkg-buildpackage died) +------------------------------------------------------------------------------+ | Cleanup | +------------------------------------------------------------------------------+ Purging /<> Not removing build depends: as requested +------------------------------------------------------------------------------+ | Summary | +------------------------------------------------------------------------------+ Build Architecture: ppc64el Build-Space: 7104 Build-Time: 36 Distribution: focal Fail-Stage: build Host Architecture: ppc64el Install-Time: 20 Job: genshi_0.7.1-5.dsc Machine Architecture: ppc64el Package: genshi Package-Time: 56 Source-Version: 0.7.1-5 Space: 7104 Status: attempted Version: 0.7.1-5 -------------------------------------------------------------------------------- Finished at 20200105-1055 Build needed 00:00:56, 7104k disc space RUN: /usr/share/launchpad-buildd/bin/in-target scan-for-processes --backend=chroot --series=focal --arch=ppc64el PACKAGEBUILD-18296707 Scanning for processes to kill in build PACKAGEBUILD-18296707