<86>Apr 5 08:43:39 userdel[76086]: delete user 'rooter' <86>Apr 5 08:43:39 userdel[76086]: removed group 'rooter' owned by 'rooter' <86>Apr 5 08:43:39 userdel[76086]: removed shadow group 'rooter' owned by 'rooter' <86>Apr 5 08:43:39 groupadd[76216]: group added to /etc/group: name=rooter, GID=693 <86>Apr 5 08:43:39 groupadd[76216]: group added to /etc/gshadow: name=rooter <86>Apr 5 08:43:39 groupadd[76216]: new group: name=rooter, GID=693 <86>Apr 5 08:43:39 useradd[76321]: new user: name=rooter, UID=693, GID=693, home=/root, shell=/bin/bash <86>Apr 5 08:43:39 userdel[76483]: delete user 'builder' <86>Apr 5 08:43:40 groupadd[77044]: group added to /etc/group: name=builder, GID=694 <86>Apr 5 08:43:40 groupadd[77044]: group added to /etc/gshadow: name=builder <86>Apr 5 08:43:40 groupadd[77044]: new group: name=builder, GID=694 <86>Apr 5 08:43:40 useradd[77158]: new user: name=builder, UID=694, GID=694, home=/usr/src, shell=/bin/bash <13>Apr 5 08:43:43 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>Apr 5 08:43:43 rpmi: libexpat-2.2.4-alt1 1503305345 installed <13>Apr 5 08:43:43 rpmi: libp11-kit-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed <13>Apr 5 08:43:43 rpmi: libtasn1-4.13-alt2 1521133850 installed <13>Apr 5 08:43:43 rpmi: rpm-macros-alternatives-0.5.0-alt1 sisyphus+221902.300.4.1 1550587121 installed <13>Apr 5 08:43:43 rpmi: alternatives-0.5.0-alt1 sisyphus+221902.300.4.1 1550587121 installed <13>Apr 5 08:43:43 rpmi: ca-certificates-2019.03.31-alt1 sisyphus+226302.100.1.1 1554055265 installed <13>Apr 5 08:43:43 rpmi: ca-trust-0.1.1-alt2 1515595785 installed <13>Apr 5 08:43:43 rpmi: p11-kit-trust-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed <13>Apr 5 08:43:43 rpmi: libcrypto1.1-1.1.1b-alt1 sisyphus+225327.200.2.1 1553099317 installed <13>Apr 5 08:43:43 rpmi: libssl1.1-1.1.1b-alt1 sisyphus+225327.200.2.1 1553099317 installed <13>Apr 5 08:43:43 rpmi: python3-3.6.8-alt1 sisyphus+220164.200.3.1 1548842636 installed <13>Apr 5 08:43:44 rpmi: python3-base-3.6.8-alt1 sisyphus+220164.200.3.1 1548842636 installed <13>Apr 5 08:43:44 rpmi: libpython3-3.6.8-alt1 sisyphus+220164.200.3.1 1548842636 installed <13>Apr 5 08:43:44 rpmi: tests-for-installed-python3-pkgs-0.1.13.1-alt2 1535450458 installed <13>Apr 5 08:43:44 rpmi: rpm-build-python3-0.1.13.1-alt2 1535450458 installed <13>Apr 5 08:43:44 rpmi: rpm-macros-sphinx-1:1.6.5-alt3 sisyphus.213215.100 1537280252 installed <13>Apr 5 08:43:53 rpmi: libwayland-client-1.17.0-alt1 sisyphus+225894.100.1.1 1553872805 installed <13>Apr 5 08:43:53 rpmi: perl-HTTP-Date-6.02-alt1 1348645274 installed <13>Apr 5 08:43:53 rpmi: libpng16-1.6.36-alt1 sisyphus+219478.100.1.1 1547633314 installed <13>Apr 5 08:43:53 rpmi: libsqlite3-3.27.2-alt1 sisyphus+225506.100.1.1 1553253705 installed <13>Apr 5 08:43:53 rpmi: perl-XML-NamespaceSupport-1.12-alt1 1491296348 installed <13>Apr 5 08:43:53 rpmi: libjpeg-2:1.5.1-alt1 1498218318 installed <13>Apr 5 08:43:53 rpmi: libidn2-2.1.1-alt1 sisyphus+221274.100.1.2 1549951289 installed <13>Apr 5 08:43:53 rpmi: libtcl-8.6.8-alt3 sisyphus+225830.100.1.1 1553782956 installed <13>Apr 5 08:43:53 rpmi: python-module-wcwidth-0.1.7-alt2.1 1517942379 installed <13>Apr 5 08:43:53 rpmi: libopenblas-0.2.20-alt1 1527005646 installed <13>Apr 5 08:43:53 rpmi: liblcms2-2.9-alt1 1516411892 installed <13>Apr 5 08:43:53 rpmi: libfribidi-1.0.5-alt1 1532424345 installed <13>Apr 5 08:43:53 rpmi: libglvnd-7:1.1.1-alt1 sisyphus+224993.100.4.1 1552634542 installed <13>Apr 5 08:43:53 rpmi: libwayland-server-1.17.0-alt1 sisyphus+225894.100.1.1 1553872805 installed <13>Apr 5 08:43:53 rpmi: libev4-4.24-alt1 1490615355 installed <13>Apr 5 08:43:53 rpmi: python-module-enum34-1.1.6-alt3 1527251693 installed <13>Apr 5 08:43:53 rpmi: perl-LWP-MediaTypes-6.04-alt1 sisyphus+225468.100.1.1 1553186684 installed <13>Apr 5 08:43:53 rpmi: perl-Compress-Raw-Zlib-2.086-alt1 sisyphus+226395.100.1.2 1554269783 installed <13>Apr 5 08:43:53 rpmi: perl-libnet-1:3.11-alt1 1511423541 installed <13>Apr 5 08:43:53 rpmi: perl-XML-SAX-Base-1.09-alt1 1494364363 installed <13>Apr 5 08:43:53 rpmi: libnettle6-3.4.1-alt1 sisyphus.217427.100 1544107917 installed <13>Apr 5 08:43:53 rpmi: libICE-1.0.9-alt1 1409902721 installed <13>Apr 5 08:43:53 rpmi: libSM-1.2.3-alt1 sisyphus.215747.100 1540812795 installed <13>Apr 5 08:43:53 rpmi: libhogweed4-3.4.1-alt1 sisyphus.217427.100 1544107917 installed <13>Apr 5 08:43:53 rpmi: libgnutls30-3.6.7-alt1 sisyphus+225829.100.1.1 1553782738 installed <13>Apr 5 08:43:53 rpmi: libev-devel-4.24-alt1 1490615355 installed <13>Apr 5 08:43:53 rpmi: tcl-8.6.8-alt3 sisyphus+225830.100.1.1 1553782956 installed <13>Apr 5 08:43:54 rpmi: libjasper-2.0.14-alt1 1530105217 installed <13>Apr 5 08:43:54 rpmi: libtiff5-4.0.3-alt1 1348347501 installed <13>Apr 5 08:43:54 rpmi: perl-File-Listing-6.04-alt1 1329758996 installed <13>Apr 5 08:43:54 rpmi: libwayland-cursor-1.17.0-alt1 sisyphus+225894.100.1.1 1553872805 installed <13>Apr 5 08:43:54 rpmi: python3-module-zope.interface-4.5.0-alt1.qa1 sisyphus.214938.100 1539939473 installed <13>Apr 5 08:43:54 rpmi: python3-module-z3c-3.0.0-alt3 sisyphus+220440.100.1.1 1549119447 installed <13>Apr 5 08:43:54 rpmi: python-module-OpenGL_accelerate-3.1.1a1-alt2 sisyphus+224191.100.1.1 1552144713 installed <13>Apr 5 08:43:54 rpmi: python-module-xstatic-socialshareprivacy-1.4.1-alt3.1 1517961453 installed <13>Apr 5 08:43:54 rpmi: python-module-xstatic-term.js-0.0.7.0-alt1.1 1517962522 installed <13>Apr 5 08:43:54 rpmi: python-module-imagesize-0.7.1-alt1 1461387704 installed <13>Apr 5 08:43:54 rpmi: python-sphinx-objects.inv-1:2.3.8.20190401-alt1 sisyphus+226431.100.1.3 1554398068 installed <13>Apr 5 08:43:54 rpmi: libxapian-1.4.5-alt3 sisyphus+222778.100.1.1 1551144773 installed <13>Apr 5 08:43:54 rpmi: python-module-google-0.4.2-alt2.1 1517733343 installed <13>Apr 5 08:43:54 rpmi: python-module-mistune-0.8.3-alt1 1535266201 installed <13>Apr 5 08:43:54 rpmi: python-module-kiwisolver-0.1.3-alt1.git20140712.1 1517774364 installed <13>Apr 5 08:43:54 rpmi: python-module-subprocess32-3.2.7-alt1.1 1517926307 installed <13>Apr 5 08:43:54 rpmi: libgtk+2-locales-2.24.32-alt2 1518699309 installed <13>Apr 5 08:43:54 rpmi: libnumpy-1:1.15.4-alt1 sisyphus+224328.100.1.2 1552246396 installed <13>Apr 5 08:43:54 rpmi: python-module-iniconfig-1.0.0-alt1 sisyphus+225153.100.1.1 1552826442 installed <13>Apr 5 08:43:54 rpmi: python-module-apipkg-1.5-alt1 1531926894 installed <13>Apr 5 08:43:54 rpmi: libxblas-1.0.248-alt1.2 sisyphus+225824.100.1.1 1553774844 installed <13>Apr 5 08:43:54 rpmi: libquadmath0-8.3.1-alt2 sisyphus+224979.100.1.1 1552540396 installed <13>Apr 5 08:43:54 rpmi: libgfortran5-8.3.1-alt2 sisyphus+224979.100.1.1 1552540396 installed <13>Apr 5 08:43:54 rpmi: liblapack-1:3.8.0-alt3 sisyphus+221521.100.1.1 1550134903 installed <13>Apr 5 08:43:54 rpmi: libxkbcommon-0.8.4-alt1 sisyphus+222759.100.1.1 1551009799 installed <13>Apr 5 08:43:54 rpmi: libepoxy-1.5.3-alt1 sisyphus.214119.100 1538723829 installed <13>Apr 5 08:43:54 rpmi: libusb-1.0.22-alt1 1525452055 installed <13>Apr 5 08:43:54 rpmi: libgudev-1:232-alt3 1523738518 installed <13>Apr 5 08:43:54 rpmi: udev-rules-1:241-alt4 sisyphus+226361.200.3.1 1554170380 installed <13>Apr 5 08:43:54 rpmi: libdatrie-0.2.9-alt1_6 1511686676 installed <13>Apr 5 08:43:54 rpmi: libthai-0.1.28-alt1_1 sisyphus+226107.100.1.1 1554123079 installed <13>Apr 5 08:43:54 rpmi: libpixman-3:0.38.0-alt1 sisyphus+221327.100.1.1 1549959657 installed <13>Apr 5 08:43:54 rpmi: libxshmfence-1.3-alt1 sisyphus+223149.1000.2.1 1551268571 installed <13>Apr 5 08:43:54 rpmi: libpciaccess-1:0.14-alt1 1528969252 installed <13>Apr 5 08:43:54 rpmi: libdrm-1:2.4.97-alt1 sisyphus+220483.100.1.1 1549270242 installed <13>Apr 5 08:43:54 rpmi: libgbm-4:19.0.1-alt1 sisyphus+225820.100.1.1 1553767902 installed <13>Apr 5 08:43:55 rpmi: pytz-zoneinfo-1:2016.10-alt1 1484291011 installed <13>Apr 5 08:43:55 rpmi: publicsuffix-list-dafsa-20190329-alt1 sisyphus+226347.100.1.2 1554127434 installed <13>Apr 5 08:43:55 rpmi: libpsl-0.20.2-alt2 sisyphus+222635.100.1.1 1550951841 installed <13>Apr 5 08:43:55 rpmi: libnghttp2-1.34.0-alt1 sisyphus+222625.100.1.1 1550947259 installed <13>Apr 5 08:43:55 rpmi: libbrotlicommon-1.0.7-alt1 sisyphus.215491.100 1540428597 installed <13>Apr 5 08:43:55 rpmi: libbrotlidec-1.0.7-alt1 sisyphus.215491.100 1540428597 installed <13>Apr 5 08:43:55 rpmi: python-module-backports_abc-0.5-alt2 1496066733 installed <13>Apr 5 08:43:55 rpmi: python-module-ordereddict-1.1-alt1.1 1321445242 installed <13>Apr 5 08:43:55 rpmi: python-module-certifi-2016.9.26-alt1 1484206868 installed <13>Apr 5 08:43:55 rpmi: python-module-z3c-3.0.0-alt3 sisyphus+220440.100.1.1 1549119447 installed <13>Apr 5 08:43:55 rpmi: libcares-1.15.0-alt1 sisyphus+222893.100.1.1 1551200747 installed <13>Apr 5 08:43:55 rpmi: libzeromq-4.2.3-alt1 1513846894 installed <13>Apr 5 08:43:55 rpmi: python-module-simplegeneric-0.8.1-alt1.1.1.1 1517908272 installed <13>Apr 5 08:43:55 rpmi: icon-theme-hicolor-0.17-alt1 1505715846 installed <13>Apr 5 08:43:55 rpmi: perl-Try-Tiny-0.30-alt1 1514318058 installed <13>Apr 5 08:43:55 rpmi: perl-IO-Socket-IP-0.39-alt1 1494508514 installed <13>Apr 5 08:43:55 rpmi: perl-Compress-Raw-Bzip2-2.086-alt1 sisyphus+226394.100.1.2 1554269409 installed <13>Apr 5 08:43:55 rpmi: perl-HTML-Tagset-3.20-alt2 1317725093 installed <13>Apr 5 08:43:55 rpmi: perl-Term-ANSIColor-4.06-alt1 1479407083 installed <13>Apr 5 08:43:55 rpmi: perl-Data-Dump-1.23-alt1 1444601978 installed <13>Apr 5 08:43:55 rpmi: perl-Filter-1.59-alt1.1 sisyphus+219907.400.1.1 1548343389 installed <13>Apr 5 08:43:55 rpmi: perl-Encode-3.01-alt1 sisyphus+224923.100.1.1 1552474122 installed <13>Apr 5 08:43:55 rpmi: perl-URI-1.76-alt1 sisyphus+220243.100.1.1 1548863244 installed <13>Apr 5 08:43:55 rpmi: perl-IO-Compress-2.086-alt1 sisyphus+226399.100.2.1 1554270186 installed <13>Apr 5 08:43:55 rpmi: perl-Net-HTTP-6.18-alt1 1526560501 installed <13>Apr 5 08:43:55 rpmi: perl-HTML-Parser-3.72-alt1.2 sisyphus+219907.600.1.1 1548343581 installed <13>Apr 5 08:43:55 rpmi: perl-WWW-RobotRules-6.02-alt1 1329756211 installed <13>Apr 5 08:43:55 rpmi: perl-Encode-Locale-1.05-alt1 1444608613 installed <13>Apr 5 08:43:55 rpmi: perl-IO-HTML-1.001-alt1 1404821752 installed <13>Apr 5 08:43:55 rpmi: perl-HTTP-Message-6.18-alt1 1528288416 installed <13>Apr 5 08:43:55 rpmi: perl-HTTP-Cookies-6.04-alt1 1504116575 installed <13>Apr 5 08:43:55 rpmi: perl-HTTP-Negotiate-6.01-alt1 1329760563 installed <13>Apr 5 08:43:55 rpmi: perl-libwww-6.38-alt1 sisyphus+225751.100.1.1 1553679612 installed <13>Apr 5 08:43:55 rpmi: perl-XML-LibXML-2.0134-alt1 sisyphus+221347.100.1.1 1549969058 installed <13>Apr 5 08:43:55 rpmi: perl-XML-SAX-1.00-alt1 1519094959 installed <13>Apr 5 08:43:55 rpmi: perl-XML-Simple-2.25-alt1 1521437714 installed <13>Apr 5 08:43:55 rpmi: icon-naming-utils-0.8.90-alt1 1236573102 installed <13>Apr 5 08:43:56 rpmi: icon-theme-adwaita-3.32.0-alt1 sisyphus+225063.1600.1.1 1552933594 installed <13>Apr 5 08:43:56 rpmi: libgdk-pixbuf-locales-2.38.1-alt1 sisyphus+223283.100.1.1 1551374215 installed <13>Apr 5 08:43:56 rpmi: libproxy-0.4.15-alt2 sisyphus+222634.100.1.1 1550954627 installed <13>Apr 5 08:43:56 rpmi: libatk-locales-2.32.0-alt1 sisyphus+225059.600.3.2 1552845198 installed <13>Apr 5 08:43:56 rpmi: libatk-2.32.0-alt1 sisyphus+225059.600.3.2 1552845362 installed <13>Apr 5 08:43:56 rpmi: shared-mime-info-1.12-alt1 sisyphus+219597.100.2.2 1548057005 installed <13>Apr 5 08:43:56 rpmi: gsettings-desktop-schemas-data-3.32.0-alt1 sisyphus+225059.300.3.2 1552843929 installed <13>Apr 5 08:43:56 rpmi: libgio-2.60.0-alt1 sisyphus+225059.100.3.2 1552843618 installed <13>Apr 5 08:43:56 rpmi: gsettings-desktop-schemas-3.32.0-alt1 sisyphus+225059.300.3.2 1552843980 installed <13>Apr 5 08:43:56 rpmi: gobject-introspection-1.60.0-alt1 sisyphus+225059.200.3.2 1552843902 installed <13>Apr 5 08:43:56 rpmi: libgdk-pixbuf-2.38.1-alt1 sisyphus+223283.100.1.1 1551374252 installed <13>Apr 5 08:43:56 rpmi: gtk-update-icon-cache-3.24.7-alt1 sisyphus+225059.1000.3.2 1552845896 installed <13>Apr 5 08:43:56 rpmi: gobject-introspection-x11-1.60.0-alt1 sisyphus+225059.200.3.2 1552843902 installed <13>Apr 5 08:43:56 rpmi: libgusb-0.3.0-alt1 1518891735 installed <13>Apr 5 08:43:56 rpmi: libcolord-1.4.4-alt1 sisyphus+224111.100.1.1 1552060572 installed <13>Apr 5 08:43:56 rpmi: libgdk-pixbuf-gir-2.38.1-alt1 sisyphus+223283.100.1.1 1551374252 installed <13>Apr 5 08:43:56 rpmi: libatk-gir-2.32.0-alt1 sisyphus+225059.600.3.2 1552845362 installed <13>Apr 5 08:43:56 rpmi: glib-networking-2.60.1-alt1 sisyphus+226374.100.1.2 1554259704 installed <13>Apr 5 08:43:56 rpmi: libdconf-0.32.0-alt1 sisyphus+225059.1100.3.2 1552846106 installed <13>Apr 5 08:43:56 rpmi: libjson-glib-1.4.4-alt1 sisyphus.213175.100 1537249589 installed <13>Apr 5 08:43:56 rpmi: liblz4-1:1.8.3-alt2 sisyphus+221902.4200.4.1 1550599659 installed <13>Apr 5 08:43:56 rpmi: libgpg-error-1.36-alt1 sisyphus+225621.300.1.1 1553521082 installed <13>Apr 5 08:43:56 rpmi: libgcrypt20-1.8.4-alt1 sisyphus+225621.500.1.1 1553521735 installed <13>Apr 5 08:43:56 rpmi: libsystemd-1:241-alt4 sisyphus+226361.200.3.1 1554170427 installed <13>Apr 5 08:43:56 rpmi: libdbus-1.12.12-alt2 sisyphus+221234.100.1.2 1549918047 installed <13>Apr 5 08:43:56 rpmi: dbus-tools-1.12.12-alt2 sisyphus+221234.100.1.2 1549918047 installed <86>Apr 5 08:43:56 groupadd[4796]: group added to /etc/group: name=messagebus, GID=499 <86>Apr 5 08:43:56 groupadd[4796]: group added to /etc/gshadow: name=messagebus <86>Apr 5 08:43:56 groupadd[4796]: new group: name=messagebus, GID=499 <86>Apr 5 08:43:56 useradd[4877]: new user: name=messagebus, UID=499, GID=499, home=/run/dbus, shell=/dev/null <13>Apr 5 08:43:56 rpmi: dbus-1.12.12-alt2 sisyphus+221234.100.1.2 1549918047 installed <13>Apr 5 08:43:56 rpmi: dconf-0.32.0-alt1 sisyphus+225059.1100.3.2 1552846106 installed <13>Apr 5 08:43:56 rpmi: libgtk+3-schemas-3.24.7-alt1 sisyphus+225059.1000.3.2 1552845705 installed <13>Apr 5 08:43:57 rpmi: libavahi-0.6.32-alt1 1500485702 installed <13>Apr 5 08:43:57 rpmi: libcups-2.2.11-alt1 sisyphus+225793.100.1.1 1553701176 installed <13>Apr 5 08:43:57 rpmi: libpolkit-0.115-alt5 sisyphus.219065.100 1547027030 installed <86>Apr 5 08:43:57 groupadd[6104]: group added to /etc/group: name=colord, GID=498 <86>Apr 5 08:43:57 groupadd[6104]: group added to /etc/gshadow: name=colord <86>Apr 5 08:43:57 groupadd[6104]: new group: name=colord, GID=498 <86>Apr 5 08:43:57 useradd[6173]: new user: name=colord, UID=498, GID=498, home=/var/colord, shell=/dev/null <13>Apr 5 08:43:57 rpmi: colord-1.4.4-alt1 sisyphus+224111.100.1.1 1552060572 installed <13>Apr 5 08:43:57 rpmi: libxslt-1.1.32-alt2 1517429984 installed <13>Apr 5 08:43:57 rpmi: libgraphite2-1.3.13-alt1 sisyphus.218545.100 1545686511 installed <13>Apr 5 08:43:57 rpmi: libharfbuzz-2.2.0-alt1 sisyphus.218134.500 1545261518 installed <13>Apr 5 08:43:57 rpmi: libfreetype-2.10.0-alt1 sisyphus+225205.100.1.2 1552930259 installed <13>Apr 5 08:43:58 rpmi: fontconfig-2.13.1-alt1 sisyphus.215917.100 1540973886 installed Updating fonts cache: <29>Apr 5 08:43:59 fontconfig: Updating fonts cache: succeeded [ DONE ] <13>Apr 5 08:43:59 rpmi: libX11-locales-3:1.6.7-alt1 sisyphus.214413.200 1539171080 installed <13>Apr 5 08:43:59 rpmi: libXdmcp-1.1.3-alt1 sisyphus+225206.600.1.2 1552949353 installed <13>Apr 5 08:43:59 rpmi: libXau-1.0.9-alt1 sisyphus+223149.200.2.1 1551268152 installed <13>Apr 5 08:43:59 rpmi: libxcb-1.13.1-alt1 sisyphus.214413.100 1539170896 installed <13>Apr 5 08:43:59 rpmi: libX11-3:1.6.7-alt1 sisyphus.214413.200 1539171143 installed <13>Apr 5 08:43:59 rpmi: libXext-1.3.4-alt1 sisyphus+225206.700.1.2 1552949429 installed <13>Apr 5 08:43:59 rpmi: libXrender-0.9.8-alt1 1371312112 installed <13>Apr 5 08:43:59 rpmi: libXfixes-5.0.3-alt1 sisyphus.216396.300 1542022162 installed <13>Apr 5 08:43:59 rpmi: libXdamage-1.1.5-alt1 sisyphus+225206.500.1.2 1552949286 installed <13>Apr 5 08:43:59 rpmi: libXcursor-1.2.0-alt1 sisyphus+225206.400.1.2 1552949218 installed <13>Apr 5 08:43:59 rpmi: libXft-2.3.3-alt1 sisyphus+225206.1000.3.2 1552987708 installed <13>Apr 5 08:43:59 rpmi: libtk-8.6.8-alt2 sisyphus+225680.100.1.1 1553595195 installed <13>Apr 5 08:43:59 rpmi: libXrandr-1.5.2-alt1 sisyphus+225206.1300.1.2 1552949710 installed <13>Apr 5 08:43:59 rpmi: libXi-1.7.9-alt2 sisyphus+226377.100.1.2 1554260260 installed <13>Apr 5 08:43:59 rpmi: libXinerama-1.1.4-alt1 sisyphus+223149.300.2.1 1551268216 installed <13>Apr 5 08:43:59 rpmi: libat-spi2-core-2.32.0-alt1 sisyphus+225059.500.3.2 1552845273 installed <13>Apr 5 08:43:59 rpmi: libXcomposite-0.4.5-alt1 sisyphus+225206.300.1.2 1552949137 installed <13>Apr 5 08:43:59 rpmi: tk-8.6.8-alt2 sisyphus+225680.100.1.1 1553595195 installed <13>Apr 5 08:43:59 rpmi: libXtst-1.2.2-alt1 1369984893 installed <13>Apr 5 08:43:59 rpmi: libXxf86vm-1.1.4-alt2 1527672187 installed <13>Apr 5 08:43:59 rpmi: libGLX-mesa-4:19.0.1-alt1 sisyphus+225820.100.1.1 1553767902 installed <13>Apr 5 08:43:59 rpmi: libEGL-mesa-4:19.0.1-alt1 sisyphus+225820.100.1.1 1553767902 installed <13>Apr 5 08:43:59 rpmi: libEGL-7:1.1.1-alt1 sisyphus+224993.100.4.1 1552634542 installed <13>Apr 5 08:43:59 rpmi: libGLX-7:1.1.1-alt1 sisyphus+224993.100.4.1 1552634542 installed <13>Apr 5 08:43:59 rpmi: libGL-7:1.1.1-alt1 sisyphus+224993.100.4.1 1552634542 installed <13>Apr 5 08:43:59 rpmi: libcairo-1:1.16.0-alt1 sisyphus.215566.100 1540457683 installed <13>Apr 5 08:43:59 rpmi: libpango-1.42.4-alt1 1534787259 installed <13>Apr 5 08:43:59 rpmi: libcairo-gobject-1:1.16.0-alt1 sisyphus.215566.100 1540457683 installed <13>Apr 5 08:43:59 rpmi: libpango-gir-1.42.4-alt1 1534787259 installed <13>Apr 5 08:44:00 rpmi: libgtk+2-2.24.32-alt2 1518699309 installed <13>Apr 5 08:44:00 rpmi: dbus-tools-gui-1.12.12-alt2 sisyphus+221234.100.1.2 1549918047 installed <13>Apr 5 08:44:00 rpmi: at-spi2-core-2.32.0-alt1 sisyphus+225059.500.3.2 1552845273 installed <13>Apr 5 08:44:00 rpmi: at-spi2-atk-2.32.0-alt1 sisyphus+225059.700.3.2 1552845433 installed <13>Apr 5 08:44:00 rpmi: python-modules-curses-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 5 08:44:00 rpmi: libtinfo-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Apr 5 08:44:00 rpmi: libncurses-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Apr 5 08:44:00 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994919 installed <13>Apr 5 08:44:00 rpmi: libkeyutils-1.6-alt2 sisyphus.217337.100 1544003161 installed <13>Apr 5 08:44:00 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091678 installed <86>Apr 5 08:44:00 groupadd[12936]: group added to /etc/group: name=_keytab, GID=497 <86>Apr 5 08:44:00 groupadd[12936]: group added to /etc/gshadow: name=_keytab <86>Apr 5 08:44:00 groupadd[12936]: new group: name=_keytab, GID=497 <13>Apr 5 08:44:00 rpmi: libkrb5-1.16.3-alt1 sisyphus+223678.100.1.1 1551746516 installed <13>Apr 5 08:44:00 rpmi: libsoup-2.66.0-alt1 sisyphus+225059.1600.3.2 1552846567 installed <13>Apr 5 08:44:00 rpmi: libsoup-gnome-2.66.0-alt1 sisyphus+225059.1600.3.2 1552846567 installed <13>Apr 5 08:44:00 rpmi: librest-0.8.1-alt1 1508266400 installed <13>Apr 5 08:44:01 rpmi: libgtk+3-3.24.7-alt1 sisyphus+225059.1000.3.2 1552845896 installed <13>Apr 5 08:44:01 rpmi: libgtk+3-gir-3.24.7-alt1 sisyphus+225059.1000.3.2 1552845896 installed <13>Apr 5 08:44:01 rpmi: libtirpc-1.0.3-alt1 1532008017 installed <13>Apr 5 08:44:01 rpmi: libnsl2-1.1.0-alt1_1 1511548749 installed <13>Apr 5 08:44:01 rpmi: python-modules-compiler-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 5 08:44:01 rpmi: python-modules-email-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 5 08:44:01 rpmi: python-modules-unittest-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 5 08:44:01 rpmi: python-modules-encodings-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 5 08:44:02 rpmi: python-modules-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 5 08:44:02 rpmi: python-modules-nis-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 5 08:44:02 rpmi: python-modules-json-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 5 08:44:02 rpmi: python-module-six-1.12.0-alt1 sisyphus+219665.100.2.1 1548148570 installed <13>Apr 5 08:44:02 rpmi: python-modules-ctypes-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 5 08:44:02 rpmi: python-module-pkg_resources-1:40.8.0-alt1 sisyphus+221229.100.2.1 1550559950 installed <13>Apr 5 08:44:02 rpmi: python-modules-xml-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 5 08:44:02 rpmi: python-modules-multiprocessing-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 5 08:44:02 rpmi: python-modules-logging-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 5 08:44:02 rpmi: python-module-ipython_genutils-0.1.0-alt1.1.2 1526985769 installed <13>Apr 5 08:44:02 rpmi: python-module-backports-3.5.0.1-alt1.1.1 1517645428 installed <13>Apr 5 08:44:02 rpmi: python-module-decorator-4.3.0-alt1 sisyphus.218535.100 1545671110 installed <13>Apr 5 08:44:02 rpmi: python-module-traitlets-4.3.2-alt2 1527700172 installed <13>Apr 5 08:44:02 rpmi: python-module-jupyter_core-4.4.0-alt2 1518786607 installed <13>Apr 5 08:44:02 rpmi: python-modules-sqlite3-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 5 08:44:02 rpmi: python-module-backports.ssl_match_hostname-3.5.0.1-alt1.1.1 1517645428 installed <13>Apr 5 08:44:02 rpmi: python-module-configparser-3.7.4-alt2 sisyphus+225584.100.1.1 1553412635 installed <13>Apr 5 08:44:02 rpmi: python-module-dateutil-2.7.3-alt1 1534408281 installed <13>Apr 5 08:44:02 rpmi: python-module-testpath-0.3.1-alt1 1510134886 installed <13>Apr 5 08:44:02 rpmi: python-modules-hotshot-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 5 08:44:02 rpmi: python-module-functools32-3.2.3.2-alt1.git20150711.1 1517710999 installed <13>Apr 5 08:44:02 rpmi: python-module-jsonschema-2.6.0-alt1.1 1517768716 installed <13>Apr 5 08:44:02 rpmi: python-module-nbformat-4.4.0-alt1.1 1517800805 installed <13>Apr 5 08:44:02 rpmi: python-module-ptyprocess-0.6.0-alt1 1535455617 installed <13>Apr 5 08:44:02 rpmi: python-modules-wsgiref-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 5 08:44:02 rpmi: python-module-simplejson-3.15.0-alt1.qa1 sisyphus.214917.100 1539845528 installed <13>Apr 5 08:44:02 rpmi: python-module-pexpect-4.6-alt3 sisyphus+222813.100.1.1 1551090209 installed <13>Apr 5 08:44:02 rpmi: python-module-entrypoints-0.3-alt1 sisyphus+225521.100.2.1 1553360725 installed <13>Apr 5 08:44:02 rpmi: python-module-SQLAlchemy-1.2.15-alt1 sisyphus+224192.100.1.1 1552146172 installed <13>Apr 5 08:44:02 rpmi: python-module-backports.functools_lru_cache-1.4-alt1.qa1 sisyphus.214841.100 1539767890 installed <13>Apr 5 08:44:02 rpmi: python-module-futures-3.0.5-alt1 1484260741 installed <13>Apr 5 08:44:02 rpmi: python-module-chardet-3.0.4-alt1 1506613818 installed <13>Apr 5 08:44:02 rpmi: python-tools-2to3-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 5 08:44:03 rpmi: python-module-future-0.16.0-alt2 1500998941 installed <13>Apr 5 08:44:03 rpmi: python-module-backports.os-0.1.1-alt2 sisyphus.212839.500 1536594727 installed <13>Apr 5 08:44:03 rpmi: python-module-coverage-4.5.1-alt3 sisyphus+224956.100.1.1 1552489982 installed <13>Apr 5 08:44:03 rpmi: python-module-whoosh-2.7.4-alt1 1527697941 installed <13>Apr 5 08:44:03 rpmi: python-module-singledispatch-3.4.0.3-alt1.1.2 1527005338 installed <13>Apr 5 08:44:03 rpmi: python-module-more-itertools-1:5.0.0-alt2 sisyphus+226536.200.1.1 1554329977 installed <13>Apr 5 08:44:03 rpmi: python-module-cycler-0.10.0-alt1.1 1517663300 installed <13>Apr 5 08:44:03 rpmi: python-module-webencodings-0.5.1-alt1.1 1517943573 installed <13>Apr 5 08:44:03 rpmi: python-modules-bsddb-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 5 08:44:03 rpmi: python-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 5 08:44:03 rpmi: python-strict-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Apr 5 08:44:03 rpmi: python-modules-distutils-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 5 08:44:03 rpmi: python-module-pygobject3-3.32.0-alt1 sisyphus+225059.2500.3.2 1552850456 installed <13>Apr 5 08:44:03 rpmi: python-module-pygobject-2.28.7-alt1 1513944037 installed <13>Apr 5 08:44:03 rpmi: python-module-pycairo-1.18.0-alt1 sisyphus.216837.300 1543086170 installed <13>Apr 5 08:44:03 rpmi: python-module-pytz-1:2016.10-alt1 1484291011 installed <13>Apr 5 08:44:03 rpmi: python-module-bson-3.6.0-alt1.1 1525122571 installed <13>Apr 5 08:44:03 rpmi: python-module-pymongo-3.6.0-alt1.1 1525122571 installed <13>Apr 5 08:44:03 rpmi: python-module-babel-1:2.6.0-alt1 sisyphus+221000.100.1.2 1549688063 installed <13>Apr 5 08:44:04 rpmi: python-module-pycparser-2.19-alt1 sisyphus.216095.100 1541345023 installed <13>Apr 5 08:44:04 rpmi: python-module-cffi-1.10.0-alt1.1 1525117736 installed <13>Apr 5 08:44:04 rpmi: python-module-zc-1.0.0-alt6.2 1458024175 installed <13>Apr 5 08:44:04 rpmi: python-module-zope.interface-4.5.0-alt1.qa1 sisyphus.214938.100 1539939473 installed <13>Apr 5 08:44:04 rpmi: python-module-zope-3.3.0-alt8.4 1458261152 installed <13>Apr 5 08:44:04 rpmi: python-module-attrs-19.1.0-alt1 sisyphus+224963.100.1.1 1552501935 installed <13>Apr 5 08:44:04 rpmi: python-module-nose-1:1.3.7-alt4.git20160316 sisyphus.213223.100 1537286725 installed <13>Apr 5 08:44:04 rpmi: python-module-cssselect-0.9.1-alt1.2 1526980827 installed <13>Apr 5 08:44:04 rpmi: python-module-html5lib-1:0.999999999-alt4.qa1 sisyphus.214868.100 1539741045 installed <13>Apr 5 08:44:04 rpmi: python-module-lxml-4.3.3-alt1 sisyphus+225790.100.1.1 1553699239 installed <13>Apr 5 08:44:04 rpmi: python-module-docutils-0.14-alt2 1535729778 installed <13>Apr 5 08:44:04 rpmi: python-module-bleach-2.1.3-alt1.qa1 sisyphus.214847.100 1539683726 installed <13>Apr 5 08:44:04 rpmi: python-module-idna-2.8-alt1 sisyphus+225476.100.1.1 1553198620 installed <13>Apr 5 08:44:04 rpmi: python-module-asn1crypto-0.24.0-alt1 1521037480 installed <13>Apr 5 08:44:04 rpmi: python-module-ntlm-1.1.0-alt1.1.1.1 sisyphus+224405.100.2.1 1554338101 installed <13>Apr 5 08:44:04 rpmi: python-module-PyStemmer-1.0.1-alt1.2.1 1321388303 installed <13>Apr 5 08:44:04 rpmi: python-module-snowballstemmer-1.2.0-alt2.1 1457859319 installed <13>Apr 5 08:44:05 rpmi: python-module-OpenGL-3.1.1a1-alt1.S1 1517141780 installed <13>Apr 5 08:44:05 rpmi: python-modules-tkinter-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 5 08:44:05 rpmi: python-module-objgraph-3.4.0-alt1 sisyphus+220727.100.1.1 1549368877 installed <13>Apr 5 08:44:05 rpmi: python-module-pycares-2.3.0-alt1.1 1525122159 installed <13>Apr 5 08:44:05 rpmi: python-module-py-1.8.0-alt2 sisyphus+225173.100.1.1 1552828593 installed <13>Apr 5 08:44:05 rpmi: python-module-funcsigs-1.0.2-alt2 sisyphus+220258.100.1.1 1548882900 installed <13>Apr 5 08:44:05 rpmi: python-module-scandir-1.10.0-alt1 sisyphus+225192.100.1.2 1552968870 installed <13>Apr 5 08:44:05 rpmi: python-module-pathlib2-2.3.3-alt1 sisyphus.218098.100 1545218863 installed <13>Apr 5 08:44:05 rpmi: python-module-atomicwrites-1.3.0-alt1 sisyphus+221237.100.1.2 1549921064 installed <13>Apr 5 08:44:05 rpmi: python-module-pyparsing-2.2.0-alt1 1534411950 installed <13>Apr 5 08:44:05 rpmi: python-module-markupsafe-0.23-alt1.2.1.1 1525118834 installed <13>Apr 5 08:44:05 rpmi: python-module-jinja2-2.10-alt1 1521724576 installed <13>Apr 5 08:44:05 rpmi: python-module-ndg-0.4.2-alt1.qa1 1531457735 installed <13>Apr 5 08:44:05 rpmi: python-module-ipaddress-1.0.18-alt1.1 1517713372 installed <13>Apr 5 08:44:05 rpmi: python-module-cryptography-2.6.1-alt1 sisyphus+224961.100.1.1 1552501268 installed <13>Apr 5 08:44:05 rpmi: python-module-OpenSSL-18.0.0-alt1 1532996168 installed <13>Apr 5 08:44:05 rpmi: python-module-ndg-httpsclient-0.4.2-alt1.qa1 1531457735 installed <13>Apr 5 08:44:05 rpmi: python-module-urllib3-2:1.24.1-alt2 sisyphus.218529.100 1545673498 installed <13>Apr 5 08:44:05 rpmi: python-module-requests-2.21.0-alt1 sisyphus.218511.200 1545669878 installed <13>Apr 5 08:44:05 rpmi: python-module-typing-3.6.6-alt2 sisyphus+220108.100.1.1 1548749697 installed <13>Apr 5 08:44:05 rpmi: python-module-contextlib2-0.5.5-alt1 sisyphus+220084.200.1.1 1548771716 installed <13>Apr 5 08:44:05 rpmi: python-module-zipp-0.3.3-alt1 sisyphus+220084.100.1.2 1548777048 installed <13>Apr 5 08:44:05 rpmi: python-module-importlib_metadata-0.8-alt1 sisyphus+220084.500.1.2 1548777185 installed <13>Apr 5 08:44:05 rpmi: python-module-path.py-11.5.0-alt1 sisyphus+220084.740.1.2 1548777314 installed <13>Apr 5 08:44:05 rpmi: python-module-pickleshare-0.7.4-alt1 1484637354 installed <13>Apr 5 08:44:05 rpmi: python-module-pluggy-0.9.0-alt1 sisyphus+225174.100.1.1 1552829122 installed <13>Apr 5 08:44:05 rpmi: python-module-pytest-3.10.1-alt5 sisyphus+226322.100.1.1 1554061369 installed <13>Apr 5 08:44:05 rpmi: python-module-numpy-testing-1:1.15.4-alt1 sisyphus+224328.100.1.2 1552246396 installed <13>Apr 5 08:44:05 rpmi: python-module-numpy-1:1.15.4-alt1 sisyphus+224328.100.1.2 1552246396 installed <13>Apr 5 08:44:05 rpmi: python-module-pygtk-2.24.0-alt6 1380567735 installed <13>Apr 5 08:44:06 rpmi: python-module-xapian-1.4.5-alt3 sisyphus+225269.7600.9.1 1553536858 installed <13>Apr 5 08:44:06 rpmi: python-module-sphinxcontrib-websupport-1.0.1-alt3.qa1 sisyphus.214922.100 1539851266 installed <13>Apr 5 08:44:06 rpmi: python-module-alabaster-0.7.6-alt3 1526385201 installed <13>Apr 5 08:44:06 rpmi: python-module-Pygments-2.2.0-alt2 1526455576 installed <13>Apr 5 08:44:06 rpmi: python-module-sphinx-1:1.6.5-alt3 sisyphus.213215.100 1537280252 installed <13>Apr 5 08:44:06 rpmi: python-module-prompt_toolkit-1.0.14-alt1.1 1517846823 installed <13>Apr 5 08:44:06 rpmi: libnsl2-devel-1.1.0-alt1_1 1511548749 installed <13>Apr 5 08:44:06 rpmi: python-dev-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 5 08:44:06 rpmi: python-module-greenlet-0.4.15-alt1 sisyphus+221475.100.1.1 1550075533 installed <13>Apr 5 08:44:06 rpmi: python-module-gevent-1.4.0-alt1 sisyphus+221495.300.3.1 1550252534 installed <86>Apr 5 08:44:06 groupadd[28385]: group added to /etc/group: name=sasl, GID=496 <86>Apr 5 08:44:06 groupadd[28385]: group added to /etc/gshadow: name=sasl <86>Apr 5 08:44:06 groupadd[28385]: new group: name=sasl, GID=496 <13>Apr 5 08:44:06 rpmi: libsasl2-3-2.1.27-alt1 sisyphus+223971.100.1.1 1551928460 installed <13>Apr 5 08:44:06 rpmi: libldap-2.4.46-alt1.1 sisyphus+219907.4400.1.1 1548349979 installed <13>Apr 5 08:44:06 rpmi: libcurl-7.64.1-alt1 sisyphus+225825.100.1.1 1553777011 installed <13>Apr 5 08:44:06 rpmi: python-module-pycurl-7.43.0.2-alt1 sisyphus+224330.100.1.1 1552244927 installed <13>Apr 5 08:44:07 rpmi: python-module-tornado-5.1.1-alt2 sisyphus+220219.100.1.1 1548842648 installed <13>Apr 5 08:44:07 rpmi: python-module-zmq-17.0.0-alt1 1528376623 installed <13>Apr 5 08:44:07 rpmi: python-module-jupyter_client-5.1.0-alt2 sisyphus+220261.100.1.1 1548890734 installed <13>Apr 5 08:44:07 rpmi: python-module-matplotlib-cairo-2.2.3-alt3 sisyphus+220545.100.1.1 1549302949 installed <13>Apr 5 08:44:07 rpmi: python-module-matplotlib-gtk3-2.2.3-alt3 sisyphus+220545.100.1.1 1549302949 installed <13>Apr 5 08:44:07 rpmi: python-module-matplotlib-2.2.3-alt3 sisyphus+220545.100.1.1 1549302949 installed <13>Apr 5 08:44:07 rpmi: python-module-tornado_xstatic-0.1-alt1.git20140929.2 1501660948 installed <13>Apr 5 08:44:07 rpmi: python-module-terminado-0.5-alt2.git20150717 sisyphus+220097.100.1.2 1548757632 installed <13>Apr 5 08:44:08 rpmi: python-module-notebook-5.2.2-alt4 sisyphus+220261.500.4.1 1548922332 installed <13>Apr 5 08:44:08 rpmi: python-module-nbconvert-5.3.1-alt4 1526050965 installed <13>Apr 5 08:44:08 rpmi: python-module-ipyparallel-4.1.0-alt3 1526051099 installed <13>Apr 5 08:44:08 rpmi: ipython-5.5.0-alt3 1526034964 installed <13>Apr 5 08:44:08 rpmi: python-module-ipykernel-4.6.1-alt4 sisyphus+220211.100.1.1 1548840956 installed <13>Apr 5 08:44:08 rpmi: python3-module-zope-3.3.0-alt8.4 1458261152 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/python-module-la-0.6.0-alt2.1.2.nosrc.rpm <13>Apr 5 08:44:16 rpmi: python3-module-pkg_resources-1:40.8.0-alt1 sisyphus+221229.100.2.1 1550559950 installed <13>Apr 5 08:44:16 rpmi: python3-dev-3.6.8-alt1 sisyphus+220164.200.3.1 1548842636 installed <13>Apr 5 08:44:16 rpmi: python3-module-setuptools-1:40.8.0-alt1 sisyphus+221229.100.2.1 1550559950 installed <13>Apr 5 08:44:16 rpmi: python-module-setuptools-1:40.8.0-alt1 sisyphus+221229.100.2.1 1550559950 installed Installing python-module-la-0.6.0-alt2.1.2.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.59825 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf python-module-la-0.6.0 + echo 'Source #0 (python-module-la-0.6.0.tar):' Source #0 (python-module-la-0.6.0.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/python-module-la-0.6.0.tar + cd python-module-la-0.6.0 + /bin/chmod -c -Rf u+rwX,go-w . + rm -rf ../python3 + cp -a . ../python3 + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-la-0.6.0 + find ./ -type f -name '*.py' -exec 2to3 -w -n '{}' + RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: Refactored ./setup.py RefactoringTool: No changes to ./la/version.py RefactoringTool: No changes to ./la/util/tests/testing_test.py RefactoringTool: No changes to ./la/util/tests/resample_test.py RefactoringTool: Refactored ./la/util/tests/misc_test.py RefactoringTool: Refactored ./la/util/testing.py --- ./setup.py (original) +++ ./setup.py (refactored) @@ -78,7 +78,7 @@ # Probably clistmap.c failed to compile, so use slower python version msg = '\nLooks like cflabel.c failed to compile, so the slower python ' msg += 'version will be used instead.\n' - print msg + print(msg) setup(name=NAME, maintainer=MAINTAINER, maintainer_email=MAINTAINER_EMAIL, --- ./la/util/tests/misc_test.py (original) +++ ./la/util/tests/misc_test.py (refactored) @@ -14,7 +14,7 @@ def test_randstring_1(self): "util.misc.randstring_1" rs = randstring(4) - self.assert_(len(rs) == 4, 'Wrong length string.') + self.assertTrue(len(rs) == 4, 'Wrong length string.') def test_isa(): "util.misc.isint, isfloat, isscalar" @@ -30,7 +30,7 @@ t[(np.array(1)[()], 6)] = (True, False) t[(np.array(1.1)[()], 7)] = (False, True) t[(1j, 8)] = (False, False) - for key, value in t.iteritems(): + for key, value in t.items(): key = key[0] msg = '\nisint(' + str(key) + ')' yield assert_equal, isint(key), value[0], msg --- ./la/util/testing.py (original) +++ ./la/util/testing.py (refactored) @@ -109,11 +109,11 @@ # Check input if dtype not in (True, False): - raise TypeError, 'dtype must be True or False.' + raise TypeError('dtype must be True or False.') if iscopy not in (True, False): - raise TypeError, 'iscopy must be True or False.' + raise TypeError('iscopy must be True or False.') if type(msg) is not str: - raise TypeError, 'msg must be a string.' + raise TypeError('msg must be a string.') # Function to make section headings def heading(text): @@ -127,12 +127,12 @@ try: assert_almost_equal(actual, desired) - except AssertionError, err: + except AssertionError as err: fail.append(heading('SCALARS') + str(err)) if dtype: try: assert_equal(type(actual), type(desired)) - except AssertionError, err: + except AssertionError as err: fail.append(heading('TYPE') + str(err)) elif (type(actual) == larry) + (type(desired) == larry) == 1: @@ -140,7 +140,7 @@ # Only one of actual and desired are larrys; test failed try: assert_equal(type(actual), type(desired)) - except AssertionError, err: + except AssertionError as err: fail.append(heading('TYPE') + str(err)) else: @@ -150,7 +150,7 @@ # label try: assert_equal(actual.label, desired.label) - except AssertionError, err: + except AssertionError as err: fail.append(heading('LABEL') + str(err)) # Data array, x @@ -167,14 +167,14 @@ else: # No, so check for exactly equal assert_equal(actual.x, desired.x) - except AssertionError, err: + except AssertionError as err: fail.append(heading('X DATA ARRAY') + str(err)) # dtype if dtype: try: assert_equal(actual.dtype, desired.dtype) - except AssertionError, err: + except AssertionError as err: fail.append(heading('DTYPE') + str(err)) # If original is not None, assert copies or views @@ -183,13 +183,13 @@ # Check that the larrys are copies try: assert_iscopy(actual, original) - except AssertionError, err: + except AssertionError as err: fail.append(heading('NOT A COPY') + str(err)) else: # Check that the larrys are views try: assert_isview(actual, original) - RefactoringTool: Refactored ./la/util/resample.py except AssertionError, err: + except AssertionError as err: text = heading('IS A COPY') + str(err) fail.append(text) @@ -200,42 +200,42 @@ err_msg = err_msg.replace('\n', '\n\t') if len(msg): err_msg = heading("TEST: " + msg) + err_msg - raise AssertionError, err_msg + raise AssertionError(err_msg) def assert_iscopy(larry1, larry2): "Return True if there are no shared references" if not isinstance(larry1, larry): - raise TypeError, 'Input must be a larry' - if not isinstance(larry2, larry): - raise TypeError, 'Input must be a larry' + raise TypeError('Input must be a larry') + if not isinstance(larry2, larry): + raise TypeError('Input must be a larry') msg = [] if np.may_share_memory(larry1.x, larry2.x): msg.append('The data arrays share a reference.') - for i in xrange(min(larry1.ndim, larry2.ndim)): + for i in range(min(larry1.ndim, larry2.ndim)): if larry1.label[i] is larry2.label[i]: msg.append('The labels along axis %d share a reference.' % i) if len(msg) > 0: msg.insert(0, '\n') msg = '\n'.join(msg) - raise AssertionError, msg + raise AssertionError(msg) def assert_isview(larry1, larry2): "Return True if there are only references" if not isinstance(larry1, larry): - raise TypeError, 'Input must be a larry' - if not isinstance(larry2, larry): - raise TypeError, 'Input must be a larry' + raise TypeError('Input must be a larry') + if not isinstance(larry2, larry): + raise TypeError('Input must be a larry') msg = [] if not np.may_share_memory(larry1.x, larry2.x): msg.append('The data arrays do not share a reference.') - for i in xrange(min(larry1.ndim, larry2.ndim)): + for i in range(min(larry1.ndim, larry2.ndim)): if larry1.label[i] is not larry2.label[i]: text = 'The labels along axis %d does not share a reference.' msg.append(text % i) if len(msg) > 0: msg.insert(0, '\n') msg = '\n'.join(msg) - raise AssertionError, msg + raise AssertionError(msg) # Old-style testing functions ----------------------------------------------- @@ -255,28 +255,28 @@ def noreference(larry1, larry2): "Return True if there are no shared references" if not isinstance(larry1, larry): - raise TypeError, 'Input must be a larry' - if not isinstance(larry2, larry): - raise TypeError, 'Input must be a larry' + raise TypeError('Input must be a larry') + if not isinstance(larry2, larry): + raise TypeError('Input must be a larry') if larry1.ndim != larry2.ndim: - raise ValueError, 'larrys must have the same dimensions' + raise ValueError('larrys must have the same dimensions') out = True out = out & (larry1.x is not larry2.x) - for i in xrange(larry1.ndim): + for i in range(larry1.ndim): out = out & (larry1.label[i] is not larry2.label[i]) return out def nocopy(larry1, larry2): "Return True if there are only references" if not isinstance(larry1, larry): - raise TypeError, 'Input must be a larry' - if not isinstance(larry2, larry): - raise TypeError, 'Input must be a larry' + raise TypeError('Input must be a larry') + if not isinstance(larry2, larry): + raise TypeError('Input must be a larry') if larry1.ndim != larry2.ndim: - raise ValueError, 'larrys must have the same dimensions' + raise ValueError('larrys must have the same dimensions') out = True out = out & (larry1.x is larry2.x) - for i in xrange(larry1.ndim): + for i in range(larry1.ndim): out = out & (larry1.label[i] is larry2.label[i]) return out --- ./la/util/resample.py (original) +++ ./la/util/resample.py (refactored) @@ -48,12 +48,12 RefactoringTool: Refactored ./la/util/report.py RefactoringTool: No changes to ./la/util/misc.py RefactoringTool: No changes to ./la/util/__init__.py RefactoringTool: Refactored ./la/tests/test_3d.py RefactoringTool: No changes to ./la/tests/slicing_test.py RefactoringTool: Refactored ./la/tests/more_test.py RefactoringTool: No changes to ./la/tests/missing_test.py RefactoringTool: No changes to ./la/tests/lix_test.py RefactoringTool: Refactored ./la/tests/larry_axis_test.py RefactoringTool: Refactored ./la/tests/io_test.py RefactoringTool: Refactored ./la/tests/flarry_test.py @@ """ if n < 2: - raise ValueError, "`n` must be two or greater." + raise ValueError("`n` must be two or greater.") if kfold < 2: - raise ValueError, "`kfold` must be two or greater." + raise ValueError("`kfold` must be two or greater.") if kfold > n: - raise ValueError, "`kfold` cannot be greater than `n`" - index = range(n) + raise ValueError("`kfold` cannot be greater than `n`") + index = list(range(n)) if shuffle == None: np.random.shuffle(index) else: @@ -115,9 +115,9 @@ """ if n < 2: - raise ValueError, "`n` must be at least 2" + raise ValueError("`n` must be at least 2") if nboot < 1: - raise ValueError, "`nboot` must be at least 1" + raise ValueError("`nboot` must be at least 1") if randint == None: randint2 = np.random.randint else: --- ./la/util/report.py (original) +++ ./la/util/report.py (refactored) @@ -42,4 +42,4 @@ table.append(['HDF5 archiving', io]) table.append(['listmap', listmap]) table.append(['listmap_fill', listmap_fill]) - print indent(table, hasHeader=False, delim=' ') + print(indent(table, hasHeader=False, delim=' ')) --- ./la/tests/test_3d.py (original) +++ ./la/tests/test_3d.py (refactored) @@ -1,7 +1,7 @@ "Test ability to handle 3d arrays" # For support of python 2.5 -from __future__ import with_statement + import numpy as np from numpy.testing import assert_almost_equal --- ./la/tests/more_test.py (original) +++ ./la/tests/more_test.py (refactored) @@ -1,7 +1,7 @@ # these are tests for use with nose using generators, not for unittest. # For support of python 2.5 -from __future__ import with_statement + import numpy as np from numpy.testing import assert_ # could look for nose --- ./la/tests/larry_axis_test.py (original) +++ ./la/tests/larry_axis_test.py (refactored) @@ -1,7 +1,7 @@ "Test larry methods for proper handling of negative axis input" # For support of python 2.5 -from __future__ import with_statement + import numpy as np from numpy.testing import assert_ --- ./la/tests/io_test.py (original) +++ ./la/tests/io_test.py (refactored) @@ -31,12 +31,12 @@ io = IO(self.filename) x = larry([1,2,3]) io['x'] = x - self.assert_('x' in io, 'key missing') - self.assert_((x == io['x'][:]).all(), 'save and load difference') - self.assert_(['x'] == io.keys(), 'keys are different') - self.assert_(x.dtype == io['x'].dtype, 'dtype changed') + self.assertTrue('x' in io, 'key missing') + self.assertTrue((x == io['x'][:]).all(), 'save and load difference') + self.assertTrue(['x'] == list(io.keys()), 'keys are different') + self.assertTrue(x.dtype == io['x'].dtype, 'dtype changed') del io['x'] - self.assert_(io.keys() == [], 'key still present') + self.assertTrue(list(io.keys()) == [], 'key still present') def test_io_2(self): "io_repack" @@ -48,8 +48,8 @@ io.repack() fs2 = io.freespace sp2 = io.space - self.assert_(fs2 < fs1, 'repack did not reduce freespace') - self.assert_(sp2 < sp1, 'repack did not reduce space') + self.assertTrue(fs2 < fs1, 'repack did not reduce freespace') + self.assertTrue(sp2 < sp1, 'repack did not reduce space') def test_io_3(self): "io_keys" @@ -58,10 +58,10 @@ io['2'] = larry([1,2,3]) io.f['3'] = [1,2,3] io['1/2/3/4'] = larry([1,2,3]) - keys = io.keys() + keys = list(io.keys()) keys.sort() theory = ['1', '1/2/3/4', '2'] - self.assert_(keys == theory, 'keys do not match') + self.assertTrue(keys == theory, 'keys do not match') def test_io_4(self): "io_dates" --- ./la/tests/flarry_test.py (original) +++ ./la/tests/flarry_test.py (refactored) @@ -23,10 +23,10 @@ y2 = larry([[1, 2], [3, 4]], [['e', 'b'], ['f', 'd']]) actual = union(0, y1, y2) desired = ['a', 'b', 'e'] - self.assert_(actual == desired, 'union axis=0') + self.assertTrue(actual == desired, 'union axis=0') actual = union(1, y1, y2) desired = ['c', 'd', 'f'] - self.assert_(actual == desired, 'union axis=1') + self.assertTrue(actual == desired, 'union axis=1') def test_intersection_1(self): "func.intersection_1" @@ -34,45 +34,45 @@ y2 = larry([[1, 2], [3, 4]], [['e', 'b'], ['f', 'd']]) actual = intersection(0, y1, y2) desired = ['b'] - self.assert_(actual == desired, 'intersection axis=0') + self.assertTrue(actual == desired, 'intersection axis=0') actual = intersection(1, y1, y2) desired = ['d'] - self.assert_(actual == desired, 'intersection axis=1') + self.assertTrue(actual == desired, 'intersection axis=1') def test_isaligned_1(self): "isaligned_1" lar1 = larry([[1, 2], [3, 4]], [['r1', 'r2'], ['c1', 'c2']]) lar2 = larry([[5, 6], [7, 8]], [['r2', 'r1'], ['c1', 'c2']]) a = isaligned(lar1, lar2) - self.assert_(~a, "Should return False") + self.assertTrue(~a, "Should return False") def test_isaligned_2(self): "isaligned_2" lar1 = larry([[1, 2], [3, 4]], [['r1', 'r2'], ['c1', 'c2']]) lar2 = larry([[4, 5], [6, 7]], [['r2', 'r1'], ['c1', 'c2']]) a = isaligned(lar1, lar2, axis=0) - self.assert_(~a, "Should return False") + self.assertTrue(~a, "Should return False") def test_isaligned_3(self): "isaligned_3" lar1 = larry([[1, 2], [3, 4]], [['r1', 'r2'], ['c1', 'c2']]) lar2 = larry([[5, 6], [7, 8]], [['r2', 'r1'], ['c1', 'c2']]) a = isaligned(lar1, lar2, axis=1) - self.assert_(a, "Should return True") + self.assertTrue(a, "Should return True") def test_isaligned_4(self): "isaligned_4" lar1 = larry([[1, 2], [3, 4]], [['r1', 'r2'], ['c1', 'c2']]) lar2 = larry([5, 6], [['r1', 'r2']]) a = isaligned(lar1, lar2, axis=0) - self.assert_(a, "Should return True") + self.assertTrue(a, "Should return True") def test_isaligned_5(self): "isaligned_5" lar1 = larry([[1, 2], [3, 4]], [['r1', 'r2'], ['c1', 'c2']]) lar2 = larry([5, 6], [['r1', 'r2']]) a = isaligned(lar1, lar2) - self.assert_(~a, "Should return False") + self.assertTrue(~a, "Should return False") def test_panel_1(self): "func.panel_1" @@ -233,7 +233,7 @@ "align 1d test #5" y1 = larry([1, 2]) y2 = larry([1, 2, 3]) - self.failUnlessRaises(TypeError, align, y1, y2, 'outer', False) + self.assertRaises(TypeError, align, y1, y2, 'outer', False) def test_1d6(self): "align 1d test #6" @@ -316,7 +316,7 @@ "align 1d test #13" y1 = larry([1, 2]) y2 = larry([1, 2], [['a', 'b']]) - self.failUnlessRaises(TypeError, align, y1, y2, 'outer', False) + self.assertRaises(TypeError, align, y1, y2, 'outer', False) def test_1d14(self): "align 1d test #14" @@ -355,7 +355,7 @@ "align 1d test #17" y1 = larry([1, 2]) y2 = larry([1, 2], [['a', 'b']]) - self.failUnlessRaises(TypeError, align, y1, y2, 'outer', False) + self.assertRaises(TypeError, align, y1, y2, 'outer', False) def test_1d18(self): "align 1d test #18" @@ -452,7 +452,7 @@ "align 2d test #5" y1 = larry([[1, 2], [3, 4]]) y2 = larry([[1, 2, 5], [3, 4, 6]]) - self.failUnlessRaises(TypeError, align, y1, y2, 'outer', False) + self.assertRaises(TypeError, align, y1, y2, 'outer', False) def test_2d6(self): "align 2d test #6" @@ -470,7 +470,7 @@ y1 = larry([[1, 2], [3, 4]]) y2 = larry([[1, 2, 5], [3, 4, 6]]) j = ['outer', 'inner', 'left'] - RefactoringTool: Refactored ./la/tests/flabel_test.py RefactoringTool: Refactored ./la/tests/empty_larry_test.py RefactoringTool: Refactored ./la/tests/deflarry_test.py self.failUnlessRaises(ValueError, align, y1, y2, j, False) + self.assertRaises(ValueError, align, y1, y2, j, False) def test_2d8(self): "align 2d test #8" @@ -685,10 +685,10 @@ ale(a, d, "lrange failed.") def test_lrange_5(self): - self.failUnlessRaises(ValueError, lrange, (2,), ['a', 'b', 'c']) + self.assertRaises(ValueError, lrange, (2,), ['a', 'b', 'c']) def test_empty_1(self): - self.failUnlessRaises(ValueError, empty, (2,), ['a', 'b', 'c']) + self.assertRaises(ValueError, empty, (2,), ['a', 'b', 'c']) def test_ones_1(self): a = ones(5) --- ./la/tests/flabel_test.py (original) +++ ./la/tests/flabel_test.py (refactored) @@ -15,12 +15,12 @@ def listmap_test(): "listmap test" - list1 = range(6) - list2 = range(5) + list1 = list(range(6)) + list2 = list(range(5)) msg = "listmap failed on list1=%s and list2=%s and ignore_unmappable=%s" for i in range(100): np.random.shuffle(list2) - idx1 = map(list1.index, list2) + idx1 = list(map(list1.index, list2)) idx2 = listmap(list1, list2) ignore_unmappable = False yield assert_equal, idx1, idx2, msg % (list1, list2, ignore_unmappable) @@ -31,10 +31,10 @@ "listmap unmappable test" msg = "listmap failed on list1=%s and list2=%s and ignore_unmappable=%s" for i in range(100): - list1 = range(6) - list2 = range(5) + list1 = list(range(6)) + list2 = list(range(5)) np.random.shuffle(list2) - idx1 = map(list1.index, list2) + idx1 = list(map(list1.index, list2)) list2 = ['unmappable #1'] + list2 + ['unmappable #2'] ignore_unmappable = True idx2 = listmap(list1, list2, ignore_unmappable=ignore_unmappable) @@ -51,12 +51,12 @@ # idx = map(list1.index, list2) # # when there are no items in list2 that are not in list1 - list1 = range(6) - list2 = range(5) + list1 = list(range(6)) + list2 = list(range(5)) msg = "listmap_fill failed on list1=%s and list2=%s" for i in range(100): np.random.shuffle(list2) - idx1 = map(list1.index, list2) + idx1 = list(map(list1.index, list2)) idx2, ignore = listmap_fill(list1, list2) yield assert_equal, idx1, idx2, msg % (list1, list2) --- ./la/tests/empty_larry_test.py (original) +++ ./la/tests/empty_larry_test.py (refactored) @@ -185,7 +185,7 @@ msg = 'larry.%s failed for shape %s and axis %s' for method in reduce_methods(): for shape in get_shapes(): - axeslist = [None] + range(len(shape)) + axeslist = [None] + list(range(len(shape))) for axis in axeslist: arr = np.zeros(shape) npmethod = getattr(arr, method['np']) --- ./la/tests/deflarry_test.py (original) +++ ./la/tests/deflarry_test.py (refactored) @@ -1,7 +1,7 @@ "Unit tests of larry." # For support of python 2.5 -from __future__ import with_statement + import datetime import unittest @@ -32,8 +32,8 @@ p = larry(self.list) t = self.array msg = printfail(t, p.x, 'x') - self.assert_((p.x == t).all(), msg) - self.assert_(self.label == p.label, + self.assertTrue((p.x == t).all(), msg) + self.assertTrue(self.label == p.label, printfail(self.label, p.label, 'label')) def test_init_tuple(self): @@ -41,8 +41,8 @@ p = larry(self.tuple) t = self.array msg = printfail(t, p.x, 'x') - self.assert_((p.x == t).all(), msg) - self.assert_(self.label == p.label, + self.assertTrue((p.x == t).all(), msg) + self.assertTrue(self.label == p.label, printfail(self.label, p.label, 'label')) def test_init_matrix(self): @@ -50,8 +50,8 @@ p = larry(self.matrix) t = self.array msg = printfail(t, p.x, 'x') - self.assert_((p.x == t).all(), msg) - self.assert_(self.label == p.label, + self.assertTrue((p.x == t).all(), msg) + self.assertTrue(self.label == p.label, printfail(self.label, p.label, 'label')) def test_init_array(self): @@ -59,8 +59,8 @@ p = larry(self.array) t = self.array msg = printfail(t, p.x, 'x') - self.assert_((p.x == t).all(), msg) - self.assert_(self.label == p.label, + self.assertTrue((p.x == t).all(), msg) + self.assertTrue(self.label == p.label, printfail(self.label, p.label, 'label')) @@ -95,9 +95,9 @@ msg = printfail(t, p, 'larry') t[np.isnan(t.x)] = self.nancode p[np.isnan(p.x)] = self.nancode - self.assert_((abs(t - p) < self.tol).all(), msg) - self.assert_(noreference(p, self.l3), 'Reference found') - self.assert_(noreference(p, t), 'Reference found') + self.assertTrue((abs(t - p) < self.tol).all(), msg) + self.assertTrue(noreference(p, self.l3), 'Reference found') + self.assertTrue(noreference(p, t), 'Reference found') def test_log_3(self): "larry.log_3" @@ -106,10 +106,10 @@ msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[np.isnan(p.x)] = self.nancode - self.assert_((abs(t - p) < self.tol).all(), msg) + self.assertTrue((abs(t - p) < self.tol).all(), msg) label = [[0,1]] - self.assert_(label == p.label, printfail(label, p.label, 'label')) - self.assert_(noreference(p, self.l2), 'Reference found') + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(noreference(p, self.l2), 'Reference found') def test_exp(self): "larry.exp" @@ -121,10 +121,10 @@ msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[np.isnan(p.x)] = self.nancode - self.assert_((abs(t - p) < self.tol).all(), msg) + self.assertTrue((abs(t - p) < self.tol).all(), msg) label = [[0,1,2], [0,1]] - self.assert_(label == p.label, printfail(label, p.label, 'label')) - self.assert_(noreference(p, self.l), 'Reference found') + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(noreference(p, self.l), 'Reference found') def test_sqrt(self): "larry.sqrt" @@ -135,10 +135,10 @@ msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[np.isnan(p.x)] = self.nancode - self.assert_((abs(t - p) < self.tol).all(), msg) + self.assertTrue((abs(t - p) < self.tol).all(), msg) label = [[0,1,2], [0,1]] - self.assert_(label == p.label, printfail(label, p.label, 'label')) - self.assert_(noreference(p, self.l), 'Reference found') + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(noreference(p, self.l), 'Reference found') def test_sign(self): "larry.sign" @@ -149,10 +149,10 @@ msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[np.isnan(p.x)] = self.nancode - self.assert_((abs(t - p) < self.tol).all(), msg) + self.assertTrue((abs(t - p) < self.tol).all(), msg) label = [[0,1,2], [0,1]] - self.assert_(label == p.label, printfail(label, p.label, 'label')) - self.assert_(noreference(p, self.l), 'Reference found') + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(noreference(p, self.l), 'Reference found') def test_power(self): "larry.power" @@ -163,10 +163,10 @@ msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[np.isnan(p.x)] = self.nancode - self.assert_((abs(t - p) < self.tol).all(), msg) + self.assertTrue((abs(t - p) < self.tol).all(), msg) label = [[0,1,2], [0,1]] - self.assert_(label == p.label, printfail(label, p.label, 'label')) - self.assert_(noreference(p, self.l), 'Reference found') + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(noreference(p, self.l), 'Reference found') def test___pow__(self): "larry.__pow__" @@ -177,10 +177,10 @@ msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[np.isnan(p.x)] = self.nancode - self.assert_((abs(t - p) < self.tol).all(), msg) + self.assertTrue((abs(t - p) < self.tol).all(), msg) label = [[0,1,2], [0,1]] - self.assert_(label == p.label, printfail(label, p.label, 'label')) - self.assert_(noreference(p, self.l), 'Reference found') + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(noreference(p, self.l), 'Reference found') def test_cumsum_1(self): "larry.cumsum_1" @@ -191,10 +191,10 @@ msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[np.isnan(p.x)] = self.nancode - self.assert_((abs(t - p) < self.tol).all(), msg) + self.assertTrue((abs(t - p) < self.tol).all(), msg) label = [[0,1,2], [0,1]] - self.assert_(label == p.label, printfail(label, p.label, 'label')) - self.assert_(noreference(p, self.l), 'Reference found') + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(noreference(p, self.l), 'Reference found') def test_cumsum_2(self): "larry.cumsum_2" @@ -205,10 +205,10 @@ msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[np.isnan(p.x)] = self.nancode - self.assert_((abs(t - p) < self.tol).all(), msg) + self.assertTrue((abs(t - p) < self.tol).all(), msg) label = [[0,1,2], [0,1]] - self.assert_(label == p.label, printfail(label, p.label, 'label')) - self.assert_(noreference(p, self.l), 'Reference found') + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(noreference(p, self.l), 'Reference found') def test_cumsum_3(self): "larry.cumsum_3" @@ -218,9 +218,9 @@ msg = printfail(t, p, 'larry') t[np.isnan(t.x)] = self.nancode p[np.isnan(p.x)] = self.nancode - self.assert_((abs(t - p) < self.tol).all(), msg) - self.assert_(noreference(p, self.l3), 'Reference found') - self.assert_(noreference(p, t), 'Reference found') + self.assertTrue((abs(t - p) < self.tol).all(), msg) + self.assertTrue(noreference(p, self.l3), 'Reference found') + self.assertTrue(noreference(p, t), 'Reference found') def test_cumsum_4(self): "larry.cumsum_4" @@ -229,10 +229,10 @@ msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[np.isnan(p.x)] = self.nancode - self.assert_((abs(t - p) < self.tol).all(), msg) + self.assertTrue((abs(t - p) < self.tol).all(), msg) label = [[0,1]] - self.assert_(label == p.label, printfail(label, p.label, 'label')) - self.assert_(noreference(p, self.l2), 'Reference found') + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(noreference(p, self.l2), 'Reference found') def test_cumsum_5(self): "larry.cumsum_5" @@ -271,10 +271,10 @@ msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[np.isnan(p.x)] = self.nancode - self.assert_((abs(t - p) < self.tol).all(), msg) + self.assertTrue((abs(t - p) < self.tol).all(), msg) label = [[0,1,2], [0,1]] - self.assert_(label == p.label, printfail(label, p.label, 'label')) - self.assert_(noreference(p, self.l), 'Reference found') + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(noreference(p, self.l), 'Reference found') def test_cumprod_2(self): "larry.cumprod_2" @@ -285,10 +285,10 @@ msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[np.isnan(p.x)] = self.nancode - self.assert_((abs(t - p) < self.tol).all(), msg) + self.assertTrue((abs(t - p) < self.tol).all(), msg) label = [[0,1,2], [0,1]] - self.assert_(label == p.label, printfail(label, p.label, 'label')) - self.assert_(noreference(p, self.l), 'Reference found') + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(noreference(p, self.l), 'Reference found') def test_cumprod_3(self): "larry.cumprod_3" @@ -298,9 +298,9 @@ msg = printfail(t, p, 'larry') t[np.isnan(t.x)] = self.nancode p[np.isnan(p.x)] = self.nancode - self.assert_((abs(t - p) < self.tol).all(), msg) - self.assert_(noreference(p, self.l3), 'Reference found') - self.assert_(noreference(p, t), 'Reference found') + self.assertTrue((abs(t - p) < self.tol).all(), msg) + self.assertTrue(noreference(p, self.l3), 'Reference found') + self.assertTrue(noreference(p, t), 'Reference found') def test_cumprod_4(self): "larry.cumprod_4" @@ -309,10 +309,10 @@ msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[np.isnan(p.x)] = self.nancode - self.assert_((abs(t - p) < self.tol).all(), msg) + self.assertTrue((abs(t - p) < self.tol).all(), msg) label = [[0,1]] - self.assert_(label == p.label, printfail(label, p.label, 'label')) - self.assert_(noreference(p, self.l2), 'Reference found') + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(noreference(p, self.l2), 'Reference found') def test_cumprod_5(self): "larry.cumprod_5" @@ -353,10 +353,10 @@ msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[np.isnan(p.x)] = self.nancode - self.assert_((abs(t - p) < self.tol).all(), msg) + self.assertTrue((abs(t - p) < self.tol).all(), msg) label = [[0,1,2], [0,1]] - self.assert_(label == p.label, printfail(label, p.label, 'label')) - self.assert_(noreference(p, self.l), 'Reference found') + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(noreference(p, self.l), 'Reference found') def test_clip_2(self): "larry.clip_2" @@ -367,10 +367,10 @@ msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[np.isnan(p.x)] = self.nancode - self.assert_((abs(t - p) < self.tol).all(), msg) + self.assertTrue((abs(t - p) < self.tol).all(), msg) label = [[0,1,2], [0,1]] - self.assert_(label == p.label, printfail(label, p.label, 'label')) - self.assert_(noreference(p, self.l), 'Reference found') + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(noreference(p, self.l), 'Reference found') def test_clip_3(self): "larry.clip_3" @@ -381,14 +381,14 @@ msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[np.isnan(p.x)] = self.nancode - self.assert_((abs(t - p) < self.tol).all(), msg) + self.assertTrue((abs(t - p) < self.tol).all(), msg) label = [[0,1,2], [0,1]] - self.assert_(label == p.label, printfail(label, p.label, 'label')) - self.assert_(noreference(p, self.l), 'Reference found') + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(noreference(p, self.l), 'Reference found') def test_clip_4(self): "larry.clip_4" - self.failUnlessRaises(ValueError, self.l.clip, 3, 2) + self.assertRaises(ValueError, self.l.clip, 3, 2) def test_nan_replace_1(self): "larry.nan_replace_1" @@ -399,10 +399,10 @@ msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[np.isnan(p.x)] = self.nancode - self.assert_((abs(t - p) < self.tol).all(), msg) + self.assertTrue((abs(t - p) < self.tol).all(), msg) label = [[0,1,2], [0,1]] - self.assert_(label == p.label, printfail(label, p.label, 'label')) - self.assert_(noreference(p, self.l), 'Reference found') + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(noreference(p, self.l), 'Reference found') def test_nan_replace_2(self): "larry.nan_replace_2" @@ -415,10 +415,10 @@ msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[np.isnan(p.x)] = self.nancode - self.assert_((abs(t - p) < self.tol).all(), msg) + self.assertTrue((abs(t - p) < self.tol).all(), msg) label = [[0,1,2], [0,1]] - self.assert_(label == p.label, printfail(label, p.label, 'label')) - self.assert_(noreference(p, self.l), 'Reference found') + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(noreference(p, self.l), 'Reference found') def test_nan_replace_3(self): "larry.nan_replace_3" @@ -429,8 +429,8 @@ msg = printfail(t, p, 'larry') t[np.isnan(t.x)] = self.nancode p[np.isnan(p.x)] = self.nancode - self.assert_((abs(t - p) < self.tol).all(), msg) - self.assert_(noreference(p, t), 'Reference found') + self.assertTrue((abs(t - p) < self.tol).all(), msg) + self.assertTrue(noreference(p, t), 'Reference found') def test___neg__1(self): "larry.__neg__1" @@ -441,10 +441,10 @@ msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[np.isnan(p.x)] = self.nancode - self.assert_((abs(t - p) < self.tol).all(), msg) + self.assertTrue((abs(t - p) < self.tol).all(), msg) label = [[0,1,2], [0,1]] - self.assert_(label == p.label, printfail(label, p.label, 'label')) - self.assert_(noreference(p, self.l), 'Reference found') + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(noreference(p, self.l), 'Reference found') def test___neg__2(self): "larry.__neg__2" @@ -462,10 +462,10 @@ msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[np.isnan(p.x)] = self.nancode - self.assert_((abs(t - p) < self.tol).all(), msg) + self.assertTrue((abs(t - p) < self.tol).all(), msg) label = [[0,1,2], [0,1]] - self.assert_(label == p.label, printfail(label, p.label, 'label')) - self.assert_(noreference(p, self.l), 'Reference found') + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(noreference(p, self.l), 'Reference found') def test_abs_1(self): "larry.abs_1" @@ -476,10 +476,10 @@ msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[np.isnan(p.x)] = self.nancode - self.assert_((abs(t - p) < self.tol).all(), msg) + self.assertTrue((abs(t - p) < self.tol).all(), msg) label = [[0,1,2], [0,1]] - self.assert_(label == p.label, printfail(label, p.label, 'label')) - self.assert_(noreference(p, self.l), 'Reference found') + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(noreference(p, self.l), 'Reference found') def test_abs_2(self): "larry.abs_2" @@ -491,10 +491,10 @@ msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[np.isnan(p.x)] = self.nancode - self.assert_((abs(t - p) < self.tol).all(), msg) + self.assertTrue((abs(t - p) < self.tol).all(), msg) label = [[0,1,2], [0,1]] - self.assert_(label == p.label, printfail(label, p.label, 'label')) - self.assert_(noreference(p, self.l), 'Reference found') + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(noreference(p, self.l), 'Reference found') def test___abs___1(self): "larry.__abs___1" @@ -505,10 +505,10 @@ msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[np.isnan(p.x)] = self.nancode - self.assert_((abs(t - p) < self.tol).all(), msg) + self.assertTrue((abs(t - p) < self.tol).all(), msg) label = [[0,1,2], [0,1]] - self.assert_(label == p.label, printfail(label, p.label, 'label')) - self.assert_(noreference(p, self.l), 'Reference found') + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(noreference(p, self.l), 'Reference found') def test___abs___2(self): "larry.__abs___2" @@ -520,10 +520,10 @@ msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[np.isnan(p.x)] = self.nancode - self.assert_((abs(t - p) < self.tol).all(), msg) + self.assertTrue((abs(t - p) < self.tol).all(), msg) label = [[0,1,2], [0,1]] - self.assert_(label == p.label, printfail(label, p.label, 'label')) - self.assert_(noreference(p, self.l), 'Reference found') + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(noreference(p, self.l), 'Reference found') def test_isnan_1(self): "larry.isnan_1" @@ -531,9 +531,9 @@ label = [[0, 1, 2, 3, 4]] p = self.l4.isnan() msg = printfail(t, p.x, 'x') - self.assert_((t == p.x).all(), msg) - self.assert_(label == p.label, printfail(label, p.label, 'label')) - self.assert_(noreference(p, self.l4), 'Reference found') + self.assertTrue((t == p.x).all(), msg) + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(noreference(p, self.l4), 'Reference found') def test_isfinite_1(self): "larry.isfinite_1" @@ -541,9 +541,9 @@ label = [[0, 1, 2, 3, 4]] p = self.l4.isfinite() msg = printfail(t, p.x, 'x') - self.assert_((t == p.x).all(), msg) - self.assert_(label == p.label, printfail(label, p.label, 'label')) - self.assert_(noreference(p, self.l4), 'Reference found') + self.assertTrue((t == p.x).all(), msg) + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(noreference(p, self.l4), 'Reference found') def test_isinf_1(self): "larry.isinf_1" @@ -551,9 +551,9 @@ label = [[0, 1, 2, 3, 4]] p = self.l4.isinf() msg = printfail(t, p.x, 'x') - self.assert_((t == p.x).all(), msg) - self.assert_(label == p.label, printfail(label, p.label, 'label')) - self.assert_(noreference(p, self.l4), 'Reference found') + self.assertTrue((t == p.x).all(), msg) + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(noreference(p, self.l4), 'Reference found') def test_invert_1(self): "larry.invert_1" @@ -564,7 +564,7 @@ def test_invert_2(self): "larry.invert_2" y = larry([0, 1]) - self.failUnlessRaises(TypeError, y.invert) + self.assertRaises(TypeError, y.invert) def test___invert___1(self): "larry.__invert___1" @@ -575,7 +575,7 @@ def test___invert___2(self): "larry.__invert___2" y = larry([0, 1]) - self.failUnlessRaises(TypeError, y.invert) + self.assertRaises(TypeError, y.invert) class Test_binary(unittest.TestCase): @@ -606,12 +606,12 @@ # label label = [] - for i in xrange(self.l1.ndim): + for i in range(self.l1.ndim): lab = set(self.l1.label[i]) & set(self.l2.label[i]) lab = sorted(list(lab)) label.append(lab) msg = printfail(label, p.label, 'label') - self.assert_(label == p.label, msg) + self.assertTrue(label == p.label, msg) # x t = np.array([[ 1.0, 2.0], @@ -619,11 +619,11 @@ msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[p.isnan()] = self.nancode - self.assert_((abs(t - p.x) < self.tol).all(), msg) + self.assertTrue((abs(t - p.x) < self.tol).all(), msg) # References - self.assert_(noreference(p, self.l1), 'Reference found') - self.assert_(noreference(p, self.l2), 'Reference found') + self.assertTrue(noreference(p, self.l1), 'Reference found') + self.assertTrue(noreference(p, self.l2), 'Reference found') def test___add___2(self): "larry.__add___2" @@ -633,17 +633,17 @@ # label msg = printfail(self.l1.label, p.label, 'label') - self.assert_(p.label == self.l1.label, msg) + self.assertTrue(p.label == self.l1.label, msg) # x t = 2 * self.x1 msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[p.isnan()] = self.nancode - self.assert_((abs(t - p.x) < self.tol).all(), msg) + self.assertTrue((abs(t - p.x) < self.tol).all(), msg) # References - self.assert_(noreference(p, self.l1), 'Reference found') + self.assertTrue(noreference(p, self.l1), 'Reference found') def test___add___3(self): @@ -654,17 +654,17 @@ # label msg = printfail(self.l1.label, p.label, 'label') - self.assert_(p.label == self.l1.label, msg) + self.assertTrue(p.label == self.l1.label, msg) # x t = 2 * self.x1 msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[p.isnan()] = self.nancode - self.assert_((abs(t - p.x) < self.tol).all(), msg) + self.assertTrue((abs(t - p.x) < self.tol).all(), msg) # References - self.assert_(noreference(p, self.l1), 'Reference found') + self.assertTrue(noreference(p, self.l1), 'Reference found') def test___add___4(self): "larry.__add___4" @@ -674,17 +674,17 @@ # label msg = printfail(self.l1.label, p.label, 'label') - self.assert_(p.label == self.l1.label, msg) + self.assertTrue(p.label == self.l1.label, msg) # x t = self.x1 + 1.0 msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[p.isnan()] = self.nancode - self.assert_((abs(t - p.x) < self.tol).all(), msg) + self.assertTrue((abs(t - p.x) < self.tol).all(), msg) # References - self.assert_(noreference(p, self.l1), 'Reference found') + self.assertTrue(noreference(p, self.l1), 'Reference found') def test___add___5(self): "larry.__add___5" @@ -694,22 +694,22 @@ # label msg = printfail(self.l1.label, p.label, 'label') - self.assert_(p.label == self.l1.label, msg) + self.assertTrue(p.label == self.l1.label, msg) # x t = self.x1 + 1.0 msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[p.isnan()] = self.nancode - self.assert_((abs(t - p.x) < self.tol).all(), msg) + self.assertTrue((abs(t - p.x) < self.tol).all(), msg) # References - self.assert_(noreference(p, self.l1), 'Reference found') + self.assertTrue(noreference(p, self.l1), 'Reference found') def test___add___6(self): "larry.__add___6" p = self.l1 - self.failUnlessRaises(TypeError, p.__add__, datetime.date(2007, 1, 1)) + self.assertRaises(TypeError, p.__add__, datetime.date(2007, 1, 1)) def test___add___7(self): "larry.__add___7" @@ -718,12 +718,12 @@ p = self.l2 + self.l2 # References - self.assert_(noreference(p, self.l2), 'Reference found') + self.assertTrue(noreference(p, self.l2), 'Reference found') def test___add___8(self): "larry.__add___8" p = self.l1 - self.failUnlessRaises(IndexError, p.__add__, self.l4) + self.assertRaises(IndexError, p.__add__, self.l4) def test___add___9(self): "larry.__add___9" @@ -732,20 +732,20 @@ p = self.l1 + self.l1 # label - label = [range(self.l1.shape[0]), range(self.l1.shape[1])] + label = [list(range(self.l1.shape[0])), list(range(self.l1.shape[1]))] msg = printfail(label, p.label, 'label') - self.assert_(label == p.label, msg) + self.assertTrue(label == p.label, msg) # x t = 2 * self.x1 msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[p.isnan()] = self.nancode - self.assert_((abs(t - p.x) < self.tol).all(), msg) + self.assertTrue((abs(t - p.x) < self.tol).all(), msg) # References - self.assert_(noreference(p, self.l1), 'Reference found') - self.assert_(noreference(p, self.l2), 'Reference found') + self.assertTrue(noreference(p, self.l1), 'Reference found') + self.assertTrue(noreference(p, self.l2), 'Reference found') def test___add___10(self): "larry.__add___10" @@ -764,12 +764,12 @@ # label label = [] - for i in xrange(self.l1.ndim): + for i in range(self.l1.ndim): lab = set(self.l1.label[i]) & set(self.l2.label[i]) lab = sorted(list(lab)) label.append(lab) msg = printfail(label, p.label, 'label') - self.assert_(label == p.label, msg) + self.assertTrue(label == p.label, msg) # x t = np.array([[ 1.0, 2.0], @@ -777,11 +777,11 @@ msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[p.isnan()] = self.nancode - self.assert_((abs(t - p.x) < self.tol).all(), msg) + self.assertTrue((abs(t - p.x) < self.tol).all(), msg) # References - self.assert_(noreference(p, self.l1), 'Reference found') - self.assert_(noreference(p, self.l2), 'Reference found') + self.assertTrue(noreference(p, self.l1), 'Reference found') + self.assertTrue(noreference(p, self.l2), 'Reference found') def test___sub___2(self): "larry.__sub___2" @@ -791,17 +791,17 @@ # label msg = printfail(self.l1.label, p.label, 'label') - self.assert_(p.label == self.l1.label, msg) + self.assertTrue(p.label == self.l1.label, msg) # x t = 0 * self.x1 msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[p.isnan()] = self.nancode - self.assert_((abs(t - p.x) < self.tol).all(), msg) + self.assertTrue((abs(t - p.x) < self.tol).all(), msg) # References - self.assert_(noreference(p, self.l1), 'Reference found') + self.assertTrue(noreference(p, self.l1), 'Reference found') def test___sub___3(self): "larry.__sub___3" @@ -811,17 +811,17 @@ # label msg = printfail(self.l1.label, p.label, 'label') - self.assert_(p.label == self.l1.label, msg) + self.assertTrue(p.label == self.l1.label, msg) # x t = 0 * self.x1 msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[p.isnan()] = self.nancode - self.assert_((abs(t - p.x) < self.tol).all(), msg) + self.assertTrue((abs(t - p.x) < self.tol).all(), msg) # References - self.assert_(noreference(p, self.l1), 'Reference found') + self.assertTrue(noreference(p, self.l1), 'Reference found') def test___sub___4(self): "larry.__sub___4" @@ -831,17 +831,17 @@ # label msg = printfail(self.l1.label, p.label, 'label') - self.assert_(p.label == self.l1.label, msg) + self.assertTrue(p.label == self.l1.label, msg) # x t = self.x1 - 1.0 msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[p.isnan()] = self.nancode - self.assert_((abs(t - p.x) < self.tol).all(), msg) + self.assertTrue((abs(t - p.x) < self.tol).all(), msg) # References - self.assert_(noreference(p, self.l1), 'Reference found') + self.assertTrue(noreference(p, self.l1), 'Reference found') def test___sub___5(self): "larry.__sub___5" @@ -851,22 +851,22 @@ # label msg = printfail(self.l1.label, p.label, 'label') - self.assert_(p.label == self.l1.label, msg) + self.assertTrue(p.label == self.l1.label, msg) # x t = 1.0 - self.x1 msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[p.isnan()] = self.nancode - self.assert_((abs(t - p.x) < self.tol).all(), msg) + self.assertTrue((abs(t - p.x) < self.tol).all(), msg) # References - self.assert_(noreference(p, self.l1), 'Reference found') + self.assertTrue(noreference(p, self.l1), 'Reference found') def test___sub___6(self): "larry.__sub___6" p = self.l1 - self.failUnlessRaises(TypeError, p.__add__, datetime.date(2007, 1, 1)) + self.assertRaises(TypeError, p.__add__, datetime.date(2007, 1, 1)) def test___sub___7(self): "larry.__sub___7" @@ -876,7 +876,7 @@ # label msg = printfail(self.l2.label, p.label, 'label') - self.assert_(p.label == self.l2.label, msg) + self.assertTrue(p.label == self.l2.label, msg) # x t = self.x2 @@ -884,10 +884,10 @@ msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[p.isnan()] = self.nancode - self.assert_((abs(t - p.x) < self.tol).all(), msg) + self.assertTrue((abs(t - p.x) < self.tol).all(), msg) # References - self.assert_(noreference(p, self.l2), 'Reference found') + self.assertTrue(noreference(p, self.l2), 'Reference found') def test___mul___1(self): "larry.__mul___1" @@ -897,12 +897,12 @@ # label label = [] - for i in xrange(self.l1.ndim): + for i in range(self.l1.ndim): lab = set(self.l1.label[i]) & set(self.l2.label[i]) lab = sorted(list(lab)) label.append(lab) msg = printfail(label, p.label, 'label') - self.assert_(label == p.label, msg) + self.assertTrue(label == p.label, msg) # x t = np.array([[ 2.0, 4.0], @@ -910,11 +910,11 @@ msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[np.isnan(p.x)] = self.nancode - self.assert_((abs(t - p.x) < self.tol).all(), msg) + self.assertTrue((abs(t - p.x) < self.tol).all(), msg) # References - self.assert_(noreference(p, self.l3), 'Reference found') - self.assert_(noreference(p, self.l2), 'Reference found') + self.assertTrue(noreference(p, self.l3), 'Reference found') + self.assertTrue(noreference(p, self.l2), 'Reference found') def test___mul___2(self): "larry.__mul___2" @@ -924,22 +924,22 @@ # label label = [] - for i in xrange(self.l1.ndim): + for i in range(self.l1.ndim): lab = set(self.l1.label[i]) lab = sorted(list(lab)) label.append(lab) msg = printfail(label, p.label, 'label') - self.assert_(label == p.label, msg) + self.assertTrue(label == p.label, msg) # x t = self.x1 * self.x1 msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[np.isnan(p.x)] = self.nancode - self.assert_((abs(t - p.x) < self.tol).all(), msg) + self.assertTrue((abs(t - p.x) < self.tol).all(), msg) # References - self.assert_(noreference(p, self.l1), 'Reference found') + self.assertTrue(noreference(p, self.l1), 'Reference found') def test___mul___3(self): "larry.__mul___3" @@ -949,22 +949,22 @@ # label label = [] - for i in xrange(self.l1.ndim): + for i in range(self.l1.ndim): lab = set(self.l1.label[i]) lab = sorted(list(lab)) label.append(lab) msg = printfail(label, p.label, 'label') - self.assert_(label == p.label, msg) + self.assertTrue(label == p.label, msg) # x t = self.x1 * self.x1 msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[np.isnan(p.x)] = self.nancode - self.assert_((abs(t - p.x) < self.tol).all(), msg) + self.assertTrue((abs(t - p.x) < self.tol).all(), msg) # References - self.assert_(noreference(p, self.l1), 'Reference found') + self.assertTrue(noreference(p, self.l1), 'Reference found') def test___mul___4(self): "larry.__mul___4" @@ -974,22 +974,22 @@ # label label = [] - for i in xrange(self.l1.ndim): + for i in range(self.l1.ndim): lab = set(self.l1.label[i]) lab = sorted(list(lab)) label.append(lab) msg = printfail(label, p.label, 'label') - self.assert_(label == p.label, msg) + self.assertTrue(label == p.label, msg) # x t = self.x1 msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[np.isnan(p.x)] = self.nancode - self.assert_((abs(t - p.x) < self.tol).all(), msg) + self.assertTrue((abs(t - p.x) < self.tol).all(), msg) # References - self.assert_(noreference(p, self.l1), 'Reference found') + self.assertTrue(noreference(p, self.l1), 'Reference found') def test___mul___5(self): "larry.__mul___5" @@ -999,27 +999,27 @@ # label label = [] - for i in xrange(self.l1.ndim): + for i in range(self.l1.ndim): lab = set(self.l1.label[i]) lab = sorted(list(lab)) label.append(lab) msg = printfail(label, p.label, 'label') - self.assert_(label == p.label, msg) + self.assertTrue(label == p.label, msg) # x t = self.x1 msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[np.isnan(p.x)] = self.nancode - self.assert_((abs(t - p.x) < self.tol).all(), msg) + self.assertTrue((abs(t - p.x) < self.tol).all(), msg) # References - self.assert_(noreference(p, self.l1), 'Reference found') + self.assertTrue(noreference(p, self.l1), 'Reference found') def test___mul___6(self): "larry.__mul___6" p = self.l2 - self.failUnlessRaises(TypeError, p.__mul__, datetime.date(2007, 1, 1)) + self.assertRaises(TypeError, p.__mul__, datetime.date(2007, 1, 1)) def test___mul___7(self): "larry.__mul___7" @@ -1029,17 +1029,17 @@ # label msg = printfail(self.l2.label, p.label, 'label') - self.assert_(p.label == self.l2.label, msg) + self.assertTrue(p.label == self.l2.label, msg) # x t = self.x2 * self.x2 msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[p.isnan()] = self.nancode - self.assert_((abs(t - p.x) < self.tol).all(), msg) + self.assertTrue((abs(t - p.x) < self.tol).all(), msg) # References - self.assert_(noreference(p, self.l2), 'Reference found') + self.assertTrue(noreference(p, self.l2), 'Reference found') def test___div___1(self): "larry.__div___1" @@ -1049,12 +1049,12 @@ # label label = [] - for i in xrange(self.l1.ndim): + for i in range(self.l1.ndim): lab = set(self.l1.label[i]) & set(self.l2.label[i]) lab = sorted(list(lab)) label.append(lab) msg = printfail(label, p.label, 'label') - self.assert_(label == p.label, msg) + self.assertTrue(label == p.label, msg) # x t = np.array([[ 2.0, 1.0], @@ -1062,11 +1062,11 @@ msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[p.isnan()] = self.nancode - self.assert_((abs(t - p.x) < self.tol).all(), msg) + self.assertTrue((abs(t - p.x) < self.tol).all(), msg) # References - self.assert_(noreference(p, self.l3), 'Reference found') - self.assert_(noreference(p, self.l2), 'Reference found') + self.assertTrue(noreference(p, self.l3), 'Reference found') + self.assertTrue(noreference(p, self.l2), 'Reference found') def test___div___2(self): "larry.__div___2" @@ -1077,12 +1077,12 @@ # label label = [] - for i in xrange(self.l1.ndim): + for i in range(self.l1.ndim): lab = set(self.l1.label[i]) lab = sorted(list(lab)) label.append(lab) msg = printfail(label, p.label, 'label') - self.assert_(label == p.label, msg) + self.assertTrue(label == p.label, msg) # x with np.errstate(invalid='ignore', divide='ignore'): @@ -1090,11 +1090,11 @@ msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[p.isnan()] = self.nancode - self.assert_((abs(t - p.x) < self.tol).all(), msg) + self.assertTrue((abs(t - p.x) < self.tol).all(), msg) # References - self.assert_(noreference(p, self.l1), 'Reference found') - self.assert_(noreference(p, self.l2), 'Reference found') + self.assertTrue(noreference(p, self.l1), 'Reference found') + self.assertTrue(noreference(p, self.l2), 'Reference found') def test___div___3(self): "larry.__div___3" @@ -1105,12 +1105,12 @@ # label label = [] - for i in xrange(self.l1.ndim): + for i in range(self.l1.ndim): lab = set(self.l1.label[i]) lab = sorted(list(lab)) label.append(lab) msg = printfail(label, p.label, 'label') - self.assert_(label == p.label, msg) + self.assertTrue(label == p.label, msg) # x with np.errstate(invalid='ignore', divide='ignore'): @@ -1118,11 +1118,11 @@ msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[p.isnan()] = self.nancode - self.assert_((abs(t - p.x) < self.tol).all(), msg) + self.assertTrue((abs(t - p.x) < self.tol).all(), msg) # References - self.assert_(noreference(p, self.l1), 'Reference found') - self.assert_(noreference(p, self.l2), 'Reference found') + self.assertTrue(noreference(p, self.l1), 'Reference found') + self.assertTrue(noreference(p, self.l2), 'Reference found') def test___div___4(self): "larry.__div___4" @@ -1132,23 +1132,23 @@ # label label = [] - for i in xrange(self.l1.ndim): + for i in range(self.l1.ndim): lab = set(self.l1.label[i]) lab = sorted(list(lab)) label.append(lab) msg = printfail(label, p.label, 'label') - self.assert_(label == p.label, msg) + self.assertTrue(label == p.label, msg) # x t = self.l1.x / 2.0 msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[p.isnan()] = self.nancode - self.assert_((abs(t - p.x) < self.tol).all(), msg) + self.assertTrue((abs(t - p.x) < self.tol).all(), msg) # References - self.assert_(noreference(p, self.l1), 'Reference found') - self.assert_(noreference(p, self.l2), 'Reference found') + self.assertTrue(noreference(p, self.l1), 'Reference found') + self.assertTrue(noreference(p, self.l2), 'Reference found') def test___div___5(self): "larry.__div___5" @@ -1158,28 +1158,28 @@ # label label = [] - for i in xrange(self.l2.ndim): + for i in range(self.l2.ndim): lab = set(self.l2.label[i]) lab = sorted(list(lab)) label.append(lab) msg = printfail(label, p.label, 'label') - self.assert_(label == p.label, msg) + self.assertTrue(label == p.label, msg) # x t = 2.0 / self.l2.x msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[p.isnan()] = self.nancode - self.assert_((abs(t - p.x) < self.tol).all(), msg) + self.assertTrue((abs(t - p.x) < self.tol).all(), msg) # References - self.assert_(noreference(p, self.l1), 'Reference found') - self.assert_(noreference(p, self.l2), 'Reference found') + self.assertTrue(noreference(p, self.l1), 'Reference found') + self.assertTrue(noreference(p, self.l2), 'Reference found') def test___div___6(self): "larry.__div___6" p = self.l2 - self.failUnlessRaises(TypeError, p.__div__, datetime.date(2007, 1, 1)) + self.assertRaises(TypeError, p.__div__, datetime.date(2007, 1, 1)) def test___div___7(self): "larry.__div___7" @@ -1189,17 +1189,17 @@ # label msg = printfail(self.l2.label, p.label, 'label') - self.assert_(p.label == self.l2.label, msg) + self.assertTrue(p.label == self.l2.label, msg) # x t = self.x2 / self.x2 msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[p.isnan()] = self.nancode - self.assert_((abs(t - p.x) < self.tol).all(), msg) + self.assertTrue((abs(t - p.x) < self.tol).all(), msg) # References - self.assert_(noreference(p, self.l2), 'Reference found') + self.assertTrue(noreference(p, self.l2), 'Reference found') def test___div___8(self): "larry.__div___8" @@ -1208,8 +1208,8 @@ p = self.l2 / self.l3 # References - self.assert_(noreference(p, self.l2), 'Reference found') - self.assert_(noreference(p, self.l3), 'Reference found') + self.assertTrue(noreference(p, self.l2), 'Reference found') + self.assertTrue(noreference(p, self.l3), 'Reference found') class Test_reduce(unittest.TestCase): @@ -1234,84 +1234,84 @@ t = 5.0 p = self.l.sum() msg = printfail(t, p, '') - self.assert_(p == t, msg) + self.assertTrue(p == t, msg) def test_sum_2(self): "larry.sum_2" x = self.x.copy() - label = [range(x.shape[1])] + label = [list(range(x.shape[1]))] x[np.isnan(x)] = 0 x = x.sum(0) t = larry(x, label) p = self.l.sum(0) msg = printfail(t, p, '') - self.assert_((p == t).all(), msg) - self.assert_(noreference(p, t), 'Reference found') + self.assertTrue((p == t).all(), msg) + self.assertTrue(noreference(p, t), 'Reference found') def test_sum_3(self): "larry.sum_3" x = self.x.copy() - label = [range(x.shape[0])] + label = [list(range(x.shape[0]))] x[np.isnan(x)] = 0 x = x.sum(1) t = larry(x, label) p = self.l.sum(1) msg = printfail(t, p, '') - self.assert_((p == t).all(), msg) - self.assert_(noreference(p, t), 'Reference found') + self.assertTrue((p == t).all(), msg) + self.assertTrue(noreference(p, t), 'Reference found') def test_sum_4(self): "larry.sum_4" - self.failUnlessRaises(ValueError, self.l.sum, 3) + self.assertRaises(ValueError, self.l.sum, 3) def test_sum_5(self): "larry.sum_5" t = 6.0 p = self.l2.sum() msg = printfail(t, p, '') - self.assert_(p == t, msg) + self.assertTrue(p == t, msg) def test_prod_1(self): "larry.prod_1" t = 1.0 p = self.l.prod() msg = printfail(t, p, '') - self.assert_(p == t, msg) + self.assertTrue(p == t, msg) def test_prod_2(self): "larry.prod_2" x = self.x.copy() - label = [range(x.shape[1])] + label = [list(range(x.shape[1]))] x[np.isnan(x)] = 1 x = x.prod(0) t = larry(x, label) p = self.l.prod(0) msg = printfail(t, p, '') - self.assert_((p == t).all(), msg) - self.assert_(noreference(p, t), 'Reference found') + self.assertTrue((p == t).all(), msg) + self.assertTrue(noreference(p, t), 'Reference found') def test_prod_3(self): "larry.prod_3" x = self.x.copy() - label = [range(x.shape[0])] + label = [list(range(x.shape[0]))] x[np.isnan(x)] = 1 x = x.prod(1) t = larry(x, label) p = self.l.prod(1) msg = printfail(t, p, '') - self.assert_((p == t).all(), msg) - self.assert_(noreference(p, t), 'Reference found') + self.assertTrue((p == t).all(), msg) + self.assertTrue(noreference(p, t), 'Reference found') def test_prod_4(self): "larry.prod_4" - self.failUnlessRaises(ValueError, self.l.prod, 3) + self.assertRaises(ValueError, self.l.prod, 3) def test_prod_5(self): "larry.prod_5" t = 6.0 p = self.l2.prod() msg = printfail(t, p, '') - self.assert_(p == t, msg) + self.assertTrue(p == t, msg) def test_prod_6(self): "larry.prod_6" @@ -1340,42 +1340,42 @@ t = 1.0 p = self.l.mean() msg = printfail(t, p, '') - self.assert_(p == t, msg) + self.assertTrue(p == t, msg) def test_mean_2(self): "larry.mean_2" x = np.array([1.0, 1.0]) - label = [range(x.shape[0])] + label = [list(range(x.shape[0]))] t = larry(x, label) p = self.l.mean(0) msg = printfail(t.x, p.x, 'x') - self.assert_((abs(p.x - t.x) < self.tol).all(), msg) + self.assertTrue((abs(p.x - t.x) < self.tol).all(), msg) msg = printfail(t.label, p.label, 'label') - self.assert_(p.label == t.label, msg) - self.assert_(noreference(p, t), 'Reference found') + self.assertTrue(p.label == t.label, msg) + self.assertTrue(noreference(p, t), 'Reference found') def test_mean_3(self): "larry.mean_3" x = np.array([1.0, 1.0, 1.0]) - label = [range(x.size)] + label = [list(range(x.size))] t = larry(x, label) p = self.l.mean(1) msg = printfail(t.x, p.x, 'x') - self.assert_((abs(p.x - t.x) < self.tol).all(), msg) + self.assertTrue((abs(p.x - t.x) < self.tol).all(), msg) msg = printfail(t.label, p.label, 'label') - self.assert_(p.label == t.label, msg) - self.assert_(noreference(p, t), 'Reference found') + self.assertTrue(p.label == t.label, msg) + self.assertTrue(noreference(p, t), 'Reference found') def test_mean_4(self): "larry.mean_4" - self.failUnlessRaises(ValueError, self.l.mean, 3) + self.assertRaises(ValueError, self.l.mean, 3) def test_mean_5(self): "larry.mean_5" t = 2.0 p = self.l2.mean() msg = printfail(t, p, '') - self.assert_(p == t, msg) + self.assertTrue(p == t, msg) def test_geometric_mean_1(self): "larry.geometric_mean_1" @@ -1387,7 +1387,7 @@ def test_geometric_mean_2(self): "larry.geometric_mean_2" original = larry([0]) - self.failUnlessRaises(ValueError, original.geometric_mean) + self.assertRaises(ValueError, original.geometric_mean) def test_geometric_mean_3(self): "larry.geometric_mean_3" @@ -1408,147 +1408,147 @@ t = 1.0 p = self.l.median() msg = printfail(t, p, '') - self.assert_(p == t, msg) + self.assertTrue(p == t, msg) def test_median_2(self): "larry.median_2" x = np.array([1.0, 1.0]) - label = [range(x.shape[0])] + label = [list(range(x.shape[0]))] t = larry(x, label) p = self.l.median(0) msg = printfail(t.x, p.x, 'x') - self.assert_((abs(p.x - t.x) < self.tol).all(), msg) + self.assertTrue((abs(p.x - t.x) < self.tol).all(), msg) msg = printfail(t.label, p.label, 'label') - self.assert_(p.label == t.label, msg) - self.assert_(noreference(p, t), 'Reference found') + self.assertTrue(p.label == t.label, msg) + self.assertTrue(noreference(p, t), 'Reference found') def test_median_3(self): "larry.median_3" x = np.array([1.0, 1.0, 1.0]) - label = [range(x.size)] + label = [list(range(x.size))] t = larry(x, label) p = self.l.median(1) msg = printfail(t.x, p.x, 'x') - self.assert_((abs(p.x - t.x) < self.tol).all(), msg) + self.assertTrue((abs(p.x - t.x) < self.tol).all(), msg) msg = printfail(t.label, p.label, 'label') - self.assert_(p.label == t.label, msg) - self.assert_(noreference(p, t), 'Reference found') + self.assertTrue(p.label == t.label, msg) + self.assertTrue(noreference(p, t), 'Reference found') def test_median_4(self): "larry.median_4" - self.failUnlessRaises(ValueError, self.l.median, 3) + self.assertRaises(ValueError, self.l.median, 3) def test_median_5(self): "larry.median_5" t = 2.0 p = self.l2.median() msg = printfail(t, p, '') - self.assert_(p == t, msg) + self.assertTrue(p == t, msg) def test_std_1(self): "larry.std_1" t = 0.0 p = self.l.std() msg = printfail(t, p, '') - self.assert_(p == t, msg) + self.assertTrue(p == t, msg) def test_std_2(self): "larry.std_2" x = np.array([0.0, 0.0]) - label = [range(x.shape[0])] + label = [list(range(x.shape[0]))] t = larry(x, label) p = self.l.std(0) msg = printfail(t.x, p.x, 'x') - self.assert_((abs(p.x - t.x) < self.tol).all(), msg) + self.assertTrue((abs(p.x - t.x) < self.tol).all(), msg) msg = printfail(t.label, p.label, 'label') - self.assert_(p.label == t.label, msg) - self.assert_(noreference(p, t), 'Reference found') + self.assertTrue(p.label == t.label, msg) + self.assertTrue(noreference(p, t), 'Reference found') def test_std_3(self): "larry.std_3" x = np.array([0.0, 0.0, 0.0]) - label = [range(x.size)] + label = [list(range(x.size))] t = larry(x, label) p = self.l.std(1) t[np.isnan(t.x)] = self.nancode p[p.isnan()] = self.nancode msg = printfail(t.x, p.x, 'x') - self.assert_((abs(p.x - t.x) < self.tol).all(), msg) + self.assertTrue((abs(p.x - t.x) < self.tol).all(), msg) msg = printfail(t.label, p.label, 'label') - self.assert_(p.label == t.label, msg) - self.assert_(noreference(p, t), 'Reference found') + self.assertTrue(p.label == t.label, msg) + self.assertTrue(noreference(p, t), 'Reference found') def test_std_4(self): "larry.std_4" - self.failUnlessRaises(ValueError, self.l.std, 3) + self.assertRaises(ValueError, self.l.std, 3) def test_std_5(self): "larry.std_5" t = np.sqrt(2./3) p = self.l2.std() msg = printfail(t, p, '') - self.assert_(p == t, msg) + self.assertTrue(p == t, msg) def test_std_6(self): "larry.std_6" s = larry([1, 1, 1]).std(axis=-1) - self.assert_(s == 0, 'Not equal') + self.assertTrue(s == 0, 'Not equal') def test_var_1(self): "larry.var_1" t = 0.0 p = self.l.var() msg = printfail(t, p, '') - self.assert_(p == t, msg) + self.assertTrue(p == t, msg) def test_var_2(self): "larry.var_2" x = np.array([0.0, 0.0]) - label = [range(x.shape[0])] + label = [list(range(x.shape[0]))] t = larry(x, label) p = self.l.var(0) msg = printfail(t.x, p.x, 'x') - self.assert_((abs(p.x - t.x) < self.tol).all(), msg) + self.assertTrue((abs(p.x - t.x) < self.tol).all(), msg) msg = printfail(t.label, p.label, 'label') - self.assert_(p.label == t.label, msg) - self.assert_(noreference(p, t), 'Reference found') + self.assertTrue(p.label == t.label, msg) + self.assertTrue(noreference(p, t), 'Reference found') def test_var_3(self): "larry.var_3" x = np.array([0.0, 0.0, 0.0]) - label = [range(x.size)] + label = [list(range(x.size))] t = larry(x, label) p = self.l.var(1) t[np.isnan(t.x)] = self.nancode p[p.isnan()] = self.nancode msg = printfail(t.x, p.x, 'x') - self.assert_((abs(p.x - t.x) < self.tol).all(), msg) + self.assertTrue((abs(p.x - t.x) < self.tol).all(), msg) msg = printfail(t.label, p.label, 'label') - self.assert_(p.label == t.label, msg) - self.assert_(noreference(p, t), 'Reference found') + self.assertTrue(p.label == t.label, msg) + self.assertTrue(noreference(p, t), 'Reference found') def test_var_4(self): "larry.var_4" - self.failUnlessRaises(ValueError, self.l.var, 3) + self.assertRaises(ValueError, self.l.var, 3) def test_var_5(self): "larry.var_5" t = 2./3 p = self.l2.var() msg = printfail(t, p, '') - self.assert_(p == t, msg) + self.assertTrue(p == t, msg) def test_var_6(self): "larry.var_6" s = larry([1, 1, 1]).var(axis=-1) - self.assert_(s == 0, 'Not equal') + self.assertTrue(s == 0, 'Not equal') def test_max_1(self): "larry.max_1" t = 1.0 p = self.l.max() msg = printfail(t, p, '') - self.assert_(p == t, msg) + self.assertTrue(p == t, msg) def test_max_2(self): "larry.max_2" @@ -1556,7 +1556,7 @@ t = larry(x) p = self.l.max(0) msg = printfail(t, p, '') - self.assert_((p == t).all(), msg) + self.assertTrue((p == t).all(), msg) def test_max_3(self): "larry.max_3" @@ -1564,25 +1564,25 @@ t = larry(x) p = self.l.max(1) msg = printfail(t, p, '') - self.assert_((p.x == t).all(), msg) + self.assertTrue((p.x == t).all(), msg) def test_max_4(self): "larry.max_4" - self.failUnlessRaises(ValueError, self.l.max, 3) + self.assertRaises(ValueError, self.l.max, 3) def test_max_5(self): "larry.max_5" t = 3.0 p = self.l2.max() msg = printfail(t, p, '') - self.assert_(p == t, msg) + self.assertTrue(p == t, msg) def test_min_1(self): "larry.min_1" t = 1.0 p = self.l.min() msg = printfail(t, p, '') - self.assert_(p == t, msg) + self.assertTrue(p == t, msg) def test_min_2(self): "larry.min_2" @@ -1590,7 +1590,7 @@ t = larry(x) p = self.l.min(0) msg = printfail(t, p, '') - self.assert_((p == t).all(), msg) + self.assertTrue((p == t).all(), msg) def test_min_3(self): "larry.min_3" @@ -1598,18 +1598,18 @@ t = larry(x) p = self.l.min(1) msg = printfail(t, p, '') - self.assert_((p.x == t).all(), msg) + self.assertTrue((p.x == t).all(), msg) def test_min_4(self): "larry.min_4" - self.failUnlessRaises(ValueError, self.l.min, 3) + self.assertRaises(ValueError, self.l.min, 3) def test_min_5(self): "larry.min_5" t = 1.0 p = self.l2.min() msg = printfail(t, p, '') - self.assert_(p == t, msg) + self.assertTrue(p == t, msg) def test_lastrank_1(self): "larry.lastrank_1" @@ -1621,10 +1621,10 @@ t[np.isnan(t.x)] = self.nancode p[p.isnan()] = self.nancode msg = printfail(t.x, p.x, 'x') - self.assert_((abs(p.x - t.x) < self.tol).all(), msg) + self.assertTrue((abs(p.x - t.x) < self.tol).all(), msg) msg = printfail(t.label, p.label, 'label') - self.assert_(p.label == t.label, msg) - self.assert_(noreference(p, t), 'Reference found') + self.assertTrue(p.label == t.label, msg) + self.assertTrue(noreference(p, t), 'Reference found') def test_lastrank_2(self): "larry.lastrank_2" @@ -1636,10 +1636,10 @@ t[np.isnan(t.x)] = self.nancode p[p.isnan()] = self.nancode msg = printfail(t.x, p.x, 'x') - self.assert_((abs(p.x - t.x) < self.tol).all(), msg) + self.assertTrue((abs(p.x - t.x) < self.tol).all(), msg) msg = printfail(t.label, p.label, 'label') - self.assert_(p.label == t.label, msg) - self.assert_(noreference(p, t), 'Reference found') + self.assertTrue(p.label == t.label, msg) + self.assertTrue(noreference(p, t), 'Reference found') def test_lastrank_3(self): "larry.lastrank_3" @@ -1650,10 +1650,10 @@ t[np.isnan(t.x)] = self.nancode p[p.isnan()] = self.nancode msg = printfail(t.x, p.x, 'x') - self.assert_((abs(p.x - t.x) < self.tol).all(), msg) + self.assertTrue((abs(p.x - t.x) < self.tol).all(), msg) msg = printfail(t.label, p.label, 'label') - self.assert_(p.label == t.label, msg) - self.assert_(noreference(p, t), 'Reference found') + self.assertTrue(p.label == t.label, msg) + self.assertTrue(noreference(p, t), 'Reference found') class Test_comparison(unittest.TestCase): @@ -1678,9 +1678,9 @@ [ True, False]]) p = self.l == 1.0 msg = printfail(t, p.x, 'x') - self.assert_((t == p.x).all(), msg) + self.assertTrue((t == p.x).all(), msg) label = [[0, 1, 2], [0, 1]] - self.assert_(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) def test_eq_2(self): "larry.__eq___2" @@ -1689,9 +1689,9 @@ [ True, False]]) p = self.l == self.y msg = printfail(t, p.x, 'x') - self.assert_((t == p.x).all(), msg) + self.assertTrue((t == p.x).all(), msg) label = [[0, 1, 2], [0, 1]] - self.assert_(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) def test_eq_3(self): "larry.__eq___3" @@ -1700,37 +1700,37 @@ [ True, True]]) p = self.l == self.l msg = printfail(t, p.x, 'x') - self.assert_((t == p.x).all(), msg) + self.assertTrue((t == p.x).all(), msg) label = [[0, 1, 2], [0, 1]] - self.assert_(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) def test_eq_4(self): "larry.__eq___4" date = datetime.date(2004, 1, 1) - self.failUnlessRaises(TypeError, self.l.__eq__, date) + self.assertRaises(TypeError, self.l.__eq__, date) def test_eq_5(self): "larry.__eq___5" t = np.array([True, False, False]) p = self.l2 == self.y2 msg = printfail(t, p.x, 'x') - self.assert_((t == p.x).all(), msg) + self.assertTrue((t == p.x).all(), msg) label = [[0, 1, 2]] - self.assert_(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) def test_eq_6(self): "larry.__eq___6" lar = la.larry([1, 2, 3]) actual = lar == 'a' desired = lar.x == 'a' - self.assert_(actual == desired, "failed") + self.assertTrue(actual == desired, "failed") def test_eq_7(self): "larry.__eq___7" lar = la.larry(['a', 'b', 'c']) actual = lar == 1 desired = lar.x == 1 - self.assert_(actual == desired, "failed") + self.assertTrue(actual == desired, "failed") def test_ne_1(self): "larry.__ne___1" @@ -1739,9 +1739,9 @@ [False, True]]) p = self.l != 1.0 msg = printfail(t, p.x, 'x') - self.assert_((t == p.x).all(), msg) + self.assertTrue((t == p.x).all(), msg) label = [[0, 1, 2], [0, 1]] - self.assert_(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) def test_ne_2(self): "larry.__ne___2" @@ -1750,9 +1750,9 @@ [False, True]]) p = self.l != self.y msg = printfail(t, p.x, 'x') - self.assert_((t == p.x).all(), msg) + self.assertTrue((t == p.x).all(), msg) label = [[0, 1, 2], [0, 1]] - self.assert_(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) def test_ne_3(self): "larry.__ne___3" @@ -1761,28 +1761,28 @@ [False, False]]) p = self.l != self.l msg = printfail(t, p.x, 'x') - self.assert_((t == p.x).all(), msg) + self.assertTrue((t == p.x).all(), msg) label = [[0, 1, 2], [0, 1]] - self.assert_(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) def test_ne_4(self): "larry.__ne___4" date = datetime.date(2004, 1, 1) - self.failUnlessRaises(TypeError, self.l.__ne__, date) + self.assertRaises(TypeError, self.l.__ne__, date) def test_ne_5(self): "larry.__ne___5" lar = la.larry([1, 2, 3]) actual = lar != 'a' desired = lar.x != 'a' - self.assert_(actual == desired, "failed") + self.assertTrue(actual == desired, "failed") def test_ne_6(self): "larry.__ne___6" lar = la.larry(['a', 'b', 'c']) actual = lar != 1 desired = lar.x != 1 - self.assert_(actual == desired, "failed") + self.assertTrue(actual == desired, "failed") def test_lt_1(self): "larry.__lt___1" @@ -1791,9 +1791,9 @@ [False, False]]) p = self.l < 1.0 msg = printfail(t, p.x, 'x') - self.assert_((t == p.x).all(), msg) + self.assertTrue((t == p.x).all(), msg) label = [[0, 1, 2], [0, 1]] - self.assert_(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) def test_lt_2(self): "larry.__lt___2" @@ -1802,9 +1802,9 @@ [False, False]]) p = self.l < self.y msg = printfail(t, p.x, 'x') - self.assert_((t == p.x).all(), msg) + self.assertTrue((t == p.x).all(), msg) label = [[0, 1, 2], [0, 1]] - self.assert_(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) def test_lt_3(self): "larry.__lt___3" @@ -1813,28 +1813,28 @@ [False, False]]) p = self.l < self.l msg = printfail(t, p.x, 'x') - self.assert_((t == p.x).all(), msg) + self.assertTrue((t == p.x).all(), msg) label = [[0, 1, 2], [0, 1]] - self.assert_(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) def test_lt_4(self): "larry.__lt___4" date = datetime.date(2004, 1, 1) - self.failUnlessRaises(TypeError, self.l.__lt__, date) + self.assertRaises(TypeError, self.l.__lt__, date) def test_lt_5(self): "larry.__lt___5" lar = la.larry([1, 2, 3]) actual = lar < 'a' desired = lar.x < 'a' - self.assert_(actual == desired, "failed") + self.assertTrue(actual == desired, "failed") def test_lt_6(self): "larry.__lt___6" lar = la.larry(['a', 'b', 'c']) actual = lar < 1 desired = lar.x < 1 - self.assert_(actual == desired, "failed") + self.assertTrue(actual == desired, "failed") def test_gt_1(self): "larry.__gt___1" @@ -1843,9 +1843,9 @@ [False, True]]) p = self.l > 1.0 msg = printfail(t, p.x, 'x') - self.assert_((t == p.x).all(), msg) + self.assertTrue((t == p.x).all(), msg) label = [[0, 1, 2], [0, 1]] - self.assert_(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) def test_gt_2(self): "larry.__gt___2" @@ -1854,9 +1854,9 @@ [False, True]]) p = self.l > self.y msg = printfail(t, p.x, 'x') - self.assert_((t == p.x).all(), msg) + self.assertTrue((t == p.x).all(), msg) label = [[0, 1, 2], [0, 1]] - self.assert_(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) def test_gt_3(self): "larry.__gt___3" @@ -1865,28 +1865,28 @@ [False, False]]) p = self.l > self.l msg = printfail(t, p.x, 'x') - self.assert_((t == p.x).all(), msg) + self.assertTrue((t == p.x).all(), msg) label = [[0, 1, 2], [0, 1]] - self.assert_(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) def test_gt_4(self): "larry.__gt___4" date = datetime.date(2004, 1, 1) - self.failUnlessRaises(TypeError, self.l.__gt__, date) + self.assertRaises(TypeError, self.l.__gt__, date) def test_gt_5(self): "larry.__gt___5" lar = la.larry([1, 2, 3]) actual = lar > 'a' desired = lar.x > 'a' - self.assert_(actual == desired, "failed") + self.assertTrue(actual == desired, "failed") def test_gt_6(self): "larry.__gt___6" lar = la.larry(['a', 'b', 'c']) actual = lar > 1 desired = lar.x > 1 - self.assert_(actual == desired, "failed") + self.assertTrue(actual == desired, "failed") def test_le_1(self): "larry.__le___1" @@ -1895,9 +1895,9 @@ [ True, False]]) p = self.l <= 1.0 msg = printfail(t, p.x, 'x') - self.assert_((t == p.x).all(), msg) + self.assertTrue((t == p.x).all(), msg) label = [[0, 1, 2], [0, 1]] - self.assert_(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) def test_le_2(self): "larry.__le___2" @@ -1906,9 +1906,9 @@ [ True, False]]) p = self.l <= self.y msg = printfail(t, p.x, 'x') - self.assert_((t == p.x).all(), msg) + self.assertTrue((t == p.x).all(), msg) label = [[0, 1, 2], [0, 1]] - self.assert_(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) def test_le_3(self): "larry.__le___3" @@ -1917,28 +1917,28 @@ [ True, True]]) p = self.l <= self.l msg = printfail(t, p.x, 'x') - self.assert_((t == p.x).all(), msg) + self.assertTrue((t == p.x).all(), msg) label = [[0, 1, 2], [0, 1]] - self.assert_(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) def test_le_4(self): "larry.__le___4" date = datetime.date(2004, 1, 1) - self.failUnlessRaises(TypeError, self.l.__le__, date) + self.assertRaises(TypeError, self.l.__le__, date) def test_le_5(self): "larry.__le___5" lar = la.larry([1, 2, 3]) actual = lar <= 'a' desired = lar.x <= 'a' - self.assert_(actual == desired, "failed") + self.assertTrue(actual == desired, "failed") def test_le_6(self): "larry.__le___6" lar = la.larry(['a', 'b', 'c']) actual = lar <= 1 desired = lar.x <= 1 - self.assert_(actual == desired, "failed") + self.assertTrue(actual == desired, "failed") def test_ge_1(self): "larry.__ge___1" @@ -1947,9 +1947,9 @@ [ True, True]]) p = self.l >= 1.0 msg = printfail(t, p.x, 'x') - self.assert_((t == p.x).all(), msg) + self.assertTrue((t == p.x).all(), msg) label = [[0, 1, 2], [0, 1]] - self.assert_(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) def test_ge_2(self): "larry.__ge___2" @@ -1958,9 +1958,9 @@ [ True, True]]) p = self.l >= self.y msg = printfail(t, p.x, 'x') - self.assert_((t == p.x).all(), msg) + self.assertTrue((t == p.x).all(), msg) label = [[0, 1, 2], [0, 1]] - self.assert_(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) def test_ge_3(self): "larry.__ge___3" @@ -1969,23 +1969,23 @@ [ True, True]]) p = self.l >= self.l msg = printfail(t, p.x, 'x') - self.assert_((t == p.x).all(), msg) + self.assertTrue((t == p.x).all(), msg) label = [[0, 1, 2], [0, 1]] - self.assert_(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) def test_ge_4(self): "larry.__ge___4" lar = la.larry([1, 2, 3]) actual = lar >= 'a' desired = lar.x >= 'a' - self.assert_(actual == desired, "failed") + self.assertTrue(actual == desired, "failed") def test_ge_5(self): "larry.__ge___5" lar = la.larry(['a', 'b', 'c']) actual = lar >= 1 desired = lar.x >= 1 - self.assert_(actual == desired, "failed") + self.assertTrue(actual == desired, "failed") class Test_anyall(unittest.TestCase): @@ -1998,7 +1998,7 @@ self.x4 = np.array([[True, True]]) self.x5 = np.array([[True, False]]) - label = [range(self.x1.shape[0]), range(self.x1.shape[1])] + label = [list(range(self.x1.shape[0])), list(range(self.x1.shape[1]))] self.d1 = larry(self.x1, label) self.d2 = larry(self.x2) self.d3 = larry(self.x3, label) @@ -2010,70 +2010,70 @@ t = True p = self.d1.any() msg = printfail(t, p, 'Truth') - self.assert_(t == p, msg) + self.assertTrue(t == p, msg) def test_any_2(self): "larry.any_2" t = True p = self.d2.any() msg = printfail(t, p, 'Truth') - self.assert_(t == p, msg) + self.assertTrue(t == p, msg) def test_any_3(self): "larry.any_3" t = True p = self.d3.any() msg = printfail(t, p, 'Truth') - self.assert_(t == p, msg) + self.assertTrue(t == p, msg) def test_any_4(self): "larry.any_4" t = True p = self.d4.any() msg = printfail(t, p, 'Truth') - self.assert_(t == p, msg) + self.assertTrue(t == p, msg) def test_any_5(self): "larry.any_5" t = True p = self.d5.any() msg = printfail(t, p, 'Truth') - self.assert_(t == p, msg) + self.assertTrue(t == p, msg) def test_all_1(self): "larry.all_1" t = True p = self.d1.all() msg = printfail(t, p, 'Truth') - self.assert_(t == p, msg) + self.assertTrue(t == p, msg) def test_all_2(self): "larry.all_2" t = False p = self.d2.all() msg = printfail(t, p, 'Truth') - self.assert_(t == p, msg) + self.assertTrue(t == p, msg) def test_all_3(self): "larry.all_3" t = True p = self.d3.all() msg = printfail(t, p, 'Truth') - self.assert_(t == p, msg) + self.assertTrue(t == p, msg) def test_all_4(self): "larry.all_4" t = True p = self.d4.all() msg = printfail(t, p, 'Truth') - self.assert_(t == p, msg) + self.assertTrue(t == p, msg) def test_all_5(self): "larry.all_5" t = False p = self.d5.all() msg = printfail(t, p, 'Truth') - self.assert_(t == p, msg) + self.assertTrue(t == p, msg) class Test_getset(unittest.TestCase): @@ -2096,9 +2096,9 @@ msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[np.isnan(p.x)] = self.nancode - self.assert_((abs(t - p.x) < self.tol).all(), msg) + self.assertTrue((abs(t - p.x) < self.tol).all(), msg) label = [[0, 1]] - self.assert_(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) def test_getitem_2(self): "larry.__getitem___2" @@ -2107,9 +2107,9 @@ msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[np.isnan(p.x)] = self.nancode - self.assert_((abs(t - p.x) < self.tol).all(), msg) + self.assertTrue((abs(t - p.x) < self.tol).all(), msg) label = [[0, 1]] - self.assert_(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) def test_getitem_3(self): "larry.__getitem___3" @@ -2118,16 +2118,16 @@ msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[np.isnan(p.x)] = self.nancode - self.assert_((abs(t - p.x) < self.tol).all(), msg) + self.assertTrue((abs(t - p.x) < self.tol).all(), msg) label = [[0, 1]] - self.assert_(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) def test_getitem_4(self): "larry.__getitem___4" t = 4.0 p = self.l[1,1] msg = printfail(t, p, 'x') - self.assert_((abs(t - p) < self.tol).all(), msg) + self.assertTrue((abs(t - p) < self.tol).all(), msg) def test_getitem_5(self): "larry.__getitem___5" @@ -2139,9 +2139,9 @@ msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[np.isnan(p.x)] = self.nancode - self.assert_((abs(t - p.x) < self.tol).all(), msg) + self.assertTrue((abs(t - p.x) < self.tol).all(), msg) label = [[1, 2], [0, 1]] - self.assert_(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) def test_getitem_6(self): "larry.__getitem___6" @@ -2151,9 +2151,9 @@ msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[np.isnan(p.x)] = self.nancode - self.assert_((abs(t - p.x) < self.tol).all(), msg) + self.assertTrue((abs(t - p.x) < self.tol).all(), msg) label = [[0, 1], [0, 1]] - self.assert_(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) def test_getitem_7(self): "larry.__getitem___7" @@ -2164,27 +2164,27 @@ def test_getitem_8(self): "larry.__getitem___8" - self.failUnlessRaises(IndexError, self.l.__getitem__, 100) + self.assertRaises(IndexError, self.l.__getitem__, 100) def test_getitem_9(self): "larry.__getitem___9" - self.failUnlessRaises(IndexError, self.l.__getitem__, 'a') + self.assertRaises(IndexError, self.l.__getitem__, 'a') def test_getitem_10(self): "larry.__getitem___10" t = 1 p = self.l2[1] msg = printfail(t, p, 'x') - self.assert_((abs(t - p) < self.tol).all(), msg) + self.assertTrue((abs(t - p) < self.tol).all(), msg) def test_getitem_11(self): "larry.__getitem___11" t = np.array([0, 1]) p = self.l2[:2] msg = printfail(t, p.x, 'x') - self.assert_((abs(t - p.x) < self.tol).all(), msg) + self.assertTrue((abs(t - p.x) < self.tol).all(), msg) label = [[0, 1]] - self.assert_(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) def test_getitem_12(self): "larry.__getitem___12" @@ -2195,9 +2195,9 @@ msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[np.isnan(p.x)] = self.nancode - self.assert_((abs(t - p.x) < self.tol).all(), msg) + self.assertTrue((abs(t - p.x) < self.tol).all(), msg) label = [[0, 2, 1], [0, 1]] - self.assert_(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) def test_getitem_13(self): "larry.__getitem___13" @@ -2208,9 +2208,9 @@ msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[np.isnan(p.x)] = self.nancode - self.assert_((abs(t - p.x) < self.tol).all(), msg) + self.assertTrue((abs(t - p.x) < self.tol).all(), msg) label = [[0, 2, 1], [0, 1]] - self.assert_(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) def test_getitem_14(self): "larry.__getitem___14" @@ -2220,13 +2220,13 @@ msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[np.isnan(p.x)] = self.nancode - self.assert_((abs(t - p.x) < self.tol).all(), msg) + self.assertTrue((abs(t - p.x) < self.tol).all(), msg) label = [[1, 0], [0, 1]] - self.assert_(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) def test_getitem_15(self): "larry.__getitem___15" - self.failUnlessRaises(ValueError, self.l.__getitem__, [0,1,0]) + self.assertRaises(ValueError, self.l.__getitem__, [0,1,0]) def test_getitem_16(self): "larry.__getitem___16" @@ -2235,9 +2235,9 @@ msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[np.isnan(p.x)] = self.nancode - self.assert_((abs(t - p.x) < self.tol).all(), msg) + self.assertTrue((abs(t - p.x) < self.tol).all(), msg) label = [[0], [0, 1]] - self.assert_(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) def test_getitem_17(self): "larry.__getitem___17" @@ -2248,9 +2248,9 @@ msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[np.isnan(p.x)] = self.nancode - self.assert_((abs(t - p.x) < self.tol).all(), msg) + self.assertTrue((abs(t - p.x) < self.tol).all(), msg) label = [[0, 1, 2], [0]] - self.assert_(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) def test_getitem_18(self): "larry.__getitem___18" @@ -2259,16 +2259,16 @@ msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[np.isnan(p.x)] = self.nancode - self.assert_((abs(t - p.x) < self.tol).all(), msg) + self.assertTrue((abs(t - p.x) < self.tol).all(), msg) label = [[0, 1]] - self.assert_(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) def test_getitem_19(self): "larry.__getitem___19" t = 4.0 p = self.l[1.1,1.1] msg = printfail(t, p, 'x') - self.assert_((abs(t - p) < self.tol).all(), msg) + self.assertTrue((abs(t - p) < self.tol).all(), msg) def test_getitem_20(self): "larry.__getitem___20" @@ -2288,7 +2288,7 @@ lar = larry([None, None]) desired = None actual = lar[0] - self.assert_(actual==desired, "Indexing object dtype failed.") + self.assertTrue(actual==desired, "Indexing object dtype failed.") def test_getitem_23(self): "larry.__getitem___23" @@ -2328,9 +2328,9 @@ msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[np.isnan(p.x)] = self.nancode - self.assert_((abs(t - p.x) < self.tol).all(), msg) + self.assertTrue((abs(t - p.x) < self.tol).all(), msg) label = [[0, 1, 2], [0, 1]] - self.assert_(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) def test_setitem_2(self): "larry.__setitem___2" @@ -2342,9 +2342,9 @@ msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[np.isnan(p.x)] = self.nancode - self.assert_((abs(t - p.x) < self.tol).all(), msg) + self.assertTrue((abs(t - p.x) < self.tol).all(), msg) label = [[0, 1, 2], [0, 1]] - self.assert_(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) def test_setitem_3(self): "larry.__setitem___3" @@ -2358,9 +2358,9 @@ msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[np.isnan(p.x)] = self.nancode - self.assert_((abs(t - p.x) < self.tol).all(), msg) + self.assertTrue((abs(t - p.x) < self.tol).all(), msg) label = [[0, 1, 2], [0, 1]] - self.assert_(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) def test_setitem_4(self): "larry.__setitem___4" @@ -2372,9 +2372,9 @@ msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[np.isnan(p.x)] = self.nancode - self.assert_((abs(t - p.x) < self.tol).all(), msg) + self.assertTrue((abs(t - p.x) < self.tol).all(), msg) label = [[0, 1, 2], [0, 1]] - self.assert_(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) def test_setitem_5(self): "larry.__setitem___5" @@ -2382,9 +2382,9 @@ p = self.l2 p[-1] = 9 msg = printfail(t, p.x, 'x') - self.assert_((abs(t - p.x) < self.tol).all(), msg) + self.assertTrue((abs(t - p.x) < self.tol).all(), msg) label = [[0, 1, 2, 3]] - self.assert_(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) def test_setitem_6(self): "larry.__setitem___6" @@ -2392,9 +2392,9 @@ p = self.l2 p[:] = [0, 1, 2, 3] msg = printfail(t, p.x, 'x') - self.assert_((abs(t - p.x) < self.tol).all(), msg) + self.assertTrue((abs(t - p.x) < self.tol).all(), msg) label = [[0, 1, 2, 3]] - self.assert_(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) def test_setitem_7(self): "larry.__setitem___7" @@ -2402,9 +2402,9 @@ p = self.l2 p[1:] = [9, 8, 7] msg = printfail(t, p.x, 'x') - self.assert_((abs(t - p.x) < self.tol).all(), msg) + self.assertTrue((abs(t - p.x) < self.tol).all(), msg) label = [[0, 1, 2, 3]] - self.assert_(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) def test_setitem_8(self): "larry.__setitem___8" @@ -2412,9 +2412,9 @@ p = self.l2 p[:-1] = larry([9, 8, 7]) msg = printfail(t, p.x, 'x') - self.assert_((abs(t - p.x) < self.tol).all(), msg) + self.assertTrue((abs(t - p.x) < self.tol).all(), msg) label = [[0, 1, 2, 3]] - self.assert_(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) def test_setitem_9(self): "larry.__setitem___9" @@ -2426,9 +2426,9 @@ msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[np.isnan(p.x)] = self.nancode - self.assert_((abs(t - p.x) < self.tol).all(), msg) + self.assertTrue((abs(t - p.x) < self.tol).all(), msg) label = [[0, 1, 2], [0, 1]] - self.assert_(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) def test_set_1(self): "larry.set_1" @@ -2440,16 +2440,16 @@ msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[np.isnan(p.x)] = self.nancode - self.assert_((abs(t - p.x) < self.tol).all(), msg) + self.assertTrue((abs(t - p.x) < self.tol).all(), msg) label = [[0, 1, 2], [0, 1]] - self.assert_(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) def test_get_1(self): "larry.get_1" t = 3.0 p = self.l.get([1,0]) msg = printfail(t, p, 'x') - self.assert_((abs(t - p) < self.tol).all(), msg) + self.assertTrue((abs(t - p) < self.tol).all(), msg) def test_getx_1(self): "larry.getx_1" @@ -2460,8 +2460,8 @@ msg = printfail(t, p, 'x') t[np.isnan(t)] = self.nancode p[np.isnan(p)] = self.nancode - self.assert_((abs(t - p) < self.tol).all(), msg) - self.assert_(p is not self.x, 'reference but should be copy') + self.assertTrue((abs(t - p) < self.tol).all(), msg) + self.assertTrue(p is not self.x, 'reference but should be copy') def test_getx_2(self): "larry.getx_2" @@ -2472,16 +2472,16 @@ msg = printfail(t, p, 'x') t[np.isnan(t)] = self.nancode p[np.isnan(p)] = self.nancode - self.assert_((abs(t - p) < self.tol).all(), msg) - self.assert_(p is self.x, 'copy but should be reference') + self.assertTrue((abs(t - p) < self.tol).all(), msg) + self.assertTrue(p is self.x, 'copy but should be reference') def test_getx_3(self): "larry.getx_3" t = np.array([0, 1, 2, 3]) p = self.l2.getx(copy=True) msg = printfail(t, p, 'x') - self.assert_((abs(t - p) < self.tol).all(), msg) - self.assert_(p is not self.x, 'reference but should be copy') + self.assertTrue((abs(t - p) < self.tol).all(), msg) + self.assertTrue(p is not self.x, 'reference but should be copy') def test_fill_1(self): "larry.fill_1" @@ -2493,9 +2493,9 @@ msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[np.isnan(p.x)] = self.nancode - self.assert_((abs(t - p.x) < self.tol).all(), msg) + self.assertTrue((abs(t - p.x) < self.tol).all(), msg) label = [[0, 1, 2], [0, 1]] - self.assert_(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) def test_pull_1(self): "larry.pull_1" @@ -2533,135 +2533,135 @@ "larry.maxlabel_1" t = 2 p = self.l.maxlabel() - self.assert_(t == p, printfail(t, p, 'label')) + self.assertTrue(t == p, printfail(t, p, 'label')) def test_maxlabel_2(self): "larry.maxlabel_2" t = 2 p = self.l.maxlabel(0) - self.assert_(t == p, printfail(t, p, 'label')) + self.assertTrue(t == p, printfail(t, p, 'label')) def test_maxlabel_3(self): "larry.maxlabel_3" t = 1 p = self.l.maxlabel(1) - self.assert_(t == p, printfail(t, p, 'label')) + self.assertTrue(t == p, printfail(t, p, 'label')) def test_maxlabel_4(self): "larry.maxlabel_4" t = 3 p = self.l2.maxlabel() - self.assert_(t == p, printfail(t, p, 'label')) + self.assertTrue(t == p, printfail(t, p, 'label')) def test_maxlabel_5(self): "larry.maxlabel_5" - self.failUnlessRaises(IndexError, self.l2.maxlabel, 1) + self.assertRaises(IndexError, self.l2.maxlabel, 1) def test_minlabel_1(self): "larry.minlabel_1" t = 0 p = self.l.minlabel() - self.assert_(t == p, printfail(t, p, 'label')) + self.assertTrue(t == p, printfail(t, p, 'label')) def test_minlabel_2(self): "larry.minlabel_2" t = 0 p = self.l.minlabel(0) - self.assert_(t == p, printfail(t, p, 'label')) + self.assertTrue(t == p, printfail(t, p, 'label')) def test_minlabel_3(self): "larry.minlabel_3" t = 0 p = self.l.minlabel(1) - self.assert_(t == p, printfail(t, p, 'label')) + self.assertTrue(t == p, printfail(t, p, 'label')) def test_minlabel_4(self): "larry.minlabel_4" t = 0 p = self.l2.minlabel() - self.assert_(t == p, printfail(t, p, 'label')) + self.assertTrue(t == p, printfail(t, p, 'label')) def test_minlabel_5(self): "larry.minlabel_5" - self.failUnlessRaises(IndexError, self.l2.minlabel, 1) + self.assertRaises(IndexError, self.l2.minlabel, 1) def test_getlabel_1(self): "larry.getlabel_1" t = [0, 1, 2] axis = 0 p = self.l.getlabel(axis, copy=True) - self.assert_(t == p, printfail(t, p, 'label0')) - self.assert_(p is not self.l.label[axis], 'reference but should be copy') + self.assertTrue(t == p, printfail(t, p, 'label0')) + self.assertTrue(p is not self.l.label[axis], 'reference but should be copy') def test_getlabel_2(self): "larry.getlabel_2" t = [0, 1, 2] axis = 0 p = self.l.getlabel(axis, copy=False) - self.assert_(t == p, printfail(t, p, 'label0')) - self.assert_(p is self.l.label[axis], 'copy but should be reference') + self.assertTrue(t == p, printfail(t, p, 'label0')) + self.assertTrue(p is self.l.label[axis], 'copy but should be reference') def test_getlabel_3(self): "larry.getlabel_3" t = [0, 1] axis = 1 p = self.l.getlabel(axis, copy=True) - self.assert_(t == p, printfail(t, p, 'label0')) - self.assert_(p is not self.l.label[axis], 'reference but should be copy') + self.assertTrue(t == p, printfail(t, p, 'label0')) + self.assertTrue(p is not self.l.label[axis], 'reference but should be copy') def test_getlabel_4(self): "larry.getlabel_4" t = [0, 1] axis = 1 p = self.l.getlabel(axis, copy=False) - self.assert_(t == p, printfail(t, p, 'label0')) - self.assert_(p is self.l.label[axis], 'copy but should be reference') + self.assertTrue(t == p, printfail(t, p, 'label0')) + self.assertTrue(p is self.l.label[axis], 'copy but should be reference') def test_getlabel_5(self): "larry.getlabel_5" t = [0, 1, 2, 3] axis = 0 p = self.l2.getlabel(axis, copy=True) - self.assert_(t == p, printfail(t, p, 'label0')) - self.assert_(p is not self.l2.label[axis], 'reference but should be copy') + self.assertTrue(t == p, printfail(t, p, 'label0')) + self.assertTrue(p is not self.l2.label[axis], 'reference but should be copy') def test_labelindex_1(self): "larry.labelindex_1" t = 2 axis = 0 p = self.l.labelindex(2, axis) - self.assert_(t == p, printfail(t, p, 'label')) + self.assertTrue(t == p, printfail(t, p, 'label')) def test_labelindex_2(self): "larry.labelindex_2" t = 1 axis = 1 p = self.l.labelindex(1, axis) - self.assert_(t == p, printfail(t, p, 'label0')) + self.assertTrue(t == p, printfail(t, p, 'label0')) def test_labelindex_3(self): "larry.labelindex_3" - self.failUnlessRaises(ValueError, self.l.labelindex, 3, None) + self.assertRaises(ValueError, self.l.labelindex, 3, None) def test_labelindex_4(self): "larry.labelindex_4" t = 3 axis = 0 p = self.l2.labelindex(3, axis) - self.assert_(t == p, printfail(t, p, 'label')) + self.assertTrue(t == p, printfail(t, p, 'label')) def test_maplabel_1(self): "label.maplabel_1" d = datetime.date y1 = larry([1, 2], [[d(2010,1,1), d(2010,1,2)]]) y2 = y1.maplabel(datetime.date.toordinal) - self.assert_(y2.label == [[733773, 733774]], 'Did not map correctly') - self.assert_((y2.x == np.array([1, 2])).all(), 'x values changed') + self.assertTrue(y2.label == [[733773, 733774]], 'Did not map correctly') + self.assertTrue((y2.x == np.array([1, 2])).all(), 'x values changed') def func(x): return x + 1 y3 = y2.maplabel(func) - self.assert_(y3.label == [[733774, 733775]], 'Did not map correctly') - self.assert_((y2.x == np.array([1, 2])).all(), 'x values changed') + self.assertTrue(y3.label == [[733774, 733775]], 'Did not map correctly') + self.assertTrue((y2.x == np.array([1, 2])).all(), 'x values changed') class Test_calc(unittest.TestCase): "Test calc functions of larry class" @@ -2706,9 +2706,9 @@ msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[p.isnan()] = self.nancode - self.assert_((abs(t - p.x) < self.tol).all(), msg) - self.assert_(label == p.label, printfail(label, p.label, 'label')) - self.assert_(noreference(p, self.l2), 'Reference found') + self.assertTrue((abs(t - p.x) < self.tol).all(), msg) + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(noreference(p, self.l2), 'Reference found') def test_demean_2(self): "larry.demean_2" @@ -2720,9 +2720,9 @@ msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[p.isnan()] = self.nancode - self.assert_((abs(t - p.x) < self.tol).all(), msg) - self.assert_(label == p.label, printfail(label, p.label, 'label')) - self.assert_(noreference(p, self.l2), 'Reference found') + self.assertTrue((abs(t - p.x) < self.tol).all(), msg) + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(noreference(p, self.l2), 'Reference found') def test_demean_3(self): "larry.demean_3" @@ -2730,9 +2730,9 @@ label = [[0, 1, 2, 3, 4]] p = self.l3.demean(0) msg = printfail(t, p.x, 'x') - self.assert_((abs(t - p.x) < self.tol).all(), msg) - self.assert_(label == p.label, printfail(label, p.label, 'label')) - self.assert_(noreference(p, self.l3), 'Reference found') + self.assertTrue((abs(t - p.x) < self.tol).all(), msg) + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(noreference(p, self.l3), 'Reference found') def test_demean_4(self): "larry.demean_4" @@ -2740,8 +2740,8 @@ label = [[0, 1]] p = larry([1, 2]).demean(0) msg = printfail(t, p.x, 'x') - self.assert_((abs(t - p.x) < self.tol).all(), msg) - self.assert_(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue((abs(t - p.x) < self.tol).all(), msg) + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) def test_demean_5(self): "larry.demean_5" @@ -2760,9 +2760,9 @@ msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[p.isnan()] = self.nancode - self.assert_((abs(t - p.x) < self.tol).all(), msg) - self.assert_(label == p.label, printfail(label, p.label, 'label')) - self.assert_(noreference(p, self.l2), 'Reference found') + self.assertTrue((abs(t - p.x) < self.tol).all(), msg) + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(noreference(p, self.l2), 'Reference found') def test_demedian_2(self): "larry.demedian_2" @@ -2774,9 +2774,9 @@ msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[p.isnan()] = self.nancode - self.assert_((abs(t - p.x) < self.tol).all(), msg) - self.assert_(label == p.label, printfail(label, p.label, 'label')) - self.assert_(noreference(p, self.l2), 'Reference found') + self.assertTrue((abs(t - p.x) < self.tol).all(), msg) + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(noreference(p, self.l2), 'Reference found') def test_demedian_3(self): "larry.demedian_3" @@ -2784,9 +2784,9 @@ label = [[0, 1, 2, 3, 4]] p = self.l3.demedian(0) msg = printfail(t, p.x, 'x') - self.assert_((abs(t - p.x) < self.tol).all(), msg) - self.assert_(label == p.label, printfail(label, p.label, 'label')) - self.assert_(noreference(p, self.l3), 'Reference found') + self.assertTrue((abs(t - p.x) < self.tol).all(), msg) + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(noreference(p, self.l3), 'Reference found') def test_demedian_4(self): "larry.demedian_4" @@ -2794,8 +2794,8 @@ label = [[0, 1]] p = larry([1, 2]).demedian(0) msg = printfail(t, p.x, 'x') - self.assert_((abs(t - p.x) < self.tol).all(), msg) - self.assert_(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue((abs(t - p.x) < self.tol).all(), msg) + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) def test_demedian_5(self): "larry.demedian_5" @@ -2816,9 +2816,9 @@ msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[p.isnan()] = self.nancode - self.assert_((abs(t - p.x) < self.tol).all(), msg) - self.assert_(label == p.label, printfail(label, p.label, 'label')) - self.assert_(noreference(p, self.l1), 'Reference found') + self.assertTrue((abs(t - p.x) < self.tol).all(), msg) + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(noreference(p, self.l1), 'Reference found') def test_zscore_2(self): "larry.zscore_2" @@ -2832,9 +2832,9 @@ msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[p.isnan()] = self.nancode - self.assert_((abs(t - p.x) < self.tol).all(), msg) - self.assert_(label == p.label, printfail(label, p.label, 'label')) - self.assert_(noreference(p, self.l1), 'Reference found') + self.assertTrue((abs(t - p.x) < self.tol).all(), msg) + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(noreference(p, self.l1), 'Reference found') def test_zscore_3(self): "larry.zscore_3" @@ -2846,9 +2846,9 @@ msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[p.isnan()] = self.nancode - self.assert_((abs(t - p.x) < self.tol).all(), msg) - self.assert_(label == p.label, printfail(label, p.label, 'label')) - self.assert_(noreference(p, self.l3), 'Reference found') + self.assertTrue((abs(t - p.x) < self.tol).all(), msg) + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(noreference(p, self.l3), 'Reference found') def test_zscore_4(self): "larry.zscore_4" @@ -2868,9 +2868,9 @@ msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[p.isnan()] = self.nancode - self.assert_((abs(t - p.x) < self.tol).all(), msg) - self.assert_(label == p.label, printfail(label, p.label, 'label')) - self.assert_(noreference(p, self.l4), 'Reference found') + self.assertTrue((abs(t - p.x) < self.tol).all(), msg) + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(noreference(p, self.l4), 'Reference found') def test_push_2(self): "larry.push_2" @@ -2883,9 +2883,9 @@ msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[p.isnan()] = self.nancode - self.assert_((abs(t - p.x) < self.tol).all(), msg) - self.assert_(label == p.label, printfail(label, p.label, 'label')) - self.assert_(noreference(p, self.l4), 'Reference found') + self.assertTrue((abs(t - p.x) < self.tol).all(), msg) + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(noreference(p, self.l4), 'Reference found') def test_push_3(self): "larry.push_3" @@ -2898,9 +2898,9 @@ msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[p.isnan()] = self.nancode - self.assert_((abs(t - p.x) < self.tol).all(), msg) - self.assert_(label == p.label, printfail(label, p.label, 'label')) - self.assert_(noreference(p, self.l4), 'Reference found') + self.assertTrue((abs(t - p.x) < self.tol).all(), msg) + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(noreference(p, self.l4), 'Reference found') def test_move_sum_1(self): @@ -2916,9 +2916,9 @@ msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[p.isnan()] = self.nancode - self.assert_((abs(t - p.x) < self.tol).all(), msg) - self.assert_(label == p.label, printfail(label, p.label, 'label')) - self.assert_(noreference(p, self.l1), 'Reference found') + self.assertTrue((abs(t - p.x) < self.tol).all(), msg) + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(noreference(p, self.l1), 'Reference found') def test_move_sum_2(self): "larry.move_sum_2" @@ -2933,9 +2933,9 @@ msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[p.isnan()] = self.nancode - self.assert_((abs(t - p.x) < self.tol).all(), msg) - self.assert_(label == p.label, printfail(label, p.label, 'label')) - self.assert_(noreference(p, self.l1), 'Reference found') + self.assertTrue((abs(t - p.x) < self.tol).all(), msg) + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(noreference(p, self.l1), 'Reference found') def test_move_sum_3(self): "larry.move_sum_3" @@ -2949,9 +2949,9 @@ msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[p.isnan()] = self.nancode - self.assert_((abs(t - p.x) < self.tol).all(), msg) - self.assert_(label == p.label, printfail(label, p.label, 'label')) - self.assert_(noreference(p, self.l1), 'Reference found') + self.assertTrue((abs(t - p.x) < self.tol).all(), msg) + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(noreference(p, self.l1), 'Reference found') def test_move_sum_4(self): "larry.move_sum_4" @@ -2963,9 +2963,9 @@ msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[p.isnan()] = self.nancode - self.assert_((abs(t - p.x) < self.tol).all(), msg) - self.assert_(label == p.label, printfail(label, p.label, 'label')) - self.assert_(noreference(p, self.l1), 'Reference found') + self.assertTrue((abs(t - p.x) < self.tol).all(), msg) + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(noreference(p, self.l1), 'Reference found') def test_move_sum_5(self): "larry.move_sum_5" @@ -2980,9 +2980,9 @@ msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[p.isnan()] = self.nancode - self.assert_((abs(t - p.x) < self.tol).all(), msg) - self.assert_(label == p.label, printfail(label, p.label, 'label')) - self.assert_(noreference(p, self.l2), 'Reference found') + self.assertTrue((abs(t - p.x) < self.tol).all(), msg) + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(noreference(p, self.l2), 'Reference found') def test_move_sum_7(self): @@ -2995,9 +2995,9 @@ msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[p.isnan()] = self.nancode - self.assert_((abs(t - p.x) < self.tol).all(), msg) - self.assert_(label == p.label, printfail(label, p.label, 'label')) - self.assert_(noreference(p, self.l2), 'Reference found') + self.assertTrue((abs(t - p.x) < self.tol).all(), msg) + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(noreference(p, self.l2), 'Reference found') def test_move_sum_8(self): "larry.move_sum_8" @@ -3009,9 +3009,9 @@ msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[p.isnan()] = self.nancode - self.assert_((abs(t - p.x) < self.tol).all(), msg) - self.assert_(label == p.label, printfail(label, p.label, 'label')) - self.assert_(noreference(p, self.l2), 'Reference found') + self.assertTrue((abs(t - p.x) < self.tol).all(), msg) + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(noreference(p, self.l2), 'Reference found') def test_move_sum_9(self): "larry.move_sum_9" @@ -3021,9 +3021,9 @@ msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[p.isnan()] = self.nancode - self.assert_((abs(t - p.x) < self.tol).all(), msg) - self.assert_(label == p.label, printfail(label, p.label, 'label')) - self.assert_(noreference(p, self.l3), 'Reference found') + self.assertTrue((abs(t - p.x) < self.tol).all(), msg) + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(noreference(p, self.l3), 'Reference found') def test_move_sum_10(self): "larry.move_sum_10" @@ -3040,9 +3040,9 @@ msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[p.isnan()] = self.nancode - self.assert_((abs(t - p.x) < self.tol).all(), msg) - self.assert_(label == p.label, printfail(label, p.label, 'label')) - self.assert_(noreference(p, self.l5), 'Reference found') + self.assertTrue((abs(t - p.x) < self.tol).all(), msg) + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(noreference(p, self.l5), 'Reference found') def test_movingsum_forward_2(self): "larry.movingsum_forward_2" @@ -3054,9 +3054,9 @@ msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[p.isnan()] = self.nancode - self.assert_((abs(t - p.x) < self.tol).all(), msg) - self.assert_(label == p.label, printfail(label, p.label, 'label')) - self.assert_(noreference(p, self.l5), 'Reference found') + self.assertTrue((abs(t - p.x) < self.tol).all(), msg) + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(noreference(p, self.l5), 'Reference found') def test_movingsum_forward_3(self): "larry.movingsum_forward_3" @@ -3068,9 +3068,9 @@ msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[p.isnan()] = self.nancode - self.assert_((abs(t - p.x) < self.tol).all(), msg) - self.assert_(label == p.label, printfail(label, p.label, 'label')) - self.assert_(noreference(p, self.l5), 'Reference found') + self.assertTrue((abs(t - p.x) < self.tol).all(), msg) + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(noreference(p, self.l5), 'Reference found') def test_movingsum_forward_4(self): "larry.movingsum_forward_4" @@ -3082,9 +3082,9 @@ msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[p.isnan()] = self.nancode - self.assert_((abs(t - p.x) < self.tol).all(), msg) - self.assert_(label == p.label, printfail(label, p.label, 'label')) - self.assert_(noreference(p, self.l5), 'Reference found') + self.assertTrue((abs(t - p.x) < self.tol).all(), msg) + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(noreference(p, self.l5), 'Reference found') def test_movingsum_forward_5(self): "larry.movingsum_forward_5" @@ -3096,9 +3096,9 @@ msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[p.isnan()] = self.nancode - self.assert_((abs(t - p.x) < self.tol).all(), msg) - self.assert_(label == p.label, printfail(label, p.label, 'label')) - self.assert_(noreference(p, self.l5), 'Reference found') + self.assertTrue((abs(t - p.x) < self.tol).all(), msg) + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(noreference(p, self.l5), 'Reference found') def test_ranking_1(self): "larry.ranking_1" @@ -3111,7 +3111,7 @@ [ 1.0, 1.0, 1.0, 0.0, nan]]) with np.errstate(invalid='ignore', divide='ignore'): p = lx.ranking(axis=0) - label = [range(3), range(5)] + label = [list(range(3)), list(range(5))] t = la.larry(t, label) ale(p, t, original=lx) @@ -3126,7 +3126,7 @@ [ 1.0, 1.0, 1.0, 0.0, nan]]) with np.errstate(invalid='ignore', divide='ignore'): p = lx.ranking() - label = [range(3), range(5)] + label = [list(range(3)), list(range(5))] t = la.larry(t, label) ale(p, t, original=lx) @@ -3142,7 +3142,7 @@ [ 0.0, 0.0, 0.0, 0.0, nan], [ 1.0, 0.0, 0.5, -0.5, -1.0]]) p = lx.ranking(axis=1) - label = [range(4), range(5)] + label = [list(range(4)), list(range(5))] t = la.larry(t, label) ale(p, t, original=lx) @@ -3152,7 +3152,7 @@ lx = larry(x) t = np.array([[1.0],[-1.0], [0.0]]) p = lx.ranking(axis=0) - label = [range(3), range(1)] + label = [list(range(3)), list(range(1))] t = la.larry(t, label) ale(p, t, original=lx) @@ -3163,7 +3163,7 @@ t = np.array([[0.0], [0.0], [0.0]]) with np.errstate(invalid='ignore', divide='ignore'): p = lx.ranking(axis=1) - label = [range(3), range(1)] + label = [list(range(3)), list(range(1))] t = la.larry(t, label) ale(p, t, original=lx) @@ -3180,7 +3180,7 @@ [ 0.0, 1.0, 0.5, -1.0, 0.0]]) with np.errstate(invalid='ignore', divide='ignore'): p = lx.ranking() - label = [range(4), range(5)] + label = [list(range(4)), list(range(5))] t = la.larry(t, label) ale(p, t, original=lx) @@ -3196,7 +3196,7 @@ [-1.0/3, 2.0/3, -1.0, 2.0/3, nan], [ 0.0, 1.0 , 0.0, 0.0 , -1.0]]) p = lx.ranking(1) - label = [range(4), range(5)] + label = [list(range(4)), list(range(5))] t = la.larry(t, label) ale(p, t, original=lx) @@ -3212,7 +3212,7 @@ [ 2.0/3, 1.0/3, 2.0/3, 0.0], [ 2.0/3, 1.0, 2.0/3, 1.0]]) p = lx.ranking(0) - label = [range(4), range(4)] + label = [list(range(4)), list(range(4))] t = la.larry(t, label) ale(p, t, original=lx) @@ -3230,7 +3230,7 @@ [ 2.0/3, 1.0, 2.0/3, 1.0]]) t = t.T p = lx.ranking(1) - label = [range(4), range(4)] + label = [list(range(4)), list(range(4))] t = la.larry(t, label) ale(p, t, original=lx) @@ -3244,7 +3244,7 @@ t = np.array([[ nan], [ nan], [ nan]]) - label = [range(3), range(1)] + label = [list(range(3)), list(range(1))] t = la.larry(t, label) ale(p, t, original=lx) @@ -3258,7 +3258,7 @@ t = np.array([[ nan, nan], [ nan, nan], [ nan, nan]]) - label = [range(3), range(2)] + label = [list(range(3)), list(range(2))] t = la.larry(t, label) ale(p, t, original=lx) @@ -3268,7 +3268,7 @@ lx = larry(x) p = lx.ranking(1) t = np.array([[ nan, nan, nan]]) - label = [range(1), range(3)] + label = [list(range(1)), list(range(3))] t = la.larry(t, label) ale(p, t, original=lx) @@ -3278,7 +3278,7 @@ lx = larry(x) p = lx.ranking(0) t = np.array([-1.0, 1.0, 0.0]) - label = [range(3)] + label = [list(range(3))] t = la.larry(t, label) ale(p, t, original=lx) @@ -3288,7 +3288,7 @@ lx = larry(x) p = lx.ranking(0) t = np.array([-1.0, nan, 0.0, 1.0]) - label = [range(4)] + label = [list(range(4))] t = la.larry(t, label) ale(p, t, original=lx) @@ -3298,7 +3298,7 @@ lx = larry(x) p = lx.ranking(None) t = np.array([-1.0, nan, 0.0, 1.0]) - label = [range(4)] + label = [list(range(4))] t = la.larry(t, label) ale(p, t, original=lx) @@ -3315,7 +3315,7 @@ [ 1.0, 1.0, -1.0, 1.0], [ 1.0, 1.0, -1.0, 1.0]]) t *= 8.0 / 15 - label = [range(4), range(4)] + label = [list(range(4)), list(range(4))] t = la.larry(t, label) ale(p, t, original=lx) @@ -3333,7 +3333,7 @@ [ 1.0, nan, -1.0, 1.0], [ 1.0, 0.0, -1.0, 1.0]]) t *= 8.0 / 13 - label = [range(4), range(4)] + label = [list(range(4)), list(range(4))] t = la.larry(t, label) ale(p, t, original=lx) @@ -3341,13 +3341,13 @@ "larry.movingrank_1" t = self.x6 p = self.l6.movingrank(2) - label = [range(2), range(5)] + label = [list(range(2)), list(range(5))] msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[p.isnan()] = self.nancode - self.assert_((abs(t - p.x) < self.tol).all(), msg) - self.assert_(label == p.label, printfail(label, p.label, 'label')) - self.assert_(noreference(p, self.l6), 'Reference found') + self.assertTrue((abs(t - p.x) < self.tol).all(), msg) + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(noreference(p, self.l6), 'Reference found') def test_movingrank_2(self): "larry.movingrank_2" @@ -3355,13 +3355,13 @@ [ nan,1.0,1.0,-1.0,-1.0]]) with np.errstate(invalid='ignore', divide='ignore'): p = self.l5.movingrank(2) - label = [range(2), range(5)] + label = [list(range(2)), list(range(5))] msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[p.isnan()] = self.nancode - self.assert_((abs(t - p.x) < self.tol).all(), msg) - self.assert_(label == p.label, printfail(label, p.label, 'label')) - self.assert_(noreference(p, self.l5), 'Reference found') + self.assertTrue((abs(t - p.x) < self.tol).all(), msg) + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(noreference(p, self.l5), 'Reference found') def test_movingrank_3(self): "larry.movingrank_3" @@ -3369,13 +3369,13 @@ [1.0, nan, 1.0, 0.0, -1.0]]) with np.errstate(invalid='ignore', divide='ignore'): p = self.l5.movingrank(2, axis=0) - label = [range(2), range(5)] + label = [list(range(2)), list(range(5))] msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[p.isnan()] = self.nancode - self.assert_((abs(t - p.x) < self.tol).all(), msg) - self.assert_(label == p.label, printfail(label, p.label, 'label')) - self.assert_(noreference(p, self.l5), 'Reference found') + self.assertTrue((abs(t - p.x) < self.tol).all(), msg) + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(noreference(p, self.l5), 'Reference found') def test_movingrank_4(self): "larry.movingrank_4" @@ -3384,20 +3384,20 @@ [nan, -1.0]]) with np.errstate(invalid='ignore', divide='ignore'): p = self.l7.movingrank(2) - label = [range(3), range(2)] + label = [list(range(3)), list(range(2))] msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[p.isnan()] = self.nancode - self.assert_((abs(t - p.x) < self.tol).all(), msg) - self.assert_(label == p.label, printfail(label, p.label, 'label')) - self.assert_(noreference(p, self.l7), 'Reference found') + self.assertTrue((abs(t - p.x) < self.tol).all(), msg) + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(noreference(p, self.l7), 'Reference found') def test_quantile_1(self): "larry.quantile_1" a = np.array([[-1., -1., 1., -1.], [ 1., 1., -1., -1.], [-1., -1., -1., 1.]]) - desired = larry(a, [range(3), range(4)]) + desired = larry(a, [list(range(3)), list(range(4))]) actual = self.l1.quantile(2) ale(actual, desired, "quantile", original=self.l1) @@ -3406,7 +3406,7 @@ a = np.array([[ 0., 0., 1., -1.], [ 1., 1., 0., 0.], [-1., -1., -1., 1.]]) - desired = larry(a, [range(3), range(4)]) + desired = larry(a, [list(range(3)), list(range(4))]) actual = self.l1.quantile(3) ale(actual, desired, "quantile", original=self.l1) @@ -3415,7 +3415,7 @@ a = np.array([[ 0., 0., 1., -1.], [ 1., 1., 1., -1.], [-1., -1., 0., 0.]]) - desired = larry(a, [range(3), range(4)]) + desired = larry(a, [list(range(3)), list(range(4))]) actual = self.l1.quantile(3, axis=None) ale(actual, desired, "quantile", original=self.l1) @@ -3443,14 +3443,14 @@ [ 1.0, nan, 2.0, nan, nan], [ 2.0, 2.0, nan, nan, nan], [ 3.0, 3.0, 3.0, 3.0, nan]]) - label = [range(4), range(5)] + label = [list(range(4)), list(range(5))] p = self.l4.cut_missing(0.9, axis=0) msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[p.isnan()] = self.nancode - self.assert_((abs(t - p.x) < self.tol).all(), msg) - self.assert_(label == p.label, printfail(label, p.label, 'label')) - self.assert_(noreference(p, self.l4), 'Reference found') + self.assertTrue((abs(t - p.x) < self.tol).all(), msg) + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(noreference(p, self.l4), 'Reference found') def test_cut_missing_2(self): "larry.cut_missing_2" @@ -3458,14 +3458,14 @@ [ 1.0, nan, 2.0, nan, nan], [ 2.0, 2.0, nan, nan, nan], [ 3.0, 3.0, 3.0, 3.0, nan]]) - label = [range(4), range(5)] + label = [list(range(4)), list(range(5))] p = self.l4.cut_missing(0.9, axis=1) msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[p.isnan()] = self.nancode - self.assert_((abs(t - p.x) < self.tol).all(), msg) - self.assert_(label == p.label, printfail(label, p.label, 'label')) - self.assert_(noreference(p, self.l4), 'Reference found') + self.assertTrue((abs(t - p.x) < self.tol).all(), msg) + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(noreference(p, self.l4), 'Reference found') def test_cut_missing_3(self): "larry.cut_missing_3" @@ -3473,27 +3473,27 @@ [ 1.0, nan, 2.0], [ 2.0, 2.0, nan], [ 3.0, 3.0, 3.0]]) - label = [range(4), range(3)] + label = [list(range(4)), list(range(3))] p = self.l4.cut_missing(0.5, axis=0) msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[p.isnan()] = self.nancode - self.assert_((abs(t - p.x) < self.tol).all(), msg) - self.assert_(label == p.label, printfail(label, p.label, 'label')) - self.assert_(noreference(p, self.l4), 'Reference found') + self.assertTrue((abs(t - p.x) < self.tol).all(), msg) + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(noreference(p, self.l4), 'Reference found') def test_cut_missing_4(self): "larry.cut_missing_4" t = np.array([[ nan, 1.0, 2.0, 3.0, 4.0], [ 3.0, 3.0, 3.0, 3.0, nan]]) - label = [[0, 3], range(5)] + label = [[0, 3], list(range(5))] p = self.l4.cut_missing(0.5, axis=1) msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[p.isnan()] = self.nancode - self.assert_((abs(t - p.x) < self.tol).all(), msg) - self.assert_(label == p.label, printfail(label, p.label, 'label')) - self.assert_(noreference(p, self.l4), 'Reference found') + self.assertTrue((abs(t - p.x) < self.tol).all(), msg) + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(noreference(p, self.l4), 'Reference found') def test_ismissing_1(self): "larry.ismissing_1" @@ -3552,10 +3552,10 @@ msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[np.isnan(p.x)] = self.nancode - self.assert_((abs(t - p.x) < self.tol).all(), msg) + self.assertTrue((abs(t - p.x) < self.tol).all(), msg) label = [label, [0, 1]] - self.assert_(label == p.label, printfail(label, p.label, 'label')) - self.assert_(noreference(p, self.l), 'Reference found') + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(noreference(p, self.l), 'Reference found') def test_morph_2(self): "larry.morph_2" @@ -3568,10 +3568,10 @@ msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[np.isnan(p.x)] = self.nancode - self.assert_((abs(t - p.x) < self.tol).all(), msg) + self.assertTrue((abs(t - p.x) < self.tol).all(), msg) label = [[0, 1, 2], label] - self.assert_(label == p.label, printfail(label, p.label, 'label')) - self.assert_(noreference(p, self.l), 'Reference found') + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(noreference(p, self.l), 'Reference found') def test_morph_3(self): "larry.morph_3" @@ -3584,10 +3584,10 @@ msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[np.isnan(p.x)] = self.nancode - self.assert_((abs(t - p.x) < self.tol).all(), msg) + self.assertTrue((abs(t - p.x) < self.tol).all(), msg) label = [label, [0, 1]] - self.assert_(label == p.label, printfail(label, p.label, 'label')) - self.assert_(noreference(p, self.l), 'Reference found') + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(noreference(p, self.l), 'Reference found') def test_morph_4(self): "larry.morph_4" @@ -3597,10 +3597,10 @@ axis = 0 p = l.morph(label, axis) msg = printfail(t, p.x, 'x') - self.assert_((t == p.x).all(), msg) + self.assertTrue((t == p.x).all(), msg) label = [label] - self.assert_(label == p.label, printfail(label, p.label, 'label')) - self.assert_(noreference(p, l), 'Reference found') + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(noreference(p, l), 'Reference found') def test_morph_5(self): "larry.morph_5" @@ -3610,10 +3610,10 @@ axis = 0 p = l.morph(label, axis) msg = printfail(t, p.x, 'x') - self.assert_((t == p.x).all(), msg) + self.assertTrue((t == p.x).all(), msg) label = [label] - self.assert_(label == p.label, printfail(label, p.label, 'label')) - self.assert_(noreference(p, l), 'Reference found') + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(noreference(p, l), 'Reference found') def test_morph_6(self): "larry.morph_6" @@ -3624,14 +3624,14 @@ axis = 0 p = l.morph(label, axis) msg = printfail(t, p.x, 'x') - self.assert_((t == p.x).all(), msg) + self.assertTrue((t == p.x).all(), msg) label = [label] - self.assert_(label == p.label, printfail(label, p.label, 'label')) - self.assert_(noreference(p, l), 'Reference found') + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(noreference(p, l), 'Reference found') def test_morph_7(self): lar = larry([1, 2, 3]) - self.failUnlessRaises(ValueError, lar.morph, [0, 0], 0) + self.assertRaises(ValueError, lar.morph, [0, 0], 0) def test_morph_8(self): "larry.morph_8" @@ -3677,11 +3677,11 @@ msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[np.isnan(p.x)] = self.nancode - self.assert_((abs(t - p.x) < self.tol).all(), msg) + self.assertTrue((abs(t - p.x) < self.tol).all(), msg) label = [[2,1,0], [1, 0]] - self.assert_(label == p.label, printfail(label, p.label, 'label')) - self.assert_(noreference(p, self.l), 'Reference found') - self.assert_(noreference(p, self.l2), 'Reference found') + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(noreference(p, self.l), 'Reference found') + self.assertTrue(noreference(p, self.l2), 'Reference found') def test_lag_1(self): "larry.lag_1" @@ -3690,10 +3690,10 @@ msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[np.isnan(p.x)] = self.nancode - self.assert_((abs(t - p.x) < self.tol).all(), msg) + self.assertTrue((abs(t - p.x) < self.tol).all(), msg) label = [[0, 1, 2], [1]] - self.assert_(label == p.label, printfail(label, p.label, 'label')) - self.assert_(noreference(p, self.l), 'Reference found') + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(noreference(p, self.l), 'Reference found') def test_lag_2(self): "larry.lag_2" @@ -3735,8 +3735,8 @@ order = 'C' f = y.flatten(order) label = [[(0,), (1,), (2,)]] - self.assert_(f.label == label, 'labels are wrong') - self.assert_((f.x == y.x.flatten(order)).all(), 'data are wrong') + self.assertTrue(f.label == label, 'labels are wrong') + self.assertTrue((f.x == y.x.flatten(order)).all(), 'data are wrong') def test_flatten_2(self): "larry.flatten_2" @@ -3744,16 +3744,16 @@ order = 'F' f = y.flatten(order) label = [[(0,), (1,), (2,)]] - self.assert_(f.label == label, 'labels are wrong') - self.assert_((f.x == y.x.flatten(order)).all(), 'data are wrong') + self.assertTrue(f.label == label, 'labels are wrong') + self.assertTrue((f.x == y.x.flatten(order)).all(), 'data are wrong') def test_flatten_3(self): "larry.flatten_3" y = larry([[1, 2], [3, 4]]) f = y.flatten() label = [[(0,0), (0,1), (1,0), (1,1)]] - self.assert_(f.label == label, 'labels are wrong') - self.assert_((f.x == y.x.flatten()).all(), 'data are wrong') + self.assertTrue(f.label == label, 'labels are wrong') + self.assertTrue((f.x == y.x.flatten()).all(), 'data are wrong') def test_flatten_4(self): "larry.flatten_4" @@ -3761,8 +3761,8 @@ order = 'F' f = y.flatten(order) label = [[(0,0), (1,0), (0,1), (1,1)]] - self.assert_(f.label == label, 'labels are wrong') - self.assert_((f.x == y.x.flatten(order)).all(), 'data are wrong') + self.assertTrue(f.label == label, 'labels are wrong') + self.assertTrue((f.x == y.x.flatten(order)).all(), 'data are wrong') def test_unflatten_1(self): "larry.unflatten_1" @@ -3770,8 +3770,8 @@ order = 'C' f = y.flatten(order).unflatten() label = y.label - self.assert_(f.label == label, 'labels are wrong') - self.assert_((f.x == y.x).all(), 'data are wrong') + self.assertTrue(f.label == label, 'labels are wrong') + self.assertTrue((f.x == y.x).all(), 'data are wrong') def test_unflatten_2(self): "larry.unflatten_2" @@ -3779,16 +3779,16 @@ order = 'F' f = y.flatten(order).unflatten() label = y.label - self.assert_(f.label == label, 'labels are wrong') - self.assert_((f.x == y.x).all(), 'data are wrong') + self.assertTrue(f.label == label, 'labels are wrong') + self.assertTrue((f.x == y.x).all(), 'data are wrong') def test_unflatten_3(self): "larry.unflatten_3" y = larry([[1, 2], [3, 4]]) f = y.flatten().unflatten() label = y.label - self.assert_(f.label == label, 'labels are wrong') - self.assert_((f.x == y.x).all(), 'data are wrong') + self.assertTrue(f.label == label, 'labels are wrong') + self.assertTrue((f.x == y.x).all(), 'data are wrong') def test_unflatten_4(self): "larry.unflatten_4" @@ -3796,8 +3796,8 @@ order = 'F' f = y.flatten(order).unflatten() label = y.label - self.assert_(f.label == label, 'labels are wrong') - self.assert_((f.x == y.x).all(), 'data are wrong') + self.assertTrue(f.label == label, 'labels are wrong') + self.assertTrue((f.x == y.x).all(), 'data are wrong') def test_sortaxis_1(self): "larry.sortaxis_1" @@ -3902,35 +3902,35 @@ "larry.shuffle_1" y = self.lar.copy() y.shuffle(axis=None) - self.assert_(y.shape == self.lar.shape, 'shape changed') - self.assert_((y.x != self.lar.x).any(), 'No shuffling took place') - self.assert_(y.label == self.lar.label, 'labels changed') + self.assertTrue(y.shape == self.lar.shape, 'shape changed') + self.assertTrue((y.x != self.lar.x).any(), 'No shuffling took place') + self.assertTrue(y.label == self.lar.label, 'labels changed') def test_shuffle_2(self): "larry.shuffle_2" y = self.lar.copy() y.shuffle() - self.assert_(y.shape == self.lar.shape, 'shape changed') - self.assert_((y.x != self.lar.x).any(), 'No shuffling took place') - self.assert_(y.label == self.lar.label, 'labels changed') + self.assertTrue(y.shape == self.lar.shape, 'shape changed') + self.assertTrue((y.x != self.lar.x).any(), 'No shuffling took place') + self.assertTrue(y.label == self.lar.label, 'labels changed') def test_shufflelabel_1(self): "larry.shufflelabel_1" y = self.lar.copy() y.shufflelabel() - self.assert_(y.shape == self.lar.shape, 'shape changed') - self.assert_((y.x == self.lar.x).all(), 'Values shuffled') - self.assert_(y.label[1] == self.lar.label[1], 'labels shuffled') - self.assert_(y.label[0] != self.lar.label[0], 'No shuffling') + self.assertTrue(y.shape == self.lar.shape, 'shape changed') + self.assertTrue((y.x == self.lar.x).all(), 'Values shuffled') + self.assertTrue(y.label[1] == self.lar.label[1], 'labels shuffled') + self.assertTrue(y.label[0] != self.lar.label[0], 'No shuffling') def test_shufflelabel_2(self): "larry.shufflelabel_2" y = self.lar.copy() y.shufflelabel(axis=None) - self.assert_(y.shape == self.lar.shape, 'shape changed') - self.assert_((y.x == self.lar.x).all(), 'Values shuffled') - self.assert_(y.label[1] != self.lar.label[1], 'labels shuffled') - self.assert_(y.label[0] != self.lar.label[0], 'No shuffling') + self.assertTrue(y.shape == self.lar.shape, 'shape changed') + self.assertTrue((y.x == self.lar.x).all(), 'Values shuffled') + self.assertTrue(y.label[1] != self.lar.label[1], 'labels shuffled') + self.assertTrue(y.label[0] != self.lar.label[0], 'No shuffling') class Test_properties_01(unittest.TestCase): @@ -3958,25 +3958,25 @@ "larry.shape" t = self.x.shape p = self.l.shape - self.assert_(t == p, printfail(t, p, 'shape')) + self.assertTrue(t == p, printfail(t, p, 'shape')) def test_02(self): "larry.ndim" t = self.x.ndim p = self.l.ndim - self.assert_(t == p, printfail(t, p, 'ndim')) + self.assertTrue(t == p, printfail(t, p, 'ndim')) def test_05(self): "larry.dtype" t = self.x.dtype p = self.l.dtype - self.assert_(t == p, printfail(t, p, 'dtype')) + self.assertTrue(t == p, printfail(t, p, 'dtype')) def test_06(self): "larry.nx" t = np.isfinite(self.x).sum() p = self.l.nx - self.assert_(t == p, printfail(t, p, 'nx')) + self.assertTrue(t == p, printfail(t, p, 'nx')) def test_07(self): "larry.T_2d" @@ -3987,7 +3987,7 @@ msg = printfail(t, p, 'T') t.x[np.isnan(tRefactoringTool: Refactored ./la/tests/deflarry_nose_test.py .x)] = self.nancode p.x[np.isnan(p.x)] = self.nancode - self.assert_(t == p, msg) + self.assertTrue(t == p, msg) def test_08(self): "larry.T_1d" @@ -3998,7 +3998,7 @@ msg = printfail(t, p, 'T') t.x[np.isnan(t.x)] = self.nancode p.x[np.isnan(p.x)] = self.nancode - self.assert_(t == p, msg) + self.assertTrue(t == p, msg) def test_09(self): "larry.T_" @@ -4009,7 +4009,7 @@ msg = printfail(t, p, 'T') t.x[np.isnan(t.x)] = self.nancode p.x[np.isnan(p.x)] = self.nancode - self.assert_(t == p, msg) + self.assertTrue(t == p, msg) def test_10(self): "larry.T_4d" @@ -4020,7 +4020,7 @@ msg = printfail(t, p, 'T') t.x[np.isnan(t.x)] = self.nancode p.x[np.isnan(p.x)] = self.nancode - self.assert_(t == p, msg) + self.assertTrue(t == p, msg) def test_11(self): t = self.l.x @@ -4028,8 +4028,8 @@ msg = printfail(t, p, 'x') t[np.isnan(t)] = self.nancode p[np.isnan(p)] = self.nancode - self.assert_((abs(t - p) < self.tol).all(), msg) - self.assert_(t is p, 'no reference found') + self.assertTrue((abs(t - p) < self.tol).all(), msg) + self.assertTrue(t is p, 'no reference found') class Test_merge(unittest.TestCase): @@ -4395,7 +4395,7 @@ y = la.rand(*shape) for axis in range(y.ndim): for i in range(1, y.shape[axis]): - idx = range(i)[::-1] + idx = list(range(i))[::-1] ytake = y.take(idx, axis=axis) index = [slice(None)] * y.ndim index[axis] = idx --- ./la/tests/deflarry_nose_test.py (original) +++ ./la/tests/deflarry_nose_test.py (refactored) @@ -1,11 +1,11 @@ # For support of python 2.5 -from __future__ import with_statement + import os import tempfile from copy import deepcopy -from StringIO import StringIO +from io import StringIO import numpy as np nan = np.nan @@ -131,7 +131,7 @@ "Test calc functions of larry class" def setUp(self): - self.assert_ = np.testing.assert_ + self.assertTrue = np.testing.assertTrue self.tol = tol self.nancode = nancode @@ -140,12 +140,12 @@ msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[p.isnan()] = self.nancode - self.assert_((abs(t - p.x) < self.tol).all(), msg) - self.assert_(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue((abs(t - p.x) < self.tol).all(), msg) + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) if not view: - self.assert_(noreference(p, orig), 'Reference found') + self.assertTrue(noreference(p, orig), 'Reference found') elif view == 'nocopy' : - self.assert_(nocopy(p, orig), 'copy instead of reference found') + self.assertTrue(nocopy(p, orig), 'copy instead of reference found') else: #FIXME check view for different dimensional larries pass @@ -157,9 +157,9 @@ msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[p.isnan()] = self.nancode - self.assert_((abs(t - p.x) < self.tol).all(), msg) - self.assert_(label == p.label, printfail(label, p.label, 'label')) - self.assert_(noreference(p, self.lar), 'Reference found') + self.assertTrue((abs(t - p.x) < self.tol).all(), msg) + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(noreference(p, self.lar), 'Reference found') def test_demedian_3(self): "larry.demedian_2" @@ -169,9 +169,9 @@ msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[p.isnan()] = self.nancode - self.assert_((abs(t - p.x) < self.tol).all(), msg) - self.assert_(label == p.label, pRefactoringTool: Refactored ./la/tests/deflarry_move_test.py RefactoringTool: Refactored ./la/tests/all_nan_test.py RefactoringTool: No changes to ./la/src/setup.py RefactoringTool: Refactored ./la/missing.py RefactoringTool: Refactored ./la/io.py rintfail(label, p.label, 'label')) - self.assert_(noreference(p, self.lar3), 'Reference found') + self.assertTrue((abs(t - p.x) < self.tol).all(), msg) + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue(noreference(p, self.lar3), 'Reference found') def test_ranking_(self): "larry.ranking" #not in deflarry_test @@ -258,7 +258,7 @@ # check by introducing a failure in original data self.x2 def setUp(self): - self.assert_ = np.testing.assert_ + self.assertTrue = np.testing.assertTrue self.tol = tol self.nancode = nancode self.x2 = np.array([[ 2.0, 2.0, nan, 1.0], @@ -300,7 +300,7 @@ "Test calc functions of larry class" def setUp(self): - self.assert_ = np.testing.assert_ + self.assertTrue = np.testing.assertTrue self.tol = tol self.nancode = nancode @@ -309,12 +309,12 @@ msg = printfail(t, p.x, 'x') t[np.isnan(t)] = self.nancode p[p.isnan()] = self.nancode - self.assert_((abs(t - p.x) < self.tol).all(), msg) - self.assert_(label == p.label, printfail(label, p.label, 'label')) + self.assertTrue((abs(t - p.x) < self.tol).all(), msg) + self.assertTrue(label == p.label, printfail(label, p.label, 'label')) if not view: - self.assert_(noreference(p, orig), 'Reference found') + self.assertTrue(noreference(p, orig), 'Reference found') elif view == 'nocopy' : - self.assert_(nocopy(p, orig), 'copy instead of reference found') + self.assertTrue(nocopy(p, orig), 'copy instead of reference found') else: #FIXME check view for different dimensional larries pass @@ -384,7 +384,7 @@ # check by introducing a failure in original data self.x2 def setUp(self): - self.assert_ = np.testing.assert_ + self.assertTrue = np.testing.assertTrue self.tol = tol self.nancode = nancode --- ./la/tests/deflarry_move_test.py (original) +++ ./la/tests/deflarry_move_test.py (refactored) @@ -1,7 +1,7 @@ "Test moving (rolling) statistics." # For support of python 2.5 -from __future__ import with_statement + import numpy as np from numpy.testing import assert_array_almost_equal --- ./la/tests/all_nan_test.py (original) +++ ./la/tests/all_nan_test.py (refactored) @@ -1,7 +1,7 @@ "Test larry methods for proper handling of all NaN input" # For support of python 2.5 -from __future__ import with_statement + import numpy as np from numpy.testing import assert_equal @@ -25,7 +25,7 @@ def test_all_nan(): "Test larry methods for proper handling of all NaN input" err_msg = "%s did not return NaN" - for parameters, methods in functions().iteritems(): + for parameters, methods in functions().items(): for method in methods: with np.errstate(invalid='ignore', divide='ignore'): actual = getattr(lar(), method)(*parameters) --- ./la/missing.py (original) +++ ./la/missing.py (refactored) @@ -53,14 +53,14 @@ return a elif a.dtype == np.bool_: msg = 'Missing values are not supported for bool dtype.' - raise TypeError, msg + raise TypeError(msg) elif a.dtype == object: a.fill(None) return a # int dtype can't be filled with NaN msg = 'Inexact scalar dtype, such as float, needed for NaN ' msg += 'fill value.' - raise TypeError, msg + raise TypeError(msg) def missing_marker(data): """ --- ./la/io.py (original) +++ ./la/io.py (refactored) @@ -181,10 +181,10 @@ self[key] = lar2 def __iter__(self): - return iter(self.keys()) + return iter(list(self.keys())) def __len__(self): - return len(self.keys()) + return len(list(self.keys())) def __getitem__(self, key): if key in self.f: @@ -192,22 +192,22 @@ return lara(self.f[key]) else: msg = "%s is in the archive but it is not a larry." - raise KeyError, msg % key + raise KeyError(msg % key) else: - raise KeyError, "A larry named %s is not in the archive." % key + raise KeyError("A larry named %s is not in the archive." % key) def __setitem__(self, key, value): # Make sure the data looks OK before saving if type(key) != str: - raise TypeError, 'key must be a string of type str.' + raise TypeError('key must be a string of type str.') if not isinstance(value, larry): - raise TypeError, 'value must be a larry.' + raise TypeError('value must be a larry.') # Does an item (larry or otherwise) with given key already exist? If # so delete. Note that self.f.keys() [all keys] is used instead of # self.keys() [keys that are larrys]. - if key in self.f.keys(): + if key in list(self.f.keys()): self.__delitem__(key) # If you've made it this far the data looks OK so save it @@ -219,7 +219,7 @@ def __repr__(self): table = [['larry', 'dtype', 'shape']] - keys = self.keys() + keys = list(self.keys()) keys.sort() # Display in alphabetical order for key in keys: # Code would be neater if I wrote shape = str(self[key].shape) @@ -322,12 +322,12 @@ self.label = _load_label(group, len(self.x.shape)) # Grab these methods from larry - __getitem__ = larry.__getitem__.im_func - __setitem__ = larry.__setitem__.im_func - maxlabel = larry.maxlabel.im_func - minlabel = larry.minlabel.im_func - getlabel = larry.getlabel.im_func - labelindex = larry.labelindex.im_func + __getitem__ = larry.__getitem__.__func__ + __setitem__ = larry.__setitem__.__func__ + maxlabel = larry.maxlabel.__func__ + minlabel = larry.minlabel.__func__ + getlabel = larry.getlabel.__func__ + labelindex = larry.labelindex.__func__ shape = larry.shape dtype = larry.dtype @@ -402,9 +402,9 @@ # Check input if type(lar) != larry: - raise TypeError, 'lar must be a larry.' + raise TypeError('lar must be a larry.') if type(key) != str: - raise TypeError, 'key must be a string.' + raise TypeError('key must be a string.') # Get a h5py.File instance f, opened = _openfile(file) @@ -473,12 +473,12 @@ # Check input if type(key) != str: - raise TypeError, 'key must be a string.' + raise TypeError('key must be a string.') f, opened = _openfile(file) if key not in f: - raise KeyError, "A larry named '%s' is not in archive." % key + raise KeyError("A larry named '%s' is not in archive." % key) if not _is_archived_larry(f[key]): - raise KeyError, 'key (%s) is not a larry.' % key + raise KeyError('key (%s) is not a larry.' % key) # Load larry group = f[key] @@ -531,12 +531,12 @@ # Check input if type(key) != str: - raise TypeError, 'key must be a string.' + raise TypeError('key must be a string.') f, opened = _openfile(file) if key not in f: - raise KeyError, "A larry named '%s' is not in archive." % key + raise KeyError("A larry named '%s' is not in archive." % key) if not _is_archived_larry(f[key]): - raise KeyError, 'key (%s) is not a larry.' % key + raise KeyError('key (%s) is not a larry.' % key) # Delete del f[key] @@ -567,7 +567,7 @@ filename1 = f1.filename filename2 = filename1 + '_repack_tmp_' + randstring(4) f2 = h5py.File(filename2) - for key in f1.keys(): + for key in list(f1.keys()): RefactoringTool: Refactored ./la/flarry.py f1.copy(key, f2) f1.close() f2.close() @@ -587,7 +587,7 @@ if key in f: answer = _is_archived_larry(f[key]) else: - raise ValueError, 'key (%s) is not in archive.' % str(key) + raise ValueError('key (%s) is not in archive.' % str(key)) if opened: f.close() return answer @@ -613,34 +613,34 @@ labellist = group[str(i)][:].tolist() datetime_type = group[str(i)].attrs['datetime_type'] if datetime_type == 'date': - labellist = map(datetime.date.fromordinal, labellist) + labellist = list(map(datetime.date.fromordinal, labellist)) elif datetime_type == 'time': - labellist = map(tuple2time, labellist) + labellist = list(map(tuple2time, labellist)) elif datetime_type == 'datetime': - labellist = map(tuple2datetime, labellist) + labellist = list(map(tuple2datetime, labellist)) label.append(labellist) return label def _list2array(x): "Convert list to array if elements are of the same type, raise otherwise." if type(x) != list: - raise TypeError, 'x must be a list' + raise TypeError('x must be a list') type0 = type(x[0]) if not all([type(i)==type0 for i in x]): msg = 'Elements of a label along any one dimension must be of the ' msg += 'same type.' - raise TypeError, msg + raise TypeError(msg) datetime_type = 'not_datetime' dtype = None if type0 == datetime.date: - x = map(datetime.date.toordinal, x) + x = list(map(datetime.date.toordinal, x)) datetime_type = 'date' elif type0 == datetime.time: - x = map(time2tuple, x) + x = list(map(time2tuple, x)) datetime_type = 'time' dtype = "i4,i4,i4,i4" elif type0 == datetime.datetime: - x = map(datetime2tuple, x) + x = list(map(datetime2tuple, x)) datetime_type = 'datetime' dtype = ','.join(["i4" for i in range(len(x[0]))]) return np.asarray(x, dtype=dtype), datetime_type @@ -670,7 +670,7 @@ opened = True else: msg = "file must be a h5py.File object or a string (path)." - raise TypeError, msg + raise TypeError(msg) return f, opened def _is_archived_larry(obj): @@ -680,7 +680,7 @@ if obj.attrs['larry'] == True: if 'x' in obj: ndim = len(obj['x'].shape) - labels = map(str, range(ndim)) + labels = list(map(str, list(range(ndim)))) if all([label in obj for label in labels]): return True return False @@ -696,7 +696,7 @@ else: if not isinstance(f[group], h5py.Group): msg = '%s already exists and is not a h5.py.Group object.' - raise ValueError, msg % group + raise ValueError(msg % group) def datetime2tuple(dt): "Convert datetime.datetime to tuple; tzinfo, if any, is lost." --- ./la/flarry.py (original) +++ ./la/flarry.py (refactored) @@ -246,7 +246,7 @@ ndim = lar2.ndim if lar1.ndim != ndim: msg = "'lar1' and 'lar2' must have the same number of dimensions." - raise ValueError, msg + raise ValueError(msg) # Check join type typejoin = type(join) @@ -255,9 +255,9 @@ elif typejoin is list: if len(join) != ndim: msg = "Length of `join` list equal number of dimension of `lar1`." - raise ValueError, msg + raise ValueError(msg) else: - raise TypeError, "`join` must be a string or a list." + raise TypeError("`join` must be a string or a list.") # Initialize missing markers, set value later (in loop) only if needed. # The weird initialization value ensures a user would never pick the same @@ -310,7 +310,7 @@ x1 = x1.astype(float) miss1 = missing_marker(x1) else: - raise TypeError, msg + raise TypeError(msg) index1 = [slice(None)] * ndim index1[ax] = idx1_miss x1[index1] = miss1 @@ -322,7 +322,7 @@ x2 = x2.astype(float) miss2 = missing_marker(x2) else: - raise TypeError, msg + raise TypeError(msg) index2 = [slice(None)] * ndim index2[ax] = idx2_miss x2[index2] = miss2 @@ -345,7 +345,7 @@ x2 = x2.astype(float) miss2 = missing_marker(x2) else: - raise TypeError, msg + raise TypeError(msg) index2 = [slice(None)] * ndim index2[ax] = idx2_miss x2[index2] = miss2 @@ -363,7 +363,7 @@ x1 = x1.astype(float) miss1 = missing_marker(x1) else: - raise TypeError, msg + raise TypeError(msg) index1 = [slice(None)] * ndim index1[ax] = idx1_miss x1[index1] = miss1 @@ -371,7 +371,7 @@ elif joinax == 'skip': list3 = None else: - raise ValueError, 'join type not recognized' + raise ValueError('join type not recognized') label.append(list3) return x1, x2, label, x1isview, x2isview @@ -604,7 +604,7 @@ if isinstance(arg, larry): rc = frozenset(arg.label[axis]) | rc else: - raise TypeError, 'One or more input is not a larry' + raise TypeError('One or more input is not a larry') rc = list(rc) rc.sort() return rc @@ -641,12 +641,12 @@ """ rc = frozenset(args[0].label[axis]) - for i in xrange(1, len(args)): + for i in range(1, len(args)): arg = args[i] if isinstance(arg, larry): rc = frozenset(arg.label[axis]) & rc else: - raise TypeError, 'One or more input is not a larry' + raise TypeError('One or more input is not a larry') rc = list(rc) rc.sort() return rc @@ -1384,15 +1384,15 @@ """ if not np.all([kwargs[key].ndim == 2 for key in kwargs]): - raise ValueError, 'All input larrys must be 2d' + raise ValueError('All input larrys must be 2d') if mode == 'union': logic = union elif mode == 'intersection': logic = intersection else: - raise ValueError, 'mode must be union or intersection' - row = logic(0, *kwargs.values()) - col = logic(1, *kwargs.values()) + raise ValueError('mode must be union or intersection') + row = logic(0, *list(kwargs.values())) + col = logic(1, *list(kwargs.values())) x = np.zeros((len(kwargs), len(row), len(col))) zlabel = [] for i, key in enumerate(kwargs): @@ -1462,7 +1462,7 @@ """ if lar.ndim != 3: - raise ValueError, "lar must be 3d." + raise ValueError("lar must be 3d.") y = lar.copy() y.label = [flattenlabel([y.label[1], y.label[2]])[0], y.label[0]] y.x = y.x.T.reshape(-1, y.shape[0], order="F") @@ -1496,7 +1496,7 @@ """ if lar.ndim != 2: - raise ValueError, 'This function only works on 2d larrys' + raise ValueError('This function only works on 2d larrys') label = [list(lar.label[0]), list(lar.label[0])] x = covMissing(lar.x) return larry(x, laRefactoringTool: Refactored ./la/flabel.py RefactoringTool: Refactored ./la/farray/tests/move_test.py RefactoringTool: Refactored ./la/farray/tests/farray_test.py RefactoringTool: Refactored ./la/farray/normalize.py bel, validate=False) @@ -1598,7 +1598,7 @@ elif (len(args) == 0) and (len(kwargs) == 1) and ('rand' in kwargs): return randfunc() else: - raise ValueError, 'Input parameters not recognized' + raise ValueError('Input parameters not recognized') def randn(*args, **kwargs): """ @@ -1696,7 +1696,7 @@ elif (len(args) == 0) and (len(kwargs) == 1) and ('randn' in kwargs): return randnfunc() else: - raise ValueError, 'Input parameters not recognized' + raise ValueError('Input parameters not recognized') def sortby(lar, element, axis, reverse=False): """ --- ./la/flabel.py (original) +++ ./la/flabel.py (refactored) @@ -1,6 +1,6 @@ "label (list of lists) functions" -from itertools import izip + import numpy as np @@ -74,7 +74,7 @@ [0, 1] """ - list1map = dict(izip(list1, xrange(len(list1)))) + list1map = dict(zip(list1, range(len(list1)))) if ignore_unmappable: idx = [list1map[i] for i in list2 if i in list1map] else: @@ -151,7 +151,7 @@ [3] """ - list1map = dict(izip(list1, xrange(len(list1)))) + list1map = dict(zip(list1, range(len(list1)))) index_missing = [] index = [fill] * len(list2) i = -1 @@ -171,7 +171,7 @@ """ if order not in ('C', 'F'): - raise ValueError, "order must be 'C' or 'F'" + raise ValueError("order must be 'C' or 'F'") label = list(label) if order == 'C': label = label[::-1] --- ./la/farray/tests/move_test.py (original) +++ ./la/farray/tests/move_test.py (refactored) @@ -1,7 +1,7 @@ "Test moving (rolling) statistics." # For support of python 2.5 -from __future__ import with_statement + import numpy as np from numpy.testing import assert_array_almost_equal --- ./la/farray/tests/farray_test.py (original) +++ ./la/farray/tests/farray_test.py (refactored) @@ -1,7 +1,7 @@ "Unit tests of array functions." # For support of python 2.5 -from __future__ import with_statement + import unittest @@ -168,7 +168,7 @@ desired = ['a', 'b', 'c'] actual = unique_group(sectors) msg = printfail(desired, actual) - self.assert_(desired == actual, msg) + self.assertTrue(desired == actual, msg) # Normalize functions ------------------------------------------------------- @@ -417,7 +417,7 @@ desired = 1e200 actual = geometric_mean(x) msg = printfail(desired, actual) - self.assert_((abs(desired - actual) < 1e187).all(), msg) + self.assertTrue((abs(desired - actual) < 1e187).all(), msg) class Test_movingsum(unittest.TestCase): "Test farray.movingsum" --- ./la/farray/normalize.py (original) +++ ./la/farray/normalize.py (refactored) @@ -107,7 +107,7 @@ r = (g + g + e - w.flat[-1]) / 2.0 r = r / (n - w.flat[-1]) elif decay < 0: - raise ValueError, 'decay must be greater than or equal to zero.' + raise ValueError('decay must be greater than or equal to zero.') else: # Special case the most common case, decay = 0, for speed g = (x[indlast] > x).sum(axis) @@ -167,7 +167,7 @@ ax = axis if ax < 0: # This converts a negative axis to the equivalent positive axis - ax = range(x.ndim)[ax] + ax = list(range(x.ndim))[ax] masknan = np.isnan(x) countnan = np.expand_dims(masknan.sum(ax), ax) countnotnan = x.shape[ax] - countnan @@ -208,7 +208,7 @@ fidx = np.isfinite(y) recent = np.nan * np.ones(y.shape[:-1]) count = np.nan * np.ones(y.shape[:-1]) - for i in xrange(y.shape[-1]): + for i in range(y.shape[-1]): idx = (i - count) > n recent[idx] = np.nan idx = ~fidx[...,i] @@ -234,7 +234,7 @@ kdx = kdx.cumsum(axis=0) kdx = np.concatenate((-1 * np.ones((1, kdx.shape[1])), kdx), 0) kdx[-1,RefactoringTool: Refactored ./la/farray/move.py 0] = nx - for j in xrange(1, q+1): + for j in range(1, q+1): mdx[(jdx > kdx[j-1]) & (jdx <= kdx[j]),:] = j y[idx] = mdx return y @@ -270,7 +270,7 @@ """ if q < 1: - raise ValueError, 'q must be one or greater.' + raise ValueError('q must be one or greater.') elif q == 1: y = np.zeros(x.shape) np.putmask(y, np.isnan(x), np.nan) @@ -279,13 +279,13 @@ if q > x.size: msg = 'q must be less than or equal to the number of elements ' msg += 'in x.' - raise ValueError, msg + raise ValueError(msg) y = np.apply_along_axis(_quantileraw1d, 0, x.flat, q) y = y.reshape(x.shape) else: if q > x.shape[axis]: msg = 'q must be less than or equal to the number of rows in x.' - raise ValueError, msg + raise ValueError(msg) y = np.apply_along_axis(_quantileraw1d, axis, x, q) y = y - 1.0 y = 1.0 * y / (q - 1.0) --- ./la/farray/move.py (original) +++ ./la/farray/move.py (refactored) @@ -51,7 +51,7 @@ y = move_func_loop(np.median, arr, window, axis=axis) else: msg = "`method` must be 'strides' or 'loop'." - raise ValueError, msg + raise ValueError(msg) return y def move_nanmedian(arr, window, axis=-1, method='loop'): @@ -94,7 +94,7 @@ y = move_func_loop(bn.nanmedian, arr, window, axis=axis) else: msg = "`method` must be 'strides' or 'loop'." - raise ValueError, msg + raise ValueError(msg) return y # RANKING ------------------------------------------------------------------- @@ -161,7 +161,7 @@ y = move_func_loop(lastrank, arr, window, axis=axis) else: msg = "`method` must be 'strides' or 'loop'." - raise ValueError, msg + raise ValueError(msg) return y # GENERAL -------------------------------------------------------------------- @@ -213,17 +213,17 @@ y = move_func_loop(func, arr, window, axis=axis, **kwargs) else: msg = "`method` must be 'strides' or 'loop'." - raise ValueError, msg + raise ValueError(msg) return y def move_func_loop(func, arr, window, axis=-1, **kwargs): "Generic moving window function implemented with a python loop." if axis == None: - raise ValueError, "An `axis` value of None is not supported." + raise ValueError("An `axis` value of None is not supported.") if window < 1: - raise ValueError, "`window` must be at least 1." + raise ValueError("`window` must be at least 1.") if window > arr.shape[axis]: - raise ValueError, "`window` is too long." + raise ValueError("`window` is too long.") y = nans(arr.shape) idx1 = [slice(None)] * arr.ndim idx2 = list(idx1) @@ -236,18 +236,18 @@ def move_func_strides(func, arr, window, axis=-1, **kwargs): "Generic moving window function implemented with strides." if axis == None: - raise ValueError, "An `axis` value of None is not supported." + raise ValueError("An `axis` value of None is not supported.") if window < 1: - raise ValueError, "`window` must be at least 1." + raise ValueError("`window` must be at least 1.") if window > arr.shape[axis]: - raise ValueError, "`window` is too long." + raise ValueError("`window` is too long.") ndim = arr.ndim as_strided = np.lib.stride_tricks.as_strided - idx = range(ndim) + idx = list(range(ndim)) axis = idx[axis] arrshape0 = tuple(arr.shape) if axis >= ndim: - raise IndexError, "`axis` is out of range." + raise IndexError("`axis` is out of range.") if ndim == 1: strides = arr.strides shape = (arr.size - window + 1, window) @@ -275,7 +275,7 @@ if axis > 0: y = y.swapaxes(0, axis) else: - raise ValueError, "Only 1d, 2d, and 3d input arrays are supported." + raise ValueError("Only 1d, 2d, anRefactoringTool: Refactored ./la/farray/misc.py RefactoringTool: No changes to ./la/farray/group.py RefactoringTool: Refactored ./la/farray/__init__.py RefactoringTool: Refactored ./la/external/prettytable.py d 3d input arrays are supported.") ynan = nans(arrshape0) index = [slice(None)] * ndim index[axis] = slice(window - 1, None) @@ -330,11 +330,11 @@ # Check input if window < 1: - raise ValueError, 'window must be at least 1' + raise ValueError('window must be at least 1') if window > arr.shape[axis]: - raise ValueError, 'Window is too big.' + raise ValueError('Window is too big.') if skip > arr.shape[axis]: - raise IndexError, 'Your skip is too large.' + raise IndexError('Your skip is too large.') # Set missing values to 0 m = ismissing(arr) @@ -389,12 +389,12 @@ If a window is all NaNs except last, this is returned as NaN """ if window > x.shape[axis]: - raise ValueError, 'Window is too big.' + raise ValueError('Window is too big.') if window < 2: - raise ValueError, 'Window is too small.' + raise ValueError('Window is too small.') nt = x.shape[axis] mr = np.nan * np.zeros(x.shape) - for i in xrange(window-1, nt): + for i in range(window-1, nt): index1 = [slice(None)] * x.ndim index1[axis] = i index2 = [slice(None)] * x.ndim --- ./la/farray/misc.py (original) +++ ./la/farray/misc.py (refactored) @@ -15,7 +15,7 @@ """ if (x <= 0).any() and check_for_greater_than_zero: msg = 'All elements of x (except NaNs) must be greater than zero.' - raise ValueError, msg + raise ValueError(msg) x = x.copy() m = np.isnan(x) np.putmask(x, m, 1.0) @@ -152,7 +152,7 @@ normalization = np.dot(mask, mask.T) if np.any(normalization < 2): - raise ValueError, 'covMissing: not enough observations' + raise ValueError('covMissing: not enough observations') C = np.dot(R, R.T) / normalization --- ./la/farray/__init__.py (original) +++ ./la/farray/__init__.py (refactored) @@ -1,5 +1,5 @@ -from misc import * -from normalize import * -from group import * -from move import * +from .misc import * +from .normalize import * +from .group import * +from .move import * --- ./la/external/prettytable.py (original) +++ ./la/external/prettytable.py (refactored) @@ -2,7 +2,8 @@ pretty table code was copied from http://code.activestate.com/recipes/267662/ """ -import cStringIO, operator +import io, operator +from functools import reduce def indent(rows, hasHeader=False, headerChar='-', delim=' | ', justify='left', separateRows=False, prefix='', postfix='', wrapfunc=lambda x:x): @@ -23,26 +24,25 @@ # closure for breaking logical rows to physical, using wrapfunc def rowWrapper(row): newRows = [wrapfunc(item).split('\n') for item in row] - return [[substr or '' for substr in item] for item in map(None,*newRows)] + return [[substr or '' for substr in item] for item in list(*newRows)] # break each logical row into one or more physical ones logicalRows = [rowWrapper(row) for row in rows] # columns of physical rows - columns = map(None,*reduce(operator.add,logicalRows)) + columns = list(*reduce(operator.add,logicalRows)) # get the maximum of each column by the string length of its items maxWidths = [max([len(str(item)) for item in column]) for column in columns] rowSeparator = headerChar * (len(prefix) + len(postfix) + sum(maxWidths) + \ len(delim)*(len(maxWidths)-1)) # select the appropriate justify method justify = {'center':str.center, 'right':str.rjust, 'left':str.ljust}[justify.lower()] - output=cStringIO.StringIO() - if separateRows: print >> output, rowSeparator + output=io.StringIO() + if separateRows: print(rowSeparator, file=output) for physicalRows in logicalRows: for row in physicalRows: - print >> output, \ - prefix \ + print(prefix \ + delim.join([justify(str(item),width) for (item,width) in zip(row,maxWidths)]) \ - + postfix - if separRefactoringTool: Refactored ./la/external/matplotlib.py RefactoringTool: Refactored ./la/deflarry.py ateRows or hasHeader: print >> output, rowSeparator; hasHeader=False + + postfix, file=output) + if separateRows or hasHeader: print(rowSeparator, file=output); hasHeader=False return output.getvalue() # written by Mike Brown @@ -74,7 +74,7 @@ """A simple word-wrap function that wraps text on exactly width characters. It doesn't split the text in words.""" return '\n'.join([ text[width*i:width*(i+1)] \ - for i in xrange(int(math.ceil(1.*len(text)/width))) ]) + for i in range(int(math.ceil(1.*len(text)/width))) ]) if __name__ == '__main__': labels = ('First Name', 'Last Name', 'Age', 'Position') @@ -84,15 +84,15 @@ Aristidis,Papageorgopoulos,28,Senior Reseacher''' rows = [row.strip().split(',') for row in data.splitlines()] - print 'Without wrapping function\n' - print indent([labels]+rows, hasHeader=True) + print('Without wrapping function\n') + print(indent([labels]+rows, hasHeader=True)) # test indent with different wrapping functions width = 10 for wrapper in (wrap_always,wrap_onspace,wrap_onspace_strict): - print 'Wrapping function: %s(x,width=%d)\n' % (wrapper.__name__,width) - print indent([labels]+rows, hasHeader=True, separateRows=True, + print('Wrapping function: %s(x,width=%d)\n' % (wrapper.__name__,width)) + print(indent([labels]+rows, hasHeader=True, separateRows=True, prefix='| ', postfix=' |', - wrapfunc=lambda x: wrapper(x,width)) + wrapfunc=lambda x: wrapper(x,width))) # output: # --- ./la/external/matplotlib.py (original) +++ ./la/external/matplotlib.py (refactored) @@ -21,7 +21,7 @@ "Load Yahoo! Finance data from the web" import warnings -from urllib2 import urlopen +from urllib.request import urlopen import datetime @@ -95,7 +95,7 @@ data, dates = parse_yahoo_historical(fh) if len(data) == 0: return None - except IOError, exc: + except IOError as exc: warnings.warn('urlopen() failure\n' + exc.strerror[1]) return None return data, dates --- ./la/deflarry.py (original) +++ ./la/deflarry.py (refactored) @@ -100,38 +100,38 @@ try: x = np.asarray(x, dtype=dtype) except: - raise ValueError, "x must be array_like." + raise ValueError("x must be array_like.") elif dtype != None: x = x.astype(dtype) if label is None: - label = [range(z) for z in x.shape] + label = [list(range(z)) for z in x.shape] if validate: ndim = x.ndim if ndim != len(label): - raise ValueError, 'Exactly one label per dimension needed' + raise ValueError('Exactly one label per dimension needed') if ndim == 0: # A 0d larry can be created if you comment out this ndim == 0 # test. The reason that 0d is not allowed is that not all # methods support 0d larrys - raise ValueError, '0d larrys are not supported' + raise ValueError('0d larrys are not supported') for i, l in enumerate(label): nlabel = len(l) if x.shape[i] != nlabel: msg = 'Length mismatch in label and x along axis %d' - raise ValueError, msg % i + raise ValueError(msg % i) if len(frozenset(l)) != nlabel: # We have duplicates in the label, give an example count = {} for li in l: count[li] = count.get(li, 0) + 1 - for key, value in count.iteritems(): + for key, value in count.items(): if value > 1: break msg = "Elements of label not unique along axis %d. " msg += "There are %d labels named `%s`." - raise ValueError, msg % (i, value, key) + raise ValueError(msg % (i, value, key)) if type(l) is not list: - raise ValueError, 'label must be a list of lists' + raise ValueError('label must be a list of lists') self.x = x self.label = label @@ -344,7 +344,7 @@ """ if axis == None: - raise ValueError, 'axis cannot be None' + raise ValueError('axis cannot be None') y = self.copy() idx = np.isnan(y.x) np.putmask(y.x, idx, 0) @@ -410,7 +410,7 @@ """ if axis == None: - raise ValueError, 'axis cannot be None' + raise ValueError('axis cannot be None') y = self.copy() idx = np.isnan(y.x) np.putmask(y.x, idx, 1) @@ -454,7 +454,7 @@ """ if lo > hi: - raise ValueError, 'lo should be less than or equal to hi' + raise ValueError('lo should be less than or equal to hi') y = self.copy() y.x.clip(lo, hi, y.x) return y @@ -631,7 +631,7 @@ """ if self.dtype != bool: - raise TypeError, 'Only larrys with bool dtype can be inverted.' + raise TypeError('Only larrys with bool dtype can be inverted.') return larry(~self.x, self.copylabel(), validate=False) # Binary Functions ------------------------------------------------------- @@ -683,7 +683,7 @@ x = self.x + other label = self.copylabel() return larry(x, label, validate=False) - raise TypeError, 'Input must be scalar, array, or larry.' + raise TypeError('Input must be scalar, array, or larry.') __radd__ = __add__ @@ -728,7 +728,7 @@ x = self.x - other label = self.copylabel() return larry(x, label, validate=False) - raise TypeError, 'Input must be scalar, array, or larry.' + raise TypeError('Input must be scalar, array, or larry.') def __rsub__(self, other): "Right subtract a larry with a another larry, Numpy array, or scalar." @@ -777,19 +777,19 @@ x = self.x / other label = self.copylabel() return larry(x, label, validate=False) - raise TypeError, 'Input must be scalar, array, or larry.' + raise TypeError('Input must be scalar, array, or larry.') def __rdiv__(self, other): "Right divide a larry with a another larry, Numpy array, or scalar." if isinstance(other, larry): msg = 'I could not come up with a problem that used this code ' msg += 'so I removed it. Send me your example and I will fix.' - raise RuntimeError, msg + raise RuntimeError(msg) if np.isscalar(other) or isinstance(other, np.ndarray): label = self.copylabel() x = other / self.x return larry(x, label, validate=False) - raise TypeError, 'Input must be scalar, array, or larry.' + raise TypeError('Input must be scalar, array, or larry.') def __mul__(self, other): """ @@ -833,7 +833,7 @@ x = self.x * other label = self.copylabel() return larry(x, label, validate=False) - raise TypeError, 'Input must be scalar, array, or larry.' + raise TypeError('Input must be scalar, array, or larry.') __rmul__ = __mul__ @@ -877,7 +877,7 @@ x = np.logical_and(self.x, other) label = self.copylabel() return larry(x, label, validate=False) - raise TypeError, 'Input must be scalar, array, or larry.' + raise TypeError('Input must be scalar, array, or larry.') __rand__ = __and__ @@ -921,7 +921,7 @@ x = np.logical_or(self.x, other) label = self.copylabel() return larry(x, label, validate=False) - raise TypeError, 'Input must be scalar, array, or larry.' + raise TypeError('Input must be scalar, array, or larry.') __ror__ = __or__ @@ -936,7 +936,7 @@ # Labels are not aligned. if self.ndim != other.ndim: msg = 'Binary operation on two larrys with different dimension' - raise IndexError, msg + raise IndexError(msg) label = [] x = self.x y = other.x @@ -1376,7 +1376,7 @@ elif axis is None: return op(self.x, **kwargs) else: - raise ValueError, 'axis should be an integer or None' + raise ValueError('axis should be an integer or None') def any(self, axis=None): """ @@ -1585,7 +1585,7 @@ elif op == '>=': x = self.x >= other else: - raise ValueError, 'Unknown comparison operator' + raise ValueError('Unknown comparison operator') if isinstance(x, np.ndarray): y = larry(x, self.copylabel(), validate=False) else: @@ -1606,10 +1606,10 @@ elif op == '>=': x = x >= y else: - raise ValueError, 'Unknown comparison operator' + raise ValueError('Unknown comparison operator') return larry(x, label, validate=False) else: - raise TypeError, 'Input must be scalar, numpy array, or larry.' + raise TypeError('Input must be scalar, numpy array, or larry.') # Get and set ------------------------------------------------------------ @@ -1642,7 +1642,7 @@ if isscalar(index): index = int(index) if index >= self.shape[0]: - raise IndexError, 'index out of range' + raise IndexError('index out of range') x = self.x[index] if self.ndim <= 1: return x @@ -1650,43 +1650,43 @@ elif typidx is tuple: label = [] allscalar = True - for ax in xrange(self.ndim): + for ax in range(self.ndim): if ax < len(index): idx = index[ax] typ = type(idx) if isscalar(idx): if idx >= self.shape[ax]: - raise IndexError, 'index out of range' + raise IndexError('index out of range') lab = None elif typ is list or typ is tuple: try: lab = [self.label[ax][z] for z in idx] except IndexError: - raise IndexError, 'index out of range' + raise IndexError('index out of range') allscalar = False elif typ is np.ndarray: if idx.ndim != 1: msg = 'You can use a Numpy array for indexing, ' msg += 'but it must be 1d.' - raise IndexError, msg + raise IndexError(msg) if idx.dtype.type == np.bool_: try: lab = [self.label[ax][j] for j, z in enumerate(idx) if z] except IndexError: - raise IndexError, 'index out of range' + raise IndexError('index out of range') else: try: lab = [self.label[ax][z] for z in idx] except IndexError: - raise IndexError, 'index out of range' + raise IndexError('index out of range') allscalar = False elif typ is slice: lab = self.label[ax][idx] allscalar = False else: msg = 'I do not recognize the way you are indexing' - raise IndexError, msg + raise IndexError(msg) else: lab = self.label[ax] if lab is not None: @@ -1706,25 +1706,25 @@ if index.ndim != 1: msg = 'You can use a Numpy array for indexing, ' msg += 'but it must be 1d.' - raise IndexError, msg + raise IndexError(msg) if index.dtype.type == np.bool_: try: lab = [self.label[0][j] for j, z in enumerate(index) if z] except IndexError: - raise IndexError, 'index out of range' + raise IndexError('index out of range') else: try: lab = [self.label[0][z] for z in index] except IndexError: - raise IndexError, 'index out of range' + raise IndexError('index out of range') label = self.copylabel() label[0] = lab x = self.x[index] else: msg = 'Only slice, integer, and seq (list, tuple, 1d array)' msg = msg + ' indexing supported' - raise IndexError, msg + raise IndexError(msg) return larry(x, label) def take(self, indices, axis): @@ -1949,7 +1949,7 @@ # Could use morph to do this, if every row and column of self # is in index, but I think it is better to raise an IndexError msg = 'Indexing with a larry that is not aligned' - raise IndexError, msg + raise IndexError(msg) else: if isinstance(value, larry): # TODO The line below (self[index].label) is slow. Need a @@ -1958,7 +1958,7 @@ if self[index].label == value.label: self.x[index] = value.x else: - raise IndexError, 'larrys are not aligned.' + raise IndexError('larrys are not aligned.') else: self.x[index] = value @@ -2003,9 +2003,9 @@ """ if len(label) != self.ndim: - raise ValueError, 'Must have exactly one label per dimension' + raise ValueError('Must have exactly one label per dimension') index = [] - for i in xrange(self.ndim): + for i in range(self.ndim): index.append(self.labelindex(label[i], axis=i)) self.x[tuple(index)] = value @@ -2040,9 +2040,9 @@ """ if len(label) != self.ndim: - raise ValueError, 'Must have exactly one label per dimension' + raise ValueError('Must have exactly one label per dimension') index = [] - for i in xrange(self.ndim): + for i in range(self.ndim): index.append(self.labelindex(label[i], axis=i)) return self.x[tuple(index)] @@ -2135,7 +2135,7 @@ """ if axis >= self.ndim: - raise IndexError, 'axis out of range' + raise IndexError('axis out of range') label = self.label[axis] if copy: label = list(label) @@ -2193,7 +2193,7 @@ """ if axis is None: - raise ValueError, 'axis cannot be None' + raise ValueError('axis cannot be None') label = list(self.label) label.pop(axis) idx = self.labelindex(name, axis) @@ -2278,11 +2278,11 @@ """ ops = ('==', '>', '<', '>=', '<=', '!=', 'in', 'not in') if op not in ops: - raise ValueError, 'Unknown op' + raise ValueError('Unknown op') if axis is None: - raise ValueError, 'axis cannot be None' + raise ValueError('axis cannot be None') if axis >= self.ndim: - raise IndexError, 'axis is out of range' + raise IndexError('axis is out of range') y = self.copy() cmd = '[(idx, z) for idx, z in enumerate(y.label[axis]) if z ' cmd = cmd + op + ' value]' @@ -2290,7 +2290,7 @@ if len(idxlabel) == 0: return larry([]) else: - idx, label = zip(*idxlabel) + idx, label = list(zip(*idxlabel)) y.label[axis] = list(label) index = [slice(None, None, None)] * self.ndim index[axis] = list(idx) @@ -2337,10 +2337,10 @@ """ if (vacuum == True) and (self.ndim != 2): - raise ValueError, 'When vacuum is True, larry must be 2d' + raise ValueError('When vacuum is True, larry must be 2d') ops = ('==', '>', '<', '>=', '<=', '!=') if op not in ops: - raise ValueError, 'Unknown op' + raise ValueError('Unknown op') y = self.copy() idx = eval('y.x ' + op + ' value') y.x[~idx] = np.nan @@ -2444,18 +2444,18 @@ """ if axis >= self.ndim: - raise IndexError, 'axis out of range' + raise IndexError('axis out of range') if axis is None: - raise ValueError, 'axis cannot be None' + raise ValueError('axis cannot be None') try: index = self.label[axis].index(name) except ValueError: if exact: - raise IndexError, 'name not in label along axis %d' % axis + raise IndexError('name not in label along axis %d' % axis) else: idx = [i for i, z in enumerate(self.label[axis]) if z <= name] if len(idx) == 0: - raise IndexError, 'name not in label along axis %d' % axis + raise IndexError('name not in label along axis %d' % axis) index = max(idx) return index @@ -2511,9 +2511,9 @@ y = self if axis is None: for ax in range(y.ndim): - y.label[ax] = map(func, y.label[ax]) + y.label[ax] = list(map(func, y.label[ax])) else: - y.label[axis] = map(func, y.label[axis]) + y.label[axis] = list(map(func, y.label[axis])) return y # Moving window statistics ---------------------------------------------- @@ -3108,11 +3108,11 @@ be a subset of the row labels of the group. """ if not isinstance(group, larry): - raise TypeError, 'group must be a larry' + raise TypeError('group must be a larry') if group.ndim != 1: - raise ValueError, 'group must be a 1d larry' + raise ValueError('group must be a 1d larry') if len(frozenset(self.label[axis]) - frozenset(group.label[0])): - raise IndexError, 'label is not a subset of group label' + raise IndexError('label is not a subset of group label') g = group.morph(self.label[axis], 0) g = g.x.tolist() return g @@ -3161,7 +3161,7 @@ """ if axis >= self.ndim: - raise IndexError, 'axis out of range' + raise IndexError('axis out of range') if self.label[axis] == label: return self.copy() else: @@ -3240,7 +3240,7 @@ """ if self.ndim != lar.ndim: - raise IndexError, 'larrys must be of the same dimension.' + raise IndexError('larrys must be of the same dimension.') y = self.copy() for i in range(self.ndim): y = y.morph(lar.getlabel(i), axis=i) @@ -3289,7 +3289,7 @@ ndim = self.ndim if ndim != other.ndim: - raise IndexError, 'larrys must be of the same dimension.' + raise IndexError('larrys must be of the same dimension.') lar1 = self lar2 = other for ax in range(ndim): @@ -3318,7 +3318,7 @@ # Trap cases that merge cannot handle if dtype1 in (np.string_, object) or dtype2 in (np.string_, object): if dtype1 != dtype2: - raise TypeError, 'Incompatible dtypes' + raise TypeError('Incompatible dtypes') # Check for overlap if requested if (not update) and np.logical_and(mask1, mask2).any(): @@ -3418,7 +3418,7 @@ """ if axis is None: - raise IndexError, 'axis cannot be None.' + raise IndexError('axis cannot be None.') if nlag > 0: y = self.copy() y.label[axis] = y.label[axis][nlag:] @@ -3513,7 +3513,7 @@ """ if axis is None: - axes = range(self.ndim) + axes = list(range(self.ndim)) else: axes = [axis] y = self.copy() @@ -3589,7 +3589,7 @@ else: y = self if axis is None: - axes = range(self.ndim) + axes = list(range(self.ndim)) else: axes = [axis] flip = slice(None, None, -1) @@ -3778,9 +3778,9 @@ ndim = y.ndim if axis is None: - axes = range(ndim) + axes = list(range(ndim)) else: - axes = [range(ndim)[axis]] + axes = [list(range(ndim))[axis]] idxsl = [] labsnew = [] @@ -3851,7 +3851,7 @@ ndim = y.ndim if axis is None: - axes = range(ndim) + axes = list(range(ndim)) elif not hasattr(axis, '__iter__'): axes = [axis] # Change meaning of axes to axes not in original axes @@ -4208,7 +4208,7 @@ # Check input if self.ndim != 1: - raise ValueError, 'Only 1d larrys can be unflattened.' + raise ValueError('Only 1d larrys can be unflattened.') if self.shape == (0,): return larry([]) @@ -4216,8 +4216,8 @@ # Determine labels, shape, and index into array if not isscalar(self.x.flat[0]): msg = 'Only scalar dtype is currently supported.' - raise NotImplementedError, msg - labels = zip(*self.label[0]) + raise NotImplementedError(msg) + labels = list(zip(*self.label[0])) x, label = fromlists(self.x, labels) return larry(x, label) @@ -4270,7 +4270,7 @@ """ if axis is None: - raise ValueError, "`axis` cannot be None." + raise ValueError("`axis` cannot be None.") x = self.getx(copy=True) x = np.expand_dims(x, axis) lab = self.copylabel() @@ -4305,9 +4305,9 @@ """ yf = self.flatten() - z = zip(*yf.label[0]) + z = list(zip(*yf.label[0])) z.append(yf.x.tolist()) - return zip(*z) + return list(zip(*z)) @staticmethod def fromtuples(data): @@ -4376,7 +4376,7 @@ return larry([]) else: # Split data into label and x - labels = zip(*data) + labels = list(zip(*data)) xs = labels.pop(-1) # Determine labels, shape, and index into array x, label = fromlists(xs, labels) @@ -4454,7 +4454,7 @@ if len(data) == 0: return larry([]) else: - x, label = fromlists(data[0], zip(*data[1])) + x, label = fromlists(data[0], list(zip(*data[1]))) return larry(x, label) def todict(self): @@ -4476,7 +4476,7 @@ """ ylist = self.tolist() - return dict(zip(ylist[1], ylist[0])) + return dict(list(zip(ylist[1], ylist[0]))) @staticmethod def fromdict(data): @@ -4524,7 +4524,7 @@ [ 3., 4.]]) """ - return larry.fromlist([data.values(), data.keys()]) + return larry.fromlist([list(data.values()), list(data.keys())]) def tocsv(self, filename, delimiter=','): """ @@ -4645,7 +4645,7 @@ """ fid = open(filename, 'r') reader = csv.reader(fid, delimiter=delimiter) - [reader.next() for i in range(skiprows)] + [next(reader) for i in range(skiprows)] data = [row for row in reader] fid.close() return larry.fromtuples(data) @@ -4701,7 +4701,7 @@ if ndim not in (1, 2): msg = "Only 1d and 2d larrys supported; " msg +="try the IO function or tocsv method." - raise ValueError, msg + raise ValueError(msg) # Open file if needed if type(file) == str: @@ -4744,7 +4744,7 @@ if opened: f.close() msg = "Please report this bug; the code should never reach here." - raise RuntimeError, msg + raise RuntimeError(msg) # Close file if opened (i.e., if file was a str) if opened: @@ -4843,7 +4843,7 @@ elif 0 in y.shape: msg = 'lix does not support shapes that contain 0 ' msg += 'such as (0,) and (2, 0 ,3).' - raise ValueError, msg + raise ValueError(msg) typ = type(index) if typ == list: # Example: lar.lix[['a', 'b', 'c']] @@ -4863,7 +4863,7 @@ elif len(index) < y.ndim: index3 = list(index) + [slice(None)] * (y.ndim - len(index)) else: - raise IndexError, 'Invalid index' + raise IndexError('Invalid index') for ax, idx in enumerate(index3): typ = type(idx) if typ == list: @@ -4873,7 +4873,7 @@ index2.append(idx2) elif typ == slice: s = slicemaker(idx, y.labelindex, ax) - slar = range(*s.indices(y.shape[ax])) + slar = list(range(*s.indices(y.shape[ax]))) lab = y.label[ax][s] if len(lab) > 1: label.append(lab) @@ -4881,7 +4881,7 @@ elif isscalar(idx): index2.append([idx]) else: - raise IndexError, 'Unsupported indexing operation.' + raise IndexError('Unsupported indexing operation.') x = np.squeeze(y.x[np.ix_(*index2)]) if x.ndim == 0: return x[()] @@ -4891,7 +4891,7 @@ # Example: lar.lix[0] return y[index] else: - raise IndexError, 'Unsupported indexing operation.' + raise IndexError('Unsupported indexing operation.') def slicemaker(index, labelindex, axis): "Convert a slice that may contain labels to a slice with indices." @@ -4901,29 +4901,29 @@ start = None elif type(index.start) is list: if len(index.start) > 1: - raise ValueError, msg2 % 'start' + raise ValueError(msg2 % 'start'RefactoringTool: Refactored ./la/data/yahoo.py RefactoringTool: Refactored ./la/__init__.py RefactoringTool: Refactored ./doc/sphinxext/traitsdoc.py RefactoringTool: No changes to ./doc/sphinxext/setup.py RefactoringTool: Refactored ./doc/sphinxext/plot_directive.py ) start = labelindex(index.start[0], axis=axis) elif isscalar(index.start): start = index.start else: - raise ValueError, msg1 % 'start' + raise ValueError(msg1 % 'start') if index.stop is None: stop = None elif type(index.stop) is list: if len(index.stop) > 1: - raise ValueError, msg2 % 'start' + raise ValueError(msg2 % 'start') stop = labelindex(index.stop[0], axis=axis) elif isscalar(index.stop): stop = index.stop else: - raise ValueError, msg1 % 'stop' + raise ValueError(msg1 % 'stop') return slice(start, stop, index.step) def labels2indices(label, labels): "Convert list of labels to indices" try: - indices = map(label.index, labels) + indices = list(map(label.index, labels)) except ValueError: - raise ValueError, 'Could not map label to index value.' + raise ValueError('Could not map label to index value.') return indices --- ./la/data/yahoo.py (original) +++ ./la/data/yahoo.py (refactored) @@ -110,10 +110,10 @@ lar = None items = ['open', 'close', 'high', 'low', 'volume', 'adjclose'] if verbose: - print "Load data" + print("Load data") for ticker in tickers: if verbose: - print "\t" + ticker + print("\t" + ticker) data, dates = quotes_historical_yahoo(ticker, date1, date2) data = np.array(data).T qlar = la.larry(data, [items, dates]) --- ./la/__init__.py (original) +++ ./la/__init__.py (refactored) @@ -22,7 +22,7 @@ test = Tester().test del Tester except (ImportError, ValueError): - print "No la unit testing available." + print("No la unit testing available.") try: # Namespace cleaning --- ./doc/sphinxext/traitsdoc.py (original) +++ ./doc/sphinxext/traitsdoc.py (refactored) @@ -18,13 +18,13 @@ import os import pydoc -import docscrape -import docscrape_sphinx -from docscrape_sphinx import SphinxClassDoc, SphinxFunctionDoc, SphinxDocString +from . import docscrape +from . import docscrape_sphinx +from .docscrape_sphinx import SphinxClassDoc, SphinxFunctionDoc, SphinxDocString -import numpydoc +from . import numpydoc -import comment_eater +from . import comment_eater class SphinxTraitsDoc(SphinxClassDoc): def __init__(self, cls, modulename='', func_doc=SphinxFunctionDoc): --- ./doc/sphinxext/plot_directive.py (original) +++ ./doc/sphinxext/plot_directive.py (refactored) @@ -75,7 +75,7 @@ """ -import sys, os, glob, shutil, imp, warnings, cStringIO, re, textwrap, traceback +import sys, os, glob, shutil, imp, warnings, io, re, textwrap, traceback import sphinx import warnings @@ -257,7 +257,7 @@ # is it in doctest format? is_doctest = contains_doctest(code) - if options.has_key('format'): + if 'format' in options: if options['format'] == 'python': is_doctest = False else: @@ -291,7 +291,7 @@ results = makefig(code, source_file_name, build_dir, output_base, config) errors = [] - except PlotError, err: + except PlotError as err: reporter = state.memo.reporter sm = reporter.system_message( 2, "Exception occurred in plotting %s: %s" % (output_base, err), @@ -314,7 +314,7 @@ else: source_code = "" - opts = [':%s: %s' % (key, val) for key, val in options.items() + opts = [':%s: %s' % (key, val) for key, val in list(options.items()) if key in ('alt', 'height', 'width', 'scale', 'align', 'class')] only_html = ".. only:: html" @@ -444,7 +444,7 @@ # Redirect stdout stdout = sys.stdout - sys.stdout = cStringIO.StringIO() + sys.stdout = io.StringIO() # Reset sys.argv old_sys_argv = sys.argv @@ -456,9 +456,9 @@ if ns is None: ns = {} if not ns: - RefactoringTool: Refactored ./doc/sphinxext/phantom_import.py RefactoringTool: Refactored ./doc/sphinxext/numpydoc.py exec setup.config.plot_pre_code in ns - exec code in ns - except (Exception, SystemExit), err: + exec(setup.config.plot_pre_code, ns) + exec(code, ns) + except (Exception, SystemExit) as err: raise PlotError(traceback.format_exc()) finally: os.chdir(pwd) @@ -520,7 +520,7 @@ all_exists = True for i, code_piece in enumerate(code_pieces): images = [] - for j in xrange(1000): + for j in range(1000): img = ImageFile('%s_%02d_%02d' % (output_base, i, j), output_dir) for format, dpi in formats: if out_of_date(code_path, img.filename(format)): @@ -565,7 +565,7 @@ for format, dpi in formats: try: figman.canvas.figure.savefig(img.filename(format), dpi=dpi) - except exceptions.BaseException, err: + except exceptions.BaseException as err: raise PlotError(traceback.format_exc()) img.formats.append(format) @@ -590,23 +590,23 @@ """ if not os.path.exists(target): - raise OSError, 'Target does not exist: '+target + raise OSError('Target does not exist: '+target) if not os.path.isdir(base): - raise OSError, 'Base is not a directory or does not exist: '+base + raise OSError('Base is not a directory or does not exist: '+base) base_list = (os.path.abspath(base)).split(os.sep) target_list = (os.path.abspath(target)).split(os.sep) # On the windows platform the target may be on a completely # different drive from the base. - if os.name in ['nt','dos','os2'] and base_list[0] <> target_list[0]: - raise OSError, 'Target is on a different drive to base. Target: '+target_list[0].upper()+', base: '+base_list[0].upper() + if os.name in ['nt','dos','os2'] and base_list[0] != target_list[0]: + raise OSError('Target is on a different drive to base. Target: '+target_list[0].upper()+', base: '+base_list[0].upper()) # Starting from the filepath root, work out how much of the # filepath is shared by base and target. for i in range(min(len(base_list), len(target_list))): - if base_list[i] <> target_list[i]: break + if base_list[i] != target_list[i]: break else: # If we broke out of the loop, i is pointing to the first # differing path elements. If we didn't break out of the --- ./doc/sphinxext/phantom_import.py (original) +++ ./doc/sphinxext/phantom_import.py (refactored) @@ -23,7 +23,7 @@ def initialize(app): fn = app.config.phantom_import_file if (fn and os.path.isfile(fn)): - print "[numpydoc] Phantom importing modules from", fn, "..." + print("[numpydoc] Phantom importing modules from", fn, "...") import_phantom_module(fn) #------------------------------------------------------------------------------ @@ -129,7 +129,7 @@ doc = "%s%s\n\n%s" % (funcname, argspec, doc) obj = lambda: 0 obj.__argspec_is_invalid_ = True - obj.func_name = funcname + obj.__name__ = funcname obj.__name__ = name obj.__doc__ = doc if inspect.isclass(object_cache[parent]): --- ./doc/sphinxext/numpydoc.py (original) +++ ./doc/sphinxext/numpydoc.py (refactored) @@ -17,7 +17,7 @@ """ import os, re, pydoc -from docscrape_sphinx import get_doc_object, SphinxDocString +from .docscrape_sphinx import get_doc_object, SphinxDocString from sphinx.util.compat import Directive import inspect @@ -29,28 +29,28 @@ if what == 'module': # Strip top title - title_re = re.compile(ur'^\s*[#*=]{4,}\n[a-z0-9 -]+\n[#*=]{4,}\s*', + title_re = re.compile(r'^\s*[#*=]{4,}\n[a-z0-9 -]+\n[#*=]{4,}\s*', re.I|re.S) - lines[:] = title_re.sub(u'', u"\n".join(lines)).split(u"\n") + lRefactoringTool: Refactored ./doc/sphinxext/docscrape_sphinx.py RefactoringTool: Refactored ./doc/sphinxext/docscrape.py ines[:] = title_re.sub('', "\n".join(lines)).split("\n") else: - doc = get_doc_object(obj, what, u"\n".join(lines), config=cfg) - lines[:] = unicode(doc).split(u"\n") + doc = get_doc_object(obj, what, "\n".join(lines), config=cfg) + lines[:] = str(doc).split("\n") if app.config.numpydoc_edit_link and hasattr(obj, '__name__') and \ obj.__name__: if hasattr(obj, '__module__'): - v = dict(full_name=u"%s.%s" % (obj.__module__, obj.__name__)) + v = dict(full_name="%s.%s" % (obj.__module__, obj.__name__)) else: v = dict(full_name=obj.__name__) - lines += [u'', u'.. htmlonly::', ''] - lines += [u' %s' % x for x in + lines += ['', '.. htmlonly::', ''] + lines += [' %s' % x for x in (app.config.numpydoc_edit_link % v).split("\n")] # replace reference numbers so that there are no duplicates references = [] for line in lines: line = line.strip() - m = re.match(ur'^.. \[([a-z0-9_.-])\]', line, re.I) + m = re.match(r'^.. \[([a-z0-9_.-])\]', line, re.I) if m: references.append(m.group(1)) @@ -59,14 +59,14 @@ if references: for i, line in enumerate(lines): for r in references: - if re.match(ur'^\d+$', r): - new_r = u"R%d" % (reference_offset[0] + int(r)) + if re.match(r'^\d+$', r): + new_r = "R%d" % (reference_offset[0] + int(r)) else: - new_r = u"%s%d" % (r, reference_offset[0]) - lines[i] = lines[i].replace(u'[%s]_' % r, - u'[%s]_' % new_r) - lines[i] = lines[i].replace(u'.. [%s]' % r, - u'.. [%s]' % new_r) + new_r = "%s%d" % (r, reference_offset[0]) + lines[i] = lines[i].replace('[%s]_' % r, + '[%s]_' % new_r) + lines[i] = lines[i].replace('.. [%s]' % r, + '.. [%s]' % new_r) reference_offset[0] += len(references) @@ -82,8 +82,8 @@ doc = SphinxDocString(pydoc.getdoc(obj)) if doc['Signature']: - sig = re.sub(u"^[^(]*", u"", doc['Signature']) - return sig, u'' + sig = re.sub("^[^(]*", "", doc['Signature']) + return sig, '' def setup(app, get_doc_object_=get_doc_object): global get_doc_object @@ -115,7 +115,7 @@ self.wrap_mangling_directives() def wrap_mangling_directives(self): - for name, objtype in self.directive_mangling_map.items(): + for name, objtype in list(self.directive_mangling_map.items()): self.directives[name] = wrap_mangling_directive( self.directives[name], objtype) --- ./doc/sphinxext/docscrape_sphinx.py (original) +++ ./doc/sphinxext/docscrape_sphinx.py (refactored) @@ -1,6 +1,6 @@ import re, inspect, textwrap, pydoc import sphinx -from docscrape import NumpyDocString, FunctionDoc, ClassDoc +from .docscrape import NumpyDocString, FunctionDoc, ClassDoc class SphinxDocString(NumpyDocString): def __init__(self, docstring, config={}): @@ -127,7 +127,7 @@ return out out += ['.. index:: %s' % idx.get('default','')] - for section, references in idx.iteritems(): + for section, references in idx.items(): if section == 'default': continue elif section == 'refguide': --- ./doc/sphinxext/docscrape.py (original) +++ ./doc/sphinxext/docscrape.py (refactored) @@ -6,7 +6,7 @@ import textwrap import re import pydoc -from StringIO import StringIO +from io import StringIO from warnings import warn class Reader(object): @@ -113,7 +113,7 @@ return self._parsed_data[key] def __setitem__(self,key,val): - if not self._parsed_data.has_key(key): + if key not in self._parsed_data: warn("Unknown secRefactoringTool: Refactored ./doc/sphinxext/compiler_unparse.py RefactoringTool: Refactored ./doc/sphinxext/comment_eater.py RefactoringTool: Refactored ./doc/sphinxext/__init__.py RefactoringTool: Refactored ./doc/source/conf.py RefactoringTool: Files that were modified: RefactoringTool: ./setup.py RefactoringTool: ./la/version.py RefactoringTool: ./la/util/tests/testing_test.py RefactoringTool: ./la/util/tests/resample_test.py RefactoringTool: ./la/util/tests/misc_test.py RefactoringTool: ./la/util/testing.py RefactoringTool: ./la/util/resample.py RefactoringTool: ./la/util/report.py RefactoringTool: ./la/util/misc.py RefactoringTool: ./la/util/__init__.py RefactoringTool: ./la/tests/test_3d.py RefactoringTool: ./la/tests/slicing_test.py RefactoringTool: ./la/tests/more_test.py RefactoringTool: ./la/tests/missing_test.py RefactoringTool: ./la/tests/lix_test.py RefactoringTool: ./la/tests/larry_axis_test.py RefactoringTool: ./la/tests/io_test.py RefactoringTool: ./la/tests/flarry_test.py RefactoringTool: ./la/tests/flabel_test.py RefactoringTool: ./la/tests/empty_larry_test.py RefactoringTool: ./la/tests/deflarry_test.py RefactoringTool: ./la/tests/deflarry_nose_test.py RefactoringTool: ./la/tests/deflarry_move_test.py RefactoringTool: ./la/tests/all_nan_test.py RefactoringTool: ./la/src/setup.py RefactoringTool: ./la/missing.py RefactoringTool: ./la/io.py RefactoringTool: ./la/flarry.py RefactoringTool: ./la/flabel.py RefactoringTool: ./la/farray/tests/move_test.py RefactoringTool: ./la/farray/tests/farray_test.py RefactoringTool: ./la/farray/normalize.py RefactoringTool: ./la/farray/move.py RefactoringTool: ./la/farray/misc.py RefactoringTool: ./la/farray/group.py RefactoringTool: ./la/farray/__init__.py RefactoringTool: ./la/external/prettytable.py RefactoringTool: ./la/external/matplotlib.py RefactoringTool: ./la/deflarry.py RefactoringTool: ./la/data/yahoo.py RefactoringTool: ./la/__init__.py RefactoringTool: ./doc/sphinxext/traitsdoc.py RefactoringTool: ./doc/sphinxext/setup.py RefactoringTool: ./doc/sphinxext/plot_directive.py RefactoringTool: ./doc/sphinxext/phantom_import.py RefactoringTool: ./doc/sphinxext/numpydoc.py RefactoringTool: ./doc/sphinxext/docscrape_sphinx.py RefactoringTool: ./doc/sphinxext/docscrape.py RefactoringTool: ./doc/sphinxext/compiler_unparse.py RefactoringTool: ./doc/sphinxext/comment_eater.py RefactoringTool: ./doc/sphinxext/__init__.py RefactoringTool: ./doc/source/conf.py tion %s" % key) else: self._parsed_data[key] = val @@ -370,7 +370,7 @@ idx = self['index'] out = [] out += ['.. index:: %s' % idx.get('default','')] - for section, references in idx.iteritems(): + for section, references in idx.items(): if section == 'default': continue out += [' :%s: %s' % (section, ', '.join(references))] @@ -428,7 +428,7 @@ argspec = inspect.formatargspec(*argspec) argspec = argspec.replace('*','\*') signature = '%s%s' % (func_name, argspec) - except TypeError, e: + except TypeError as e: signature = '%s()' % func_name self['Signature'] = signature @@ -450,8 +450,8 @@ 'meth': 'method'} if self._role: - if not roles.has_key(self._role): - print "Warning: invalid role %s" % self._role + if self._role not in roles: + print("Warning: invalid role %s" % self._role) out += '.. %s:: %s\n \n\n' % (roles.get(self._role,''), func_name) --- ./doc/sphinxext/compiler_unparse.py (original) +++ ./doc/sphinxext/compiler_unparse.py (refactored) @@ -12,11 +12,11 @@ """ import sys -import cStringIO +import io from compiler.ast import Const, Name, Tuple, Div, Mul, Sub, Add def unparse(ast, single_line_functions=False): - s = cStringIO.StringIO() + s = io.StringIO() UnparseCompilerAst(ast, s, single_line_functions) return s.getvalue().lstrip() @@ -504,7 +504,7 @@ # Check if parenthesis are needed on left side and then dispatch has_paren = False left_class = str(t.left.__class__) - if (left_class in op_precedence.keys() and + if (left_class in list(op_precedence.keys()) and op_precedence[left_class] < op_precedence[str(t.__class__)]): has_paren = True if has_paren: @@ -517,7 +517,7 @@ # Check if parenthesis are needed on the right side and then dispatch has_paren = False right_class = str(t.right.__class__) - if (right_class in op_precedence.keys() and + if (right_class in list(op_precedence.keys()) and op_precedence[right_class] < op_precedence[str(t.__class__)]): has_paren = True if has_paren: --- ./doc/sphinxext/comment_eater.py (original) +++ ./doc/sphinxext/comment_eater.py (refactored) @@ -1,10 +1,10 @@ -from cStringIO import StringIO +from io import StringIO import compiler import inspect import textwrap import tokenize -from compiler_unparse import unparse +from .compiler_unparse import unparse class Comment(object): @@ -68,7 +68,7 @@ def process_file(self, file): """ Process a file object. """ - for token in tokenize.generate_tokens(file.next): + for token in tokenize.generate_tokens(file.__next__): self.process_token(*token) self.make_index() --- ./doc/sphinxext/__init__.py (original) +++ ./doc/sphinxext/__init__.py (refactored) @@ -1 +1 @@ -from numpydoc import setup +from .numpydoc import setup --- ./doc/source/conf.py (original) +++ ./doc/source/conf.py (refactored) @@ -38,8 +38,8 @@ master_doc = 'index' # General information about the project. -project = u'la' -copyright = u'2010, Archipel Asset Management AB' +project = 'la' +copyright = '2010, Archipel Asset Management AB' # Grab version from la/version.py ver_file = os.path.join('..', '..', 'la', 'version.py') @@ -199,8 +199,8 @@ # Grouping the document tree into LaTeX files. List of tuples # (source start file, target name, title, author, documentclass [howto/manual]). latex_documents = [ - ('index', 'la.tex', u'la Documentation', - u'Keith Goodman', 'manual'), + ('index', 'la.tex', 'la Documentation', + 'Keith Goodman', 'manual'), ] # The name of an image file (relative to this directory) to place at the top of + rm -f ../python3/la/src/cflabel.c + install -pm644 /usr/share/python-sphinx/objects.inv doc/ + '[' -e doc/conf.py ']' + cp -u /usr/lib/python2.7/site-packages/sphinx/conf.py.template doc/conf.py + ln -s ../objects.inv doc/source/ + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.64625 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-la-0.6.0 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + /usr/bin/python2.7 setup.py build --debug running build running build_py creating build creating build/lib.linux-i686-2.7 creating build/lib.linux-i686-2.7/la copying la/version.py -> build/lib.linux-i686-2.7/la copying la/missing.py -> build/lib.linux-i686-2.7/la copying la/io.py -> build/lib.linux-i686-2.7/la copying la/flarry.py -> build/lib.linux-i686-2.7/la copying la/flabel.py -> build/lib.linux-i686-2.7/la copying la/deflarry.py -> build/lib.linux-i686-2.7/la copying la/__init__.py -> build/lib.linux-i686-2.7/la package init file 'la/tests/__init__.py' not found (or not a regular file) creating build/lib.linux-i686-2.7/la/tests copying la/tests/test_3d.py -> build/lib.linux-i686-2.7/la/tests copying la/tests/slicing_test.py -> build/lib.linux-i686-2.7/la/tests copying la/tests/more_test.py -> build/lib.linux-i686-2.7/la/tests copying la/tests/missing_test.py -> build/lib.linux-i686-2.7/la/tests copying la/tests/lix_test.py -> build/lib.linux-i686-2.7/la/tests copying la/tests/larry_axis_test.py -> build/lib.linux-i686-2.7/la/tests copying la/tests/io_test.py -> build/lib.linux-i686-2.7/la/tests copying la/tests/flarry_test.py -> build/lib.linux-i686-2.7/la/tests copying la/tests/flabel_test.py -> build/lib.linux-i686-2.7/la/tests copying la/tests/empty_larry_test.py -> build/lib.linux-i686-2.7/la/tests copying la/tests/deflarry_test.py -> build/lib.linux-i686-2.7/la/tests copying la/tests/deflarry_nose_test.py -> build/lib.linux-i686-2.7/la/tests copying la/tests/deflarry_move_test.py -> build/lib.linux-i686-2.7/la/tests copying la/tests/all_nan_test.py -> build/lib.linux-i686-2.7/la/tests creating build/lib.linux-i686-2.7/la/util copying la/util/testing.py -> build/lib.linux-i686-2.7/la/util copying la/util/resample.py -> build/lib.linux-i686-2.7/la/util copying la/util/report.py -> build/lib.linux-i686-2.7/la/util copying la/util/misc.py -> build/lib.linux-i686-2.7/la/util copying la/util/__init__.py -> build/lib.linux-i686-2.7/la/util package init file 'la/util/tests/__init__.py' not found (or not a regular file) creating build/lib.linux-i686-2.7/la/util/tests copying la/util/tests/testing_test.py -> build/lib.linux-i686-2.7/la/util/tests copying la/util/tests/resample_test.py -> build/lib.linux-i686-2.7/la/util/tests copying la/util/tests/misc_test.py -> build/lib.linux-i686-2.7/la/util/tests creating build/lib.linux-i686-2.7/la/external copying la/external/prettytable.py -> build/lib.linux-i686-2.7/la/external copying la/external/matplotlib.py -> build/lib.linux-i686-2.7/la/external copying la/external/__init__.py -> build/lib.linux-i686-2.7/la/external creating build/lib.linux-i686-2.7/la/farray copying la/farray/normalize.py -> build/lib.linux-i686-2.7/la/farray copying la/farray/move.py -> build/lib.linux-i686-2.7/la/farray copying la/farray/misc.py -> build/lib.linux-i686-2.7/la/farray copying la/farray/group.py -> build/lib.linux-i686-2.7/la/farray copying la/farray/__init__.py -> build/lib.linux-i686-2.7/la/farray package init file 'la/farray/tests/__init__.py' not found (or not a regular file) creating build/lib.linux-i686-2.7/la/farray/tests copying la/farray/tests/move_test.py -> build/lib.linux-i686-2.7/la/farray/tests copying la/farray/tests/farray_test.py -> build/lib.linux-i686-2.7/la/farray/tests creating build/lib.linux-i686-2.7/la/data copying la/data/yahoo.py -> build/lib.linux-i686-2.7/la/data copying la/data/__init__.py -> build/lib.linux-i686-2.7/la/data copying la/LICENSE -> build/lib.linux-i686-2.7/la package init file 'la/tests/__init__.py' not found (or not a regular file) package init file 'la/util/tests/__init__.py' not found (or not a regular file) package init file 'la/farray/tests/__init__.py' not found (or not a regular file) running build_ext building 'la.cflabel' extension creating build/temp.linux-i686-2.7 creating build/temp.linux-i686-2.7/la creating build/temp.linux-i686-2.7/la/src i586-alt-linux-gcc -pthread -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O3 -march=i586 -mtune=generic -fwrapv -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -g -I/usr/include/python2.7 -c la/src/cflabel.c -o build/temp.linux-i686-2.7/la/src/cflabel.o In file included from /usr/include/python2.7/Python.h:83, from la/src/cflabel.c:4: la/src/cflabel.c: In function 'initcflabel': /usr/include/python2.7/object.h:769:6: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((PyObject*)(op))->ob_refcnt++) ~^~~~~~~~~~~~~~~~ la/src/cflabel.c:283:42: note: in expansion of macro 'Py_INCREF' #define __Pyx_PyBool_FromLong(b) ((b) ? (Py_INCREF(Py_True), Py_True) : (Py_INCREF(Py_False), Py_False)) ^~~~~~~~~ la/src/cflabel.c:1467:15: note: in expansion of macro '__Pyx_PyBool_FromLong' __pyx_t_1 = __Pyx_PyBool_FromLong(0); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 5; __pyx_clineno = __LINE__; goto __pyx_L1_error;} ^~~~~~~~~~~~~~~~~~~~~ /usr/include/python2.7/object.h:769:6: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((PyObject*)(op))->ob_refcnt++) ~^~~~~~~~~~~~~~~~ la/src/cflabel.c:283:74: note: in expansion of macro 'Py_INCREF' #define __Pyx_PyBool_FromLong(b) ((b) ? (Py_INCREF(Py_True), Py_True) : (Py_INCREF(Py_False), Py_False)) ^~~~~~~~~ la/src/cflabel.c:1467:15: note: in expansion of macro '__Pyx_PyBool_FromLong' __pyx_t_1 = __Pyx_PyBool_FromLong(0); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 5; __pyx_clineno = __LINE__; goto __pyx_L1_error;} ^~~~~~~~~~~~~~~~~~~~~ i586-alt-linux-gcc -pthread -shared -L/usr/lib/nsl -lnsl -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g build/temp.linux-i686-2.7/la/src/cflabel.o -lpython2.7 -o build/lib.linux-i686-2.7/la/cflabel.so + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-la-0.6.0 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + /usr/bin/python3 setup.py build --debug running build running build_py creating build creating build/lib.linux-i686-3.6 creating build/lib.linux-i686-3.6/la copying la/version.py -> build/lib.linux-i686-3.6/la copying la/missing.py -> build/lib.linux-i686-3.6/la copying la/io.py -> build/lib.linux-i686-3.6/la copying la/flarry.py -> build/lib.linux-i686-3.6/la copying la/flabel.py -> build/lib.linux-i686-3.6/la copying la/deflarry.py -> build/lib.linux-i686-3.6/la copying la/__init__.py -> build/lib.linux-i686-3.6/la package init file 'la/tests/__init__.py' not found (or not a regular file) creating build/lib.linux-i686-3.6/la/tests copying la/tests/test_3d.py -> build/lib.linux-i686-3.6/la/tests copying la/tests/slicing_test.py -> build/lib.linux-i686-3.6/la/tests copying la/tests/more_test.py -> build/lib.linux-i686-3.6/la/tests copying la/tests/missing_test.py -> build/lib.linux-i686-3.6/la/tests copying la/tests/lix_test.py -> build/lib.linux-i686-3.6/la/tests copying la/tests/larry_axis_test.py -> build/lib.linux-i686-3.6/la/tests copying la/tests/io_test.py -> build/lib.linux-i686-3.6/la/tests copying la/tests/flarry_test.py -> build/lib.linux-i686-3.6/la/tests copying la/tests/flabel_test.py -> build/lib.linux-i686-3.6/la/tests copying la/tests/empty_larry_test.py -> build/lib.linux-i686-3.6/la/tests copying la/tests/deflarry_test.py -> build/lib.linux-i686-3.6/la/tests copying la/tests/deflarry_nose_test.py -> build/lib.linux-i686-3.6/la/tests copying la/tests/deflarry_move_test.py -> build/lib.linux-i686-3.6/la/tests copying la/tests/all_nan_test.py -> build/lib.linux-i686-3.6/la/tests creating build/lib.linux-i686-3.6/la/util copying la/util/testing.py -> build/lib.linux-i686-3.6/la/util copying la/util/resample.py -> build/lib.linux-i686-3.6/la/util copying la/util/report.py -> build/lib.linux-i686-3.6/la/util copying la/util/misc.py -> build/lib.linux-i686-3.6/la/util copying la/util/__init__.py -> build/lib.linux-i686-3.6/la/util package init file 'la/util/tests/__init__.py' not found (or not a regular file) creating build/lib.linux-i686-3.6/la/util/tests copying la/util/tests/testing_test.py -> build/lib.linux-i686-3.6/la/util/tests copying la/util/tests/resample_test.py -> build/lib.linux-i686-3.6/la/util/tests copying la/util/tests/misc_test.py -> build/lib.linux-i686-3.6/la/util/tests creating build/lib.linux-i686-3.6/la/external copying la/external/prettytable.py -> build/lib.linux-i686-3.6/la/external copying la/external/matplotlib.py -> build/lib.linux-i686-3.6/la/external copying la/external/__init__.py -> build/lib.linux-i686-3.6/la/external creating build/lib.linux-i686-3.6/la/farray copying la/farray/normalize.py -> build/lib.linux-i686-3.6/la/farray copying la/farray/move.py -> build/lib.linux-i686-3.6/la/farray copying la/farray/misc.py -> build/lib.linux-i686-3.6/la/farray copying la/farray/group.py -> build/lib.linux-i686-3.6/la/farray copying la/farray/__init__.py -> build/lib.linux-i686-3.6/la/farray package init file 'la/farray/tests/__init__.py' not found (or not a regular file) creating build/lib.linux-i686-3.6/la/farray/tests copying la/farray/tests/move_test.py -> build/lib.linux-i686-3.6/la/farray/tests copying la/farray/tests/farray_test.py -> build/lib.linux-i686-3.6/la/farray/tests creating build/lib.linux-i686-3.6/la/data copying la/data/yahoo.py -> build/lib.linux-i686-3.6/la/data copying la/data/__init__.py -> build/lib.linux-i686-3.6/la/data copying la/LICENSE -> build/lib.linux-i686-3.6/la package init file 'la/tests/__init__.py' not found (or not a regular file) package init file 'la/util/tests/__init__.py' not found (or not a regular file) package init file 'la/farray/tests/__init__.py' not found (or not a regular file) running build_ext building 'la.cflabel' extension creating build/temp.linux-i686-3.6 creating build/temp.linux-i686-3.6/la creating build/temp.linux-i686-3.6/la/src i586-alt-linux-gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -g -fwrapv -O3 -Wall -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -g -I/usr/include/python3.6m -c la/src/cflabel.c -o build/temp.linux-i686-3.6/la/src/cflabel.o i586-alt-linux-gcc: error: la/src/cflabel.c: No such file or directory i586-alt-linux-gcc: fatal error: no input files compilation terminated. Looks like cflabel.c failed to compile, so the slower python version will be used instead. running build running build_py creating build/lib creating build/lib/la copying la/version.py -> build/lib/la copying la/missing.py -> build/lib/la copying la/io.py -> build/lib/la copying la/flarry.py -> build/lib/la copying la/flabel.py -> build/lib/la copying la/deflarry.py -> build/lib/la copying la/__init__.py -> build/lib/la package init file 'la/tests/__init__.py' not found (or not a regular file) creating build/lib/la/tests copying la/tests/test_3d.py -> build/lib/la/tests copying la/tests/slicing_test.py -> build/lib/la/tests copying la/tests/more_test.py -> build/lib/la/tests copying la/tests/missing_test.py -> build/lib/la/tests copying la/tests/lix_test.py -> build/lib/la/tests copying la/tests/larry_axis_test.py -> build/lib/la/tests copying la/tests/io_test.py -> build/lib/la/tests copying la/tests/flarry_test.py -> build/lib/la/tests copying la/tests/flabel_test.py -> build/lib/la/tests copying la/tests/empty_larry_test.py -> build/lib/la/tests copying la/tests/deflarry_test.py -> build/lib/la/tests copying la/tests/deflarry_nose_test.py -> build/lib/la/tests copying la/tests/deflarry_move_test.py -> build/lib/la/tests copying la/tests/all_nan_test.py -> build/lib/la/tests creating build/lib/la/util copying la/util/testing.py -> build/lib/la/util copying la/util/resample.py -> build/lib/la/util copying la/util/report.py -> build/lib/la/util copying la/util/misc.py -> build/lib/la/util copying la/util/__init__.py -> build/lib/la/util package init file 'la/util/tests/__init__.py' not found (or not a regular file) creating build/lib/la/util/tests copying la/util/tests/testing_test.py -> build/lib/la/util/tests copying la/util/tests/resample_test.py -> build/lib/la/util/tests copying la/util/tests/misc_test.py -> build/lib/la/util/tests creating build/lib/la/external copying la/external/prettytable.py -> build/lib/la/external copying la/external/matplotlib.py -> build/lib/la/external copying la/external/__init__.py -> build/lib/la/external creating build/lib/la/farray copying la/farray/normalize.py -> build/lib/la/farray copying la/farray/move.py -> build/lib/la/farray copying la/farray/misc.py -> build/lib/la/farray copying la/farray/group.py -> build/lib/la/farray copying la/farray/__init__.py -> build/lib/la/farray package init file 'la/farray/tests/__init__.py' not found (or not a regular file) creating build/lib/la/farray/tests copying la/farray/tests/move_test.py -> build/lib/la/farray/tests copying la/farray/tests/farray_test.py -> build/lib/la/farray/tests creating build/lib/la/data copying la/data/yahoo.py -> build/lib/la/data copying la/data/__init__.py -> build/lib/la/data copying la/LICENSE -> build/lib/la package init file 'la/tests/__init__.py' not found (or not a regular file) package init file 'la/util/tests/__init__.py' not found (or not a regular file) package init file 'la/farray/tests/__init__.py' not found (or not a regular file) + popd ~/RPM/BUILD/python-module-la-0.6.0 + make -C doc pickle make: Entering directory '/usr/src/RPM/BUILD/python-module-la-0.6.0/doc' sphinx-build -b pickle -d build/doctrees source build/pickle Running Sphinx v1.6.5 making output directory... Generating grammar tables from /usr/lib/python2.7/site-packages/sphinx/pycode/Grammar-py2.txt /usr/lib/python2.7/site-packages/sphinx/util/compat.py:40: RemovedInSphinx17Warning: sphinx.util.compat.Directive is deprecated and will be removed in Sphinx 1.7, please use docutils' instead. RemovedInSphinx17Warning) loading pickled environment... not yet created building [mo]: targets for 0 po files that are out of date building [pickle]: targets for 11 source files that are out of date updating environment: 11 added, 0 changed, 0 removed reading sources... [ 9%] archive /usr/lib/python2.7/site-packages/sphinx/environment/__init__.py:686: RemovedInSphinx17Warning: html_use_smartypants option is deprecated. Smart quotes are on by default; if you want to disable or customize them, use the smart_quotes option in docutils.conf. RemovedInSphinx17Warning) reading sources... [ 18%] data reading sources... [ 27%] index reading sources... [ 36%] intro reading sources... [ 45%] license reading sources... [ 54%] ref_deflarry reading sources... [ 63%] ref_farray reading sources... [ 72%] ref_flarry reading sources... [ 81%] reference reading sources... [ 90%] release reading sources... [100%] work /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/archive.rst:6: WARNING: Duplicate explicit target name: "h5py". /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/archive.rst:351: WARNING: autodoc: failed to import function u'save' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/archive.rst:355: WARNING: autodoc: failed to import function u'load' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/archive.rst:359: WARNING: autodoc: failed to import function u'delete' from module u'la.io'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la.io /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/archive.rst:363: WARNING: autodoc: failed to import function u'repack' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/archive.rst:367: WARNING: autodoc: failed to import function u'is_archived_larry' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/archive.rst:371: WARNING: autodoc: failed to import function u'archive_directory' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/archive.rst:379: WARNING: autodoc: failed to import class u'IO' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/data.rst:16: WARNING: autodoc: failed to import function u'quotes' from module u'la.data.yahoo'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la.data.yahoo /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:29: WARNING: autodoc: failed to import method u'larry.__init__' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:33: WARNING: autodoc: failed to import method u'larry.fromtuples' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:37: WARNING: autodoc: failed to import method u'larry.fromlist' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:41: WARNING: autodoc: failed to import method u'larry.fromdict' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:45: WARNING: autodoc: failed to import method u'larry.fromcsv' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:57: WARNING: autodoc: failed to import method u'larry.log' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:61: WARNING: autodoc: failed to import method u'larry.exp' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:65: WARNING: autodoc: failed to import method u'larry.sqrt' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:69: WARNING: autodoc: failed to import method u'larry.sign' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:73: WARNING: autodoc: failed to import method u'larry.power' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:77: WARNING: autodoc: failed to import method u'larry.cumsum' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:81: WARNING: autodoc: failed to import method u'larry.cumprod' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:85: WARNING: autodoc: failed to import method u'larry.clip' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:89: WARNING: autodoc: failed to import method u'larry.abs' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:93: WARNING: autodoc: failed to import method u'larry.isnan' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:97: WARNING: autodoc: failed to import method u'larry.isfinite' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:101: WARNING: autodoc: failed to import method u'larry.isinf' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:105: WARNING: autodoc: failed to import method u'larry.invert' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:109: WARNING: autodoc: failed to import method u'larry.__invert__' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:122: WARNING: autodoc: failed to import method u'larry.__add__' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:126: WARNING: autodoc: failed to import method u'larry.__sub__' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:130: WARNING: autodoc: failed to import method u'larry.__div__' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:134: WARNING: autodoc: failed to import method u'larry.__mul__' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:138: WARNING: autodoc: failed to import method u'larry.__and__' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:142: WARNING: autodoc: failed to import method u'larry.__or__' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:153: WARNING: autodoc: failed to import method u'larry.sum' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:157: WARNING: autodoc: failed to import method u'larry.prod' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:161: WARNING: autodoc: failed to import method u'larry.mean' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:165: WARNING: autodoc: failed to import method u'larry.geometric_mean' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:169: WARNING: autodoc: failed to import method u'larry.median' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:173: WARNING: autodoc: failed to import method u'larry.std' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:177: WARNING: autodoc: failed to import method u'larry.var' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:181: WARNING: autodoc: failed to import method u'larry.max' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:185: WARNING: autodoc: failed to import method u'larry.min' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:189: WARNING: autodoc: failed to import method u'larry.any' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:193: WARNING: autodoc: failed to import method u'larry.all' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:197: WARNING: autodoc: failed to import method u'larry.lastrank' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:239: WARNING: autodoc: failed to import method u'larry.__eq__' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:243: WARNING: autodoc: failed to import method u'larry.__ne__' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:247: WARNING: autodoc: failed to import method u'larry.__lt__' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:251: WARNING: autodoc: failed to import method u'larry.__gt__' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:255: WARNING: autodoc: failed to import method u'larry.__le__' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:259: WARNING: autodoc: failed to import method u'larry.__ne__' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:270: WARNING: autodoc: failed to import method u'larry.__getitem__' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:274: WARNING: autodoc: failed to import method u'larry.take' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:278: WARNING: autodoc: failed to import method u'larry.lix' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:282: WARNING: autodoc: failed to import method u'larry.__setitem__' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:286: WARNING: autodoc: failed to import method u'larry.get' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:290: WARNING: autodoc: failed to import method u'larry.set' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:294: WARNING: autodoc: failed to import method u'larry.getx' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:298: WARNING: autodoc: failed to import method u'larry.A' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:302: WARNING: autodoc: failed to import method u'larry.getlabel' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:306: WARNING: autodoc: failed to import method u'larry.fill' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:310: WARNING: autodoc: failed to import method u'larry.pull' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:314: WARNING: autodoc: failed to import method u'larry.keep_label' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:318: WARNING: autodoc: failed to import method u'larry.keep_x' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:329: WARNING: autodoc: failed to import method u'larry.maxlabel' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:333: WARNING: autodoc: failed to import method u'larry.minlabel' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:337: WARNING: autodoc: failed to import method u'larry.labelindex' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:341: WARNING: autodoc: failed to import method u'larry.maplabel' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:351: WARNING: autodoc: failed to import method u'larry.move_sum' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:355: WARNING: autodoc: failed to import method u'larry.move_mean' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:359: WARNING: autodoc: failed to import method u'larry.move_std' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:363: WARNING: autodoc: failed to import method u'larry.move_min' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:367: WARNING: autodoc: failed to import method u'larry.move_max' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:371: WARNING: autodoc: failed to import method u'larry.move_ranking' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:375: WARNING: autodoc: failed to import method u'larry.move_median' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:379: WARNING: autodoc: failed to import method u'larry.move_func' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:383: WARNING: autodoc: failed to import method u'larry.movingsum_forward' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:393: WARNING: autodoc: failed to import method u'larry.demean' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:397: WARNING: autodoc: failed to import method u'larry.demedian' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:401: WARNING: autodoc: failed to import method u'larry.zscore' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:405: WARNING: autodoc: failed to import method u'larry.ranking' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:409: WARNING: autodoc: failed to import method u'larry.quantile' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:441: WARNING: autodoc: failed to import method u'larry.group_ranking' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:445: WARNING: autodoc: failed to import method u'larry.group_mean' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:449: WARNING: autodoc: failed to import method u'larry.group_median' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:460: WARNING: autodoc: failed to import method u'larry.morph' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:464: WARNING: autodoc: failed to import method u'larry.morph_like' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:468: WARNING: autodoc: failed to import method u'larry.merge' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:472: WARNING: autodoc: failed to import method u'larry.squeeze' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:476: WARNING: autodoc: failed to import method u'larry.lag' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:480: WARNING: autodoc: failed to import method u'larry.sortaxis' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:484: WARNING: autodoc: failed to import method u'larry.flipaxis' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:494: WARNING: autodoc: failed to import method u'larry.shuffle' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:498: WARNING: autodoc: failed to import method u'larry.shufflelabel' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:526: WARNING: autodoc: failed to import method u'larry.ismissing' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:530: WARNING: autodoc: failed to import method u'larry.cut_missing' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:534: WARNING: autodoc: failed to import method u'larry.push' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:538: WARNING: autodoc: failed to import method u'larry.vacuum' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:542: WARNING: autodoc: failed to import method u'larry.nan_replace' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:554: WARNING: autodoc: failed to import method u'larry.nx' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:558: WARNING: autodoc: failed to import method u'larry.size' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:562: WARNING: autodoc: failed to import method u'larry.shape' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:566: WARNING: autodoc: failed to import method u'larry.ndim' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:570: WARNING: autodoc: failed to import method u'larry.dtype' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:574: WARNING: autodoc: failed to import method u'larry.astype' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:578: WARNING: autodoc: failed to import method u'larry.T' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:582: WARNING: autodoc: failed to import method u'larry.swapaxes' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:586: WARNING: autodoc: failed to import method u'larry.flatten' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:590: WARNING: autodoc: failed to import method u'larry.unflatten' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:594: WARNING: autodoc: failed to import method u'larry.insertaxis' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:605: WARNING: autodoc: failed to import method u'larry.totuples' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:609: WARNING: autodoc: failed to import method u'larry.tolist' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:613: WARNING: autodoc: failed to import method u'larry.todict' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:617: WARNING: autodoc: failed to import method u'larry.tocsv' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:621: WARNING: autodoc: failed to import method u'larry.tofile' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:631: WARNING: autodoc: failed to import method u'larry.copy' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:635: WARNING: autodoc: failed to import method u'larry.copylabel' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:639: WARNING: autodoc: failed to import method u'larry.copyx' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_farray.rst:33: WARNING: autodoc: failed to import function u'move_median' from module u'la.farray'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la.farray /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_farray.rst:37: WARNING: autodoc: failed to import function u'move_nanmedian' from module u'la.farray'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la.farray /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_farray.rst:41: WARNING: autodoc: failed to import function u'move_nanranking' from module u'la.farray'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la.farray /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_farray.rst:51: WARNING: autodoc: failed to import function u'ranking' from module u'la.farray'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la.farray /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_farray.rst:55: WARNING: autodoc: failed to import function u'quantile' from module u'la.farray'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la.farray /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_farray.rst:59: WARNING: autodoc: failed to import function u'demean' from module u'la.farray'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la.farray /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_farray.rst:63: WARNING: autodoc: failed to import function u'demedian' from module u'la.farray'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la.farray /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_farray.rst:67: WARNING: autodoc: failed to import function u'zscore' from module u'la.farray'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la.farray /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_farray.rst:77: WARNING: autodoc: failed to import function u'correlation' from module u'la.farray'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la.farray /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_farray.rst:81: WARNING: autodoc: failed to import function u'shuffle' from module u'la.farray'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la.farray /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_farray.rst:85: WARNING: autodoc: failed to import function u'geometric_mean' from module u'la.farray'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la.farray /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_farray.rst:89: WARNING: autodoc: failed to import function u'covMissing' from module u'la.farray'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la.farray /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_flarry.rst:28: WARNING: autodoc: failed to import function u'align' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_flarry.rst:32: WARNING: autodoc: failed to import function u'align_raw' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_flarry.rst:36: WARNING: autodoc: failed to import function u'align_axis' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_flarry.rst:40: WARNING: autodoc: failed to import function u'isaligned' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_flarry.rst:44: WARNING: autodoc: failed to import function u'union' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_flarry.rst:48: WARNING: autodoc: failed to import function u'intersection' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_flarry.rst:60: WARNING: autodoc: failed to import function u'binaryop' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_flarry.rst:64: WARNING: autodoc: failed to import function u'add' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_flarry.rst:68: WARNING: autodoc: failed to import function u'subtract' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_flarry.rst:72: WARNING: autodoc: failed to import function u'multiply' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_flarry.rst:76: WARNING: autodoc: failed to import function u'divide' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_flarry.rst:85: WARNING: autodoc: failed to import function u'zeros' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_flarry.rst:89: WARNING: autodoc: failed to import function u'ones' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_flarry.rst:93: WARNING: autodoc: failed to import function u'empty' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_flarry.rst:97: WARNING: autodoc: failed to import function u'lrange' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_flarry.rst:108: WARNING: autodoc: failed to import function u'rand' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_flarry.rst:112: WARNING: autodoc: failed to import function u'randn' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_flarry.rst:122: WARNING: autodoc: failed to import function u'unique' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_flarry.rst:126: WARNING: autodoc: failed to import function u'stack' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_flarry.rst:130: WARNING: autodoc: failed to import function u'panel' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_flarry.rst:134: WARNING: autodoc: failed to import function u'cov' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_flarry.rst:138: WARNING: autodoc: failed to import function u'sortby' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... done writing output... [ 9%] archive writing output... [ 18%] data writing output... [ 27%] index writing output... [ 36%] intro writing output... [ 45%] license writing output... [ 54%] ref_deflarry writing output... [ 63%] ref_farray writing output... [ 72%] ref_flarry writing output... [ 81%] reference writing output... [ 90%] release writing output... [100%] work generating indices... genindex writing additional pages... search opensearch copying static files... WARNING: html_static_path entry u'/usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/_static' does not exist done copying extra files... done dumping search index in English (code: en) ... done dumping object inventory... done build succeeded, 154 warnings. Build finished; now you can process the pickle files. make: Leaving directory '/usr/src/RPM/BUILD/python-module-la-0.6.0/doc' + make -C doc html make: Entering directory '/usr/src/RPM/BUILD/python-module-la-0.6.0/doc' sphinx-build -b html -d build/doctrees source build/html Running Sphinx v1.6.5 making output directory... Generating grammar tables from /usr/lib/python2.7/site-packages/sphinx/pycode/Grammar-py2.txt /usr/lib/python2.7/site-packages/sphinx/util/compat.py:40: RemovedInSphinx17Warning: sphinx.util.compat.Directive is deprecated and will be removed in Sphinx 1.7, please use docutils' instead. RemovedInSphinx17Warning) loading pickled environment... done building [mo]: targets for 0 po files that are out of date building [html]: targets for 11 source files that are out of date updating environment: 0 added, 5 changed, 0 removed reading sources... [ 20%] archive reading sources... [ 40%] data reading sources... [ 60%] ref_deflarry reading sources... [ 80%] ref_farray reading sources... [100%] ref_flarry /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/archive.rst:6: WARNING: Duplicate explicit target name: "h5py". /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/archive.rst:351: WARNING: autodoc: failed to import function u'save' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/archive.rst:355: WARNING: autodoc: failed to import function u'load' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/archive.rst:359: WARNING: autodoc: failed to import function u'delete' from module u'la.io'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la.io /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/archive.rst:363: WARNING: autodoc: failed to import function u'repack' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/archive.rst:367: WARNING: autodoc: failed to import function u'is_archived_larry' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/archive.rst:371: WARNING: autodoc: failed to import function u'archive_directory' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/archive.rst:379: WARNING: autodoc: failed to import class u'IO' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/data.rst:16: WARNING: autodoc: failed to import function u'quotes' from module u'la.data.yahoo'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la.data.yahoo /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:29: WARNING: autodoc: failed to import method u'larry.__init__' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:33: WARNING: autodoc: failed to import method u'larry.fromtuples' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:37: WARNING: autodoc: failed to import method u'larry.fromlist' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:41: WARNING: autodoc: failed to import method u'larry.fromdict' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:45: WARNING: autodoc: failed to import method u'larry.fromcsv' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:57: WARNING: autodoc: failed to import method u'larry.log' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:61: WARNING: autodoc: failed to import method u'larry.exp' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:65: WARNING: autodoc: failed to import method u'larry.sqrt' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:69: WARNING: autodoc: failed to import method u'larry.sign' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:73: WARNING: autodoc: failed to import method u'larry.power' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:77: WARNING: autodoc: failed to import method u'larry.cumsum' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:81: WARNING: autodoc: failed to import method u'larry.cumprod' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:85: WARNING: autodoc: failed to import method u'larry.clip' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:89: WARNING: autodoc: failed to import method u'larry.abs' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:93: WARNING: autodoc: failed to import method u'larry.isnan' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:97: WARNING: autodoc: failed to import method u'larry.isfinite' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:101: WARNING: autodoc: failed to import method u'larry.isinf' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:105: WARNING: autodoc: failed to import method u'larry.invert' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:109: WARNING: autodoc: failed to import method u'larry.__invert__' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:122: WARNING: autodoc: failed to import method u'larry.__add__' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:126: WARNING: autodoc: failed to import method u'larry.__sub__' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:130: WARNING: autodoc: failed to import method u'larry.__div__' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:134: WARNING: autodoc: failed to import method u'larry.__mul__' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:138: WARNING: autodoc: failed to import method u'larry.__and__' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:142: WARNING: autodoc: failed to import method u'larry.__or__' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:153: WARNING: autodoc: failed to import method u'larry.sum' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:157: WARNING: autodoc: failed to import method u'larry.prod' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:161: WARNING: autodoc: failed to import method u'larry.mean' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:165: WARNING: autodoc: failed to import method u'larry.geometric_mean' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:169: WARNING: autodoc: failed to import method u'larry.median' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:173: WARNING: autodoc: failed to import method u'larry.std' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:177: WARNING: autodoc: failed to import method u'larry.var' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:181: WARNING: autodoc: failed to import method u'larry.max' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:185: WARNING: autodoc: failed to import method u'larry.min' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:189: WARNING: autodoc: failed to import method u'larry.any' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:193: WARNING: autodoc: failed to import method u'larry.all' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:197: WARNING: autodoc: failed to import method u'larry.lastrank' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:239: WARNING: autodoc: failed to import method u'larry.__eq__' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:243: WARNING: autodoc: failed to import method u'larry.__ne__' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:247: WARNING: autodoc: failed to import method u'larry.__lt__' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:251: WARNING: autodoc: failed to import method u'larry.__gt__' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:255: WARNING: autodoc: failed to import method u'larry.__le__' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:259: WARNING: autodoc: failed to import method u'larry.__ne__' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:270: WARNING: autodoc: failed to import method u'larry.__getitem__' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:274: WARNING: autodoc: failed to import method u'larry.take' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:278: WARNING: autodoc: failed to import method u'larry.lix' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:282: WARNING: autodoc: failed to import method u'larry.__setitem__' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:286: WARNING: autodoc: failed to import method u'larry.get' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:290: WARNING: autodoc: failed to import method u'larry.set' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:294: WARNING: autodoc: failed to import method u'larry.getx' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:298: WARNING: autodoc: failed to import method u'larry.A' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:302: WARNING: autodoc: failed to import method u'larry.getlabel' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:306: WARNING: autodoc: failed to import method u'larry.fill' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:310: WARNING: autodoc: failed to import method u'larry.pull' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:314: WARNING: autodoc: failed to import method u'larry.keep_label' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:318: WARNING: autodoc: failed to import method u'larry.keep_x' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:329: WARNING: autodoc: failed to import method u'larry.maxlabel' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:333: WARNING: autodoc: failed to import method u'larry.minlabel' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:337: WARNING: autodoc: failed to import method u'larry.labelindex' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:341: WARNING: autodoc: failed to import method u'larry.maplabel' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:351: WARNING: autodoc: failed to import method u'larry.move_sum' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:355: WARNING: autodoc: failed to import method u'larry.move_mean' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:359: WARNING: autodoc: failed to import method u'larry.move_std' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:363: WARNING: autodoc: failed to import method u'larry.move_min' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:367: WARNING: autodoc: failed to import method u'larry.move_max' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:371: WARNING: autodoc: failed to import method u'larry.move_ranking' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:375: WARNING: autodoc: failed to import method u'larry.move_median' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:379: WARNING: autodoc: failed to import method u'larry.move_func' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:383: WARNING: autodoc: failed to import method u'larry.movingsum_forward' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:393: WARNING: autodoc: failed to import method u'larry.demean' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:397: WARNING: autodoc: failed to import method u'larry.demedian' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:401: WARNING: autodoc: failed to import method u'larry.zscore' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:405: WARNING: autodoc: failed to import method u'larry.ranking' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:409: WARNING: autodoc: failed to import method u'larry.quantile' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:441: WARNING: autodoc: failed to import method u'larry.group_ranking' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:445: WARNING: autodoc: failed to import method u'larry.group_mean' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:449: WARNING: autodoc: failed to import method u'larry.group_median' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:460: WARNING: autodoc: failed to import method u'larry.morph' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:464: WARNING: autodoc: failed to import method u'larry.morph_like' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:468: WARNING: autodoc: failed to import method u'larry.merge' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:472: WARNING: autodoc: failed to import method u'larry.squeeze' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:476: WARNING: autodoc: failed to import method u'larry.lag' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:480: WARNING: autodoc: failed to import method u'larry.sortaxis' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:484: WARNING: autodoc: failed to import method u'larry.flipaxis' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:494: WARNING: autodoc: failed to import method u'larry.shuffle' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:498: WARNING: autodoc: failed to import method u'larry.shufflelabel' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:526: WARNING: autodoc: failed to import method u'larry.ismissing' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:530: WARNING: autodoc: failed to import method u'larry.cut_missing' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:534: WARNING: autodoc: failed to import method u'larry.push' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:538: WARNING: autodoc: failed to import method u'larry.vacuum' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:542: WARNING: autodoc: failed to import method u'larry.nan_replace' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:554: WARNING: autodoc: failed to import method u'larry.nx' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:558: WARNING: autodoc: failed to import method u'larry.size' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:562: WARNING: autodoc: failed to import method u'larry.shape' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:566: WARNING: autodoc: failed to import method u'larry.ndim' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:570: WARNING: autodoc: failed to import method u'larry.dtype' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:574: WARNING: autodoc: failed to import method u'larry.astype' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:578: WARNING: autodoc: failed to import method u'larry.T' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:582: WARNING: autodoc: failed to import method u'larry.swapaxes' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:586: WARNING: autodoc: failed to import method u'larry.flatten' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:590: WARNING: autodoc: failed to import method u'larry.unflatten' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:594: WARNING: autodoc: failed to import method u'larry.insertaxis' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:605: WARNING: autodoc: failed to import method u'larry.totuples' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:609: WARNING: autodoc: failed to import method u'larry.tolist' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:613: WARNING: autodoc: failed to import method u'larry.todict' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:617: WARNING: autodoc: failed to import method u'larry.tocsv' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:621: WARNING: autodoc: failed to import method u'larry.tofile' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:631: WARNING: autodoc: failed to import method u'larry.copy' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:635: WARNING: autodoc: failed to import method u'larry.copylabel' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_deflarry.rst:639: WARNING: autodoc: failed to import method u'larry.copyx' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_farray.rst:33: WARNING: autodoc: failed to import function u'move_median' from module u'la.farray'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la.farray /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_farray.rst:37: WARNING: autodoc: failed to import function u'move_nanmedian' from module u'la.farray'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la.farray /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_farray.rst:41: WARNING: autodoc: failed to import function u'move_nanranking' from module u'la.farray'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la.farray /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_farray.rst:51: WARNING: autodoc: failed to import function u'ranking' from module u'la.farray'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la.farray /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_farray.rst:55: WARNING: autodoc: failed to import function u'quantile' from module u'la.farray'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la.farray /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_farray.rst:59: WARNING: autodoc: failed to import function u'demean' from module u'la.farray'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la.farray /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_farray.rst:63: WARNING: autodoc: failed to import function u'demedian' from module u'la.farray'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la.farray /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_farray.rst:67: WARNING: autodoc: failed to import function u'zscore' from module u'la.farray'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la.farray /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_farray.rst:77: WARNING: autodoc: failed to import function u'correlation' from module u'la.farray'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la.farray /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_farray.rst:81: WARNING: autodoc: failed to import function u'shuffle' from module u'la.farray'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la.farray /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_farray.rst:85: WARNING: autodoc: failed to import function u'geometric_mean' from module u'la.farray'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la.farray /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_farray.rst:89: WARNING: autodoc: failed to import function u'covMissing' from module u'la.farray'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la.farray /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_flarry.rst:28: WARNING: autodoc: failed to import function u'align' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_flarry.rst:32: WARNING: autodoc: failed to import function u'align_raw' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_flarry.rst:36: WARNING: autodoc: failed to import function u'align_axis' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_flarry.rst:40: WARNING: autodoc: failed to import function u'isaligned' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_flarry.rst:44: WARNING: autodoc: failed to import function u'union' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_flarry.rst:48: WARNING: autodoc: failed to import function u'intersection' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_flarry.rst:60: WARNING: autodoc: failed to import function u'binaryop' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_flarry.rst:64: WARNING: autodoc: failed to import function u'add' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_flarry.rst:68: WARNING: autodoc: failed to import function u'subtract' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_flarry.rst:72: WARNING: autodoc: failed to import function u'multiply' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_flarry.rst:76: WARNING: autodoc: failed to import function u'divide' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_flarry.rst:85: WARNING: autodoc: failed to import function u'zeros' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_flarry.rst:89: WARNING: autodoc: failed to import function u'ones' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_flarry.rst:93: WARNING: autodoc: failed to import function u'empty' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_flarry.rst:97: WARNING: autodoc: failed to import function u'lrange' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_flarry.rst:108: WARNING: autodoc: failed to import function u'rand' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_flarry.rst:112: WARNING: autodoc: failed to import function u'randn' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_flarry.rst:122: WARNING: autodoc: failed to import function u'unique' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_flarry.rst:126: WARNING: autodoc: failed to import function u'stack' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_flarry.rst:130: WARNING: autodoc: failed to import function u'panel' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_flarry.rst:134: WARNING: autodoc: failed to import function u'cov' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la /usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/ref_flarry.rst:138: WARNING: autodoc: failed to import function u'sortby' from module u'la'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named la looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... done writing output... [ 9%] archive writing output... [ 18%] data writing output... [ 27%] index writing output... [ 36%] intro writing output... [ 45%] license writing output... [ 54%] ref_deflarry writing output... [ 63%] ref_farray writing output... [ 72%] ref_flarry writing output... [ 81%] reference writing output... [ 90%] release writing output... [100%] work generating indices... genindex writing additional pages... search opensearch copying static files... WARNING: html_static_path entry u'/usr/src/RPM/BUILD/python-module-la-0.6.0/doc/source/_static' does not exist done copying extra files... done dumping search index in English (code: en) ... done dumping object inventory... done build succeeded, 154 warnings. Build finished. The HTML pages are in build/html. make: Leaving directory '/usr/src/RPM/BUILD/python-module-la-0.6.0/doc' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.17925 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python-module-la-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python-module-la-buildroot + cd python-module-la-0.6.0 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + /usr/bin/python2.7 setup.py install --skip-build --root=/usr/src/tmp/python-module-la-buildroot --force running install running install_lib creating /usr/src/tmp/python-module-la-buildroot creating /usr/src/tmp/python-module-la-buildroot/usr creating /usr/src/tmp/python-module-la-buildroot/usr/lib creating /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7 creating /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages creating /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la copying build/lib.linux-i686-2.7/la/cflabel.so -> /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la copying build/lib.linux-i686-2.7/la/LICENSE -> /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la creating /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/data copying build/lib.linux-i686-2.7/la/data/__init__.py -> /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/data copying build/lib.linux-i686-2.7/la/data/yahoo.py -> /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/data creating /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/farray creating /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/farray/tests copying build/lib.linux-i686-2.7/la/farray/tests/farray_test.py -> /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/farray/tests copying build/lib.linux-i686-2.7/la/farray/tests/move_test.py -> /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/farray/tests copying build/lib.linux-i686-2.7/la/farray/__init__.py -> /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/farray copying build/lib.linux-i686-2.7/la/farray/group.py -> /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/farray copying build/lib.linux-i686-2.7/la/farray/misc.py -> /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/farray copying build/lib.linux-i686-2.7/la/farray/move.py -> /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/farray copying build/lib.linux-i686-2.7/la/farray/normalize.py -> /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/farray creating /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/external copying build/lib.linux-i686-2.7/la/external/__init__.py -> /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/external copying build/lib.linux-i686-2.7/la/external/matplotlib.py -> /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/external copying build/lib.linux-i686-2.7/la/external/prettytable.py -> /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/external creating /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/util creating /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/util/tests copying build/lib.linux-i686-2.7/la/util/tests/misc_test.py -> /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/util/tests copying build/lib.linux-i686-2.7/la/util/tests/resample_test.py -> /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/util/tests copying build/lib.linux-i686-2.7/la/util/tests/testing_test.py -> /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/util/tests copying build/lib.linux-i686-2.7/la/util/__init__.py -> /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/util copying build/lib.linux-i686-2.7/la/util/misc.py -> /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/util copying build/lib.linux-i686-2.7/la/util/report.py -> /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/util copying build/lib.linux-i686-2.7/la/util/resample.py -> /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/util copying build/lib.linux-i686-2.7/la/util/testing.py -> /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/util creating /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/tests copying build/lib.linux-i686-2.7/la/tests/all_nan_test.py -> /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/tests copying build/lib.linux-i686-2.7/la/tests/deflarry_move_test.py -> /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/tests copying build/lib.linux-i686-2.7/la/tests/deflarry_nose_test.py -> /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/tests copying build/lib.linux-i686-2.7/la/tests/deflarry_test.py -> /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/tests copying build/lib.linux-i686-2.7/la/tests/empty_larry_test.py -> /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/tests copying build/lib.linux-i686-2.7/la/tests/flabel_test.py -> /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/tests copying build/lib.linux-i686-2.7/la/tests/flarry_test.py -> /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/tests copying build/lib.linux-i686-2.7/la/tests/io_test.py -> /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/tests copying build/lib.linux-i686-2.7/la/tests/larry_axis_test.py -> /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/tests copying build/lib.linux-i686-2.7/la/tests/lix_test.py -> /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/tests copying build/lib.linux-i686-2.7/la/tests/missing_test.py -> /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/tests copying build/lib.linux-i686-2.7/la/tests/more_test.py -> /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/tests copying build/lib.linux-i686-2.7/la/tests/slicing_test.py -> /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/tests copying build/lib.linux-i686-2.7/la/tests/test_3d.py -> /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/tests copying build/lib.linux-i686-2.7/la/__init__.py -> /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la copying build/lib.linux-i686-2.7/la/deflarry.py -> /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la copying build/lib.linux-i686-2.7/la/flabel.py -> /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la copying build/lib.linux-i686-2.7/la/flarry.py -> /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la copying build/lib.linux-i686-2.7/la/io.py -> /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la copying build/lib.linux-i686-2.7/la/missing.py -> /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la copying build/lib.linux-i686-2.7/la/version.py -> /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la byte-compiling /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/data/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/data/yahoo.py to yahoo.pyc byte-compiling /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/farray/tests/farray_test.py to farray_test.pyc byte-compiling /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/farray/tests/move_test.py to move_test.pyc byte-compiling /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/farray/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/farray/group.py to group.pyc byte-compiling /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/farray/misc.py to misc.pyc byte-compiling /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/farray/move.py to move.pyc byte-compiling /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/farray/normalize.py to normalize.pyc byte-compiling /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/external/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/external/matplotlib.py to matplotlib.pyc byte-compiling /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/external/prettytable.py to prettytable.pyc byte-compiling /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/util/tests/misc_test.py to misc_test.pyc byte-compiling /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/util/tests/resample_test.py to resample_test.pyc byte-compiling /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/util/tests/testing_test.py to testing_test.pyc byte-compiling /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/util/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/util/misc.py to misc.pyc byte-compiling /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/util/report.py to report.pyc byte-compiling /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/util/resample.py to resample.pyc byte-compiling /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/util/testing.py to testing.pyc byte-compiling /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/tests/all_nan_test.py to all_nan_test.pyc byte-compiling /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/tests/deflarry_move_test.py to deflarry_move_test.pyc byte-compiling /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/tests/deflarry_nose_test.py to deflarry_nose_test.pyc byte-compiling /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/tests/deflarry_test.py to deflarry_test.pyc byte-compiling /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/tests/empty_larry_test.py to empty_larry_test.pyc byte-compiling /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/tests/flabel_test.py to flabel_test.pyc byte-compiling /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/tests/flarry_test.py to flarry_test.pyc byte-compiling /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/tests/io_test.py to io_test.pyc byte-compiling /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/tests/larry_axis_test.py to larry_axis_test.pyc byte-compiling /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/tests/lix_test.py to lix_test.pyc byte-compiling /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/tests/missing_test.py to missing_test.pyc byte-compiling /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/tests/more_test.py to more_test.pyc byte-compiling /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/tests/slicing_test.py to slicing_test.pyc byte-compiling /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/tests/test_3d.py to test_3d.pyc byte-compiling /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/deflarry.py to deflarry.pyc byte-compiling /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/flabel.py to flabel.pyc byte-compiling /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/flarry.py to flarry.pyc byte-compiling /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/io.py to io.pyc byte-compiling /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/missing.py to missing.pyc byte-compiling /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/version.py to version.pyc running install_egg_info Writing /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la-0.6.0-py2.7.egg-info + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-la-0.6.0 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + /usr/bin/python3 setup.py install --skip-build --root=/usr/src/tmp/python-module-la-buildroot --force running install running install_lib creating /usr/src/tmp/python-module-la-buildroot/usr/lib/python3 creating /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages creating /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la copying build/lib.linux-i686-3.6/la/LICENSE -> /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la creating /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/data copying build/lib.linux-i686-3.6/la/data/__init__.py -> /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/data copying build/lib.linux-i686-3.6/la/data/yahoo.py -> /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/data creating /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/farray creating /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/farray/tests copying build/lib.linux-i686-3.6/la/farray/tests/farray_test.py -> /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/farray/tests copying build/lib.linux-i686-3.6/la/farray/tests/move_test.py -> /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/farray/tests copying build/lib.linux-i686-3.6/la/farray/__init__.py -> /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/farray copying build/lib.linux-i686-3.6/la/farray/group.py -> /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/farray copying build/lib.linux-i686-3.6/la/farray/misc.py -> /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/farray copying build/lib.linux-i686-3.6/la/farray/move.py -> /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/farray copying build/lib.linux-i686-3.6/la/farray/normalize.py -> /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/farray creating /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/external copying build/lib.linux-i686-3.6/la/external/__init__.py -> /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/external copying build/lib.linux-i686-3.6/la/external/matplotlib.py -> /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/external copying build/lib.linux-i686-3.6/la/external/prettytable.py -> /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/external creating /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/util creating /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/util/tests copying build/lib.linux-i686-3.6/la/util/tests/misc_test.py -> /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/util/tests copying build/lib.linux-i686-3.6/la/util/tests/resample_test.py -> /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/util/tests copying build/lib.linux-i686-3.6/la/util/tests/testing_test.py -> /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/util/tests copying build/lib.linux-i686-3.6/la/util/__init__.py -> /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/util copying build/lib.linux-i686-3.6/la/util/misc.py -> /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/util copying build/lib.linux-i686-3.6/la/util/report.py -> /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/util copying build/lib.linux-i686-3.6/la/util/resample.py -> /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/util copying build/lib.linux-i686-3.6/la/util/testing.py -> /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/util creating /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests copying build/lib.linux-i686-3.6/la/tests/all_nan_test.py -> /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests copying build/lib.linux-i686-3.6/la/tests/deflarry_move_test.py -> /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests copying build/lib.linux-i686-3.6/la/tests/deflarry_nose_test.py -> /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests copying build/lib.linux-i686-3.6/la/tests/deflarry_test.py -> /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests copying build/lib.linux-i686-3.6/la/tests/empty_larry_test.py -> /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests copying build/lib.linux-i686-3.6/la/tests/flabel_test.py -> /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests copying build/lib.linux-i686-3.6/la/tests/flarry_test.py -> /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests copying build/lib.linux-i686-3.6/la/tests/io_test.py -> /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests copying build/lib.linux-i686-3.6/la/tests/larry_axis_test.py -> /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests copying build/lib.linux-i686-3.6/la/tests/lix_test.py -> /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests copying build/lib.linux-i686-3.6/la/tests/missing_test.py -> /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests copying build/lib.linux-i686-3.6/la/tests/more_test.py -> /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests copying build/lib.linux-i686-3.6/la/tests/slicing_test.py -> /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests copying build/lib.linux-i686-3.6/la/tests/test_3d.py -> /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests copying build/lib.linux-i686-3.6/la/__init__.py -> /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la copying build/lib.linux-i686-3.6/la/deflarry.py -> /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la copying build/lib.linux-i686-3.6/la/flabel.py -> /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la copying build/lib.linux-i686-3.6/la/flarry.py -> /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la copying build/lib.linux-i686-3.6/la/io.py -> /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la copying build/lib.linux-i686-3.6/la/missing.py -> /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la copying build/lib.linux-i686-3.6/la/version.py -> /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la byte-compiling /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/data/__init__.py to __init__.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/data/yahoo.py to yahoo.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/farray/tests/farray_test.py to farray_test.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/farray/tests/move_test.py to move_test.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/farray/__init__.py to __init__.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/farray/group.py to group.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/farray/misc.py to misc.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/farray/move.py to move.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/farray/normalize.py to normalize.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/external/__init__.py to __init__.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/external/matplotlib.py to matplotlib.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/external/prettytable.py to prettytable.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/util/tests/misc_test.py to misc_test.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/util/tests/resample_test.py to resample_test.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/util/tests/testing_test.py to testing_test.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/util/__init__.py to __init__.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/util/misc.py to misc.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/util/report.py to report.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/util/resample.py to resample.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/util/testing.py to testing.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests/all_nan_test.py to all_nan_test.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests/deflarry_move_test.py to deflarry_move_test.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests/deflarry_nose_test.py to deflarry_nose_test.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests/deflarry_test.py to deflarry_test.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests/empty_larry_test.py to empty_larry_test.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests/flabel_test.py to flabel_test.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests/flarry_test.py to flarry_test.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests/io_test.py to io_test.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests/larry_axis_test.py to larry_axis_test.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests/lix_test.py to lix_test.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests/missing_test.py to missing_test.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests/more_test.py to more_test.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests/slicing_test.py to slicing_test.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests/test_3d.py to test_3d.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/__init__.py to __init__.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/deflarry.py to deflarry.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/flabel.py to flabel.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/flarry.py to flarry.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/io.py to io.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/missing.py to missing.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/version.py to version.cpython-36.pyc running install_egg_info Writing /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la-0.6.0-py3.6.egg-info File "/usr/lib/python3/site-packages/la/tests/empty_larry_test.py", line 159 SyntaxError: can't assign to keyword + popd ~/RPM/BUILD/python-module-la-0.6.0 + cp -fR doc/build/pickle /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/ + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python-module-la-buildroot (auto) mode of './usr/lib/python2.7/site-packages/la/cflabel.so' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) Verifying and fixing files in /usr/src/tmp/python-module-la-buildroot (binconfig,pkgconfig,libtool,desktop) Checking contents of files in /usr/src/tmp/python-module-la-buildroot/ (default) Compressing files in /usr/src/tmp/python-module-la-buildroot (auto) Adjusting library links in /usr/src/tmp/python-module-la-buildroot ./usr/lib: Verifying ELF objects in /usr/src/tmp/python-module-la-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Bytecompiling python modules in /usr/src/tmp/python-module-la-buildroot using /usr/bin/python2.7 unlink /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/data/__init__.pyc unlink /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/data/yahoo.pyc compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/data/__init__.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/data/yahoo.py unlink /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/external/__init__.pyc unlink /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/external/matplotlib.pyc unlink /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/external/prettytable.pyc compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/external/__init__.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/external/matplotlib.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/external/prettytable.py unlink /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/farray/tests/farray_test.pyc unlink /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/farray/tests/move_test.pyc compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/farray/tests/farray_test.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/farray/tests/move_test.py unlink /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/farray/__init__.pyc unlink /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/farray/group.pyc unlink /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/farray/misc.pyc unlink /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/farray/move.pyc unlink /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/farray/normalize.pyc compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/farray/__init__.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/farray/group.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/farray/misc.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/farray/move.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/farray/normalize.py unlink /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/tests/all_nan_test.pyc unlink /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/tests/deflarry_move_test.pyc unlink /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/tests/deflarry_nose_test.pyc unlink /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/tests/deflarry_test.pyc unlink /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/tests/empty_larry_test.pyc unlink /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/tests/flabel_test.pyc unlink /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/tests/flarry_test.pyc unlink /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/tests/io_test.pyc unlink /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/tests/larry_axis_test.pyc unlink /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/tests/lix_test.pyc unlink /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/tests/missing_test.pyc unlink /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/tests/more_test.pyc unlink /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/tests/slicing_test.pyc unlink /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/tests/test_3d.pyc compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/tests/all_nan_test.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/tests/deflarry_move_test.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/tests/deflarry_nose_test.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/tests/deflarry_test.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/tests/empty_larry_test.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/tests/flabel_test.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/tests/flarry_test.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/tests/io_test.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/tests/larry_axis_test.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/tests/lix_test.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/tests/missing_test.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/tests/more_test.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/tests/slicing_test.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/tests/test_3d.py unlink /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/util/tests/misc_test.pyc unlink /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/util/tests/resample_test.pyc unlink /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/util/tests/testing_test.pyc compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/util/tests/misc_test.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/util/tests/resample_test.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/util/tests/testing_test.py unlink /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/util/__init__.pyc unlink /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/util/misc.pyc unlink /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/util/report.pyc unlink /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/util/resample.pyc unlink /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/util/testing.pyc compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/util/__init__.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/util/misc.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/util/report.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/util/resample.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/util/testing.py unlink /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/__init__.pyc unlink /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/deflarry.pyc unlink /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/flabel.pyc unlink /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/flarry.pyc unlink /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/io.pyc unlink /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/missing.pyc unlink /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/version.pyc compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/__init__.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/deflarry.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/flabel.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/flarry.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/io.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/missing.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/version.py Bytecompiling python modules with optimization in /usr/src/tmp/python-module-la-buildroot using /usr/bin/python2.7 -O compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/data/__init__.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/data/yahoo.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/external/__init__.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/external/matplotlib.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/external/prettytable.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/farray/tests/farray_test.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/farray/tests/move_test.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/farray/__init__.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/farray/group.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/farray/misc.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/farray/move.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/farray/normalize.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/tests/all_nan_test.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/tests/deflarry_move_test.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/tests/deflarry_nose_test.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/tests/deflarry_test.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/tests/empty_larry_test.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/tests/flabel_test.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/tests/flarry_test.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/tests/io_test.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/tests/larry_axis_test.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/tests/lix_test.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/tests/missing_test.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/tests/more_test.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/tests/slicing_test.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/tests/test_3d.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/util/tests/misc_test.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/util/tests/resample_test.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/util/tests/testing_test.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/util/__init__.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/util/misc.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/util/report.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/util/resample.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/util/testing.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/__init__.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/deflarry.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/flabel.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/flarry.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/io.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/missing.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/version.py Bytecompiling python3 modules in /usr/src/tmp/python-module-la-buildroot using /usr/bin/python3 unlink /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/__pycache__/__init__.cpython-36.pyc unlink /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/__pycache__/deflarry.cpython-36.pyc unlink /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/__pycache__/flabel.cpython-36.pyc unlink /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/__pycache__/flarry.cpython-36.pyc unlink /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/__pycache__/io.cpython-36.pyc unlink /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/__pycache__/missing.cpython-36.pyc unlink /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/__pycache__/version.cpython-36.pyc unlink /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/data/__pycache__/__init__.cpython-36.pyc unlink /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/data/__pycache__/yahoo.cpython-36.pyc compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/data/__init__.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/data/yahoo.py unlink /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/external/__pycache__/__init__.cpython-36.pyc unlink /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/external/__pycache__/matplotlib.cpython-36.pyc unlink /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/external/__pycache__/prettytable.cpython-36.pyc compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/external/__init__.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/external/matplotlib.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/external/prettytable.py unlink /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/farray/__pycache__/__init__.cpython-36.pyc unlink /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/farray/__pycache__/group.cpython-36.pyc unlink /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/farray/__pycache__/misc.cpython-36.pyc unlink /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/farray/__pycache__/move.cpython-36.pyc unlink /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/farray/__pycache__/normalize.cpython-36.pyc unlink /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/farray/tests/__pycache__/farray_test.cpython-36.pyc unlink /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/farray/tests/__pycache__/move_test.cpython-36.pyc compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/farray/tests/farray_test.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/farray/tests/move_test.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/farray/__init__.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/farray/group.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/farray/misc.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/farray/move.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/farray/normalize.py unlink /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests/__pycache__/all_nan_test.cpython-36.pyc unlink /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests/__pycache__/deflarry_move_test.cpython-36.pyc unlink /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests/__pycache__/deflarry_nose_test.cpython-36.pyc unlink /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests/__pycache__/deflarry_test.cpython-36.pyc unlink /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests/__pycache__/flabel_test.cpython-36.pyc unlink /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests/__pycache__/flarry_test.cpython-36.pyc unlink /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests/__pycache__/io_test.cpython-36.pyc unlink /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests/__pycache__/larry_axis_test.cpython-36.pyc unlink /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests/__pycache__/lix_test.cpython-36.pyc unlink /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests/__pycache__/missing_test.cpython-36.pyc unlink /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests/__pycache__/more_test.cpython-36.pyc unlink /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests/__pycache__/slicing_test.cpython-36.pyc unlink /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests/__pycache__/test_3d.cpython-36.pyc compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests/all_nan_test.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests/deflarry_move_test.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests/deflarry_nose_test.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests/deflarry_test.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests/empty_larry_test.py /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests/empty_larry_test.py can't be compiled : File "/usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests/empty_larry_test.py", line 159 False = np.False_ ^ SyntaxError: can't assign to keyword compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests/flabel_test.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests/flarry_test.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests/io_test.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests/larry_axis_test.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests/lix_test.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests/missing_test.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests/more_test.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests/slicing_test.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests/test_3d.py unlink /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/util/__pycache__/__init__.cpython-36.pyc unlink /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/util/__pycache__/misc.cpython-36.pyc unlink /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/util/__pycache__/report.cpython-36.pyc unlink /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/util/__pycache__/resample.cpython-36.pyc unlink /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/util/__pycache__/testing.cpython-36.pyc unlink /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/util/tests/__pycache__/misc_test.cpython-36.pyc unlink /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/util/tests/__pycache__/resample_test.cpython-36.pyc unlink /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/util/tests/__pycache__/testing_test.cpython-36.pyc compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/util/tests/misc_test.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/util/tests/resample_test.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/util/tests/testing_test.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/util/__init__.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/util/misc.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/util/report.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/util/resample.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/util/testing.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/__init__.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/deflarry.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/flabel.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/flarry.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/io.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/missing.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/version.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python-module-la-buildroot using /usr/bin/python3 -O compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/data/__init__.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/data/yahoo.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/external/__init__.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/external/matplotlib.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/external/prettytable.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/farray/tests/farray_test.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/farray/tests/move_test.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/farray/__init__.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/farray/group.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/farray/misc.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/farray/move.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/farray/normalize.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests/all_nan_test.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests/deflarry_move_test.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests/deflarry_nose_test.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests/deflarry_test.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests/empty_larry_test.py /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests/empty_larry_test.py can't be compiled : File "/usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests/empty_larry_test.py", line 159 False = np.False_ ^ SyntaxError: can't assign to keyword compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests/flabel_test.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests/flarry_test.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests/io_test.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests/larry_axis_test.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests/lix_test.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests/missing_test.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests/more_test.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests/slicing_test.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests/test_3d.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/util/tests/misc_test.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/util/tests/resample_test.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/util/tests/testing_test.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/util/__init__.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/util/misc.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/util/report.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/util/resample.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/util/testing.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/__init__.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/deflarry.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/flabel.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/flarry.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/io.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/missing.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/version.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python-module-la-buildroot using /usr/bin/python3 -OO compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/data/__init__.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/data/yahoo.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/external/__init__.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/external/matplotlib.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/external/prettytable.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/farray/tests/farray_test.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/farray/tests/move_test.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/farray/__init__.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/farray/group.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/farray/misc.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/farray/move.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/farray/normalize.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests/all_nan_test.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests/deflarry_move_test.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests/deflarry_nose_test.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests/deflarry_test.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests/empty_larry_test.py /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests/empty_larry_test.py can't be compiled : File "/usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests/empty_larry_test.py", line 159 False = np.False_ ^ SyntaxError: can't assign to keyword compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests/flabel_test.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests/flarry_test.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests/io_test.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests/larry_axis_test.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests/lix_test.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests/missing_test.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests/more_test.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests/slicing_test.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests/test_3d.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/util/tests/misc_test.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/util/tests/resample_test.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/util/tests/testing_test.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/util/__init__.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/util/misc.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/util/report.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/util/resample.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/util/testing.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/__init__.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/deflarry.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/flabel.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/flarry.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/io.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/missing.py compile /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/version.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib/python3/site-packages/la/__pycache__/version.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/la/__pycache__/version.cpython-36.pyc' './usr/lib/python3/site-packages/la/__pycache__/missing.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/la/__pycache__/missing.cpython-36.pyc' './usr/lib/python3/site-packages/la/__pycache__/io.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/la/__pycache__/io.cpython-36.pyc' './usr/lib/python3/site-packages/la/__pycache__/flarry.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/la/__pycache__/flarry.cpython-36.pyc' './usr/lib/python3/site-packages/la/__pycache__/flabel.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/la/__pycache__/flabel.cpython-36.pyc' './usr/lib/python3/site-packages/la/__pycache__/deflarry.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/la/__pycache__/deflarry.cpython-36.pyc' './usr/lib/python3/site-packages/la/__pycache__/__init__.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/la/__pycache__/__init__.cpython-36.pyc' './usr/lib/python3/site-packages/la/tests/__pycache__/test_3d.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/la/tests/__pycache__/test_3d.cpython-36.pyc' './usr/lib/python3/site-packages/la/tests/__pycache__/slicing_test.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/la/tests/__pycache__/slicing_test.cpython-36.pyc' './usr/lib/python3/site-packages/la/tests/__pycache__/more_test.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/la/tests/__pycache__/more_test.cpython-36.pyc' './usr/lib/python3/site-packages/la/tests/__pycache__/missing_test.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/la/tests/__pycache__/missing_test.cpython-36.pyc' './usr/lib/python3/site-packages/la/tests/__pycache__/lix_test.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/la/tests/__pycache__/lix_test.cpython-36.pyc' './usr/lib/python3/site-packages/la/tests/__pycache__/larry_axis_test.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/la/tests/__pycache__/larry_axis_test.cpython-36.pyc' './usr/lib/python3/site-packages/la/tests/__pycache__/io_test.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/la/tests/__pycache__/io_test.cpython-36.pyc' './usr/lib/python3/site-packages/la/tests/__pycache__/flarry_test.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/la/tests/__pycache__/flarry_test.cpython-36.pyc' './usr/lib/python3/site-packages/la/tests/__pycache__/flabel_test.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/la/tests/__pycache__/flabel_test.cpython-36.pyc' './usr/lib/python3/site-packages/la/tests/__pycache__/deflarry_test.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/la/tests/__pycache__/deflarry_test.cpython-36.pyc' './usr/lib/python3/site-packages/la/tests/__pycache__/deflarry_nose_test.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/la/tests/__pycache__/deflarry_nose_test.cpython-36.pyc' './usr/lib/python3/site-packages/la/tests/__pycache__/deflarry_move_test.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/la/tests/__pycache__/deflarry_move_test.cpython-36.pyc' './usr/lib/python3/site-packages/la/tests/__pycache__/all_nan_test.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/la/tests/__pycache__/all_nan_test.cpython-36.pyc' './usr/lib/python3/site-packages/la/util/__pycache__/testing.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/la/util/__pycache__/testing.cpython-36.pyc' './usr/lib/python3/site-packages/la/util/__pycache__/resample.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/la/util/__pycache__/resample.cpython-36.pyc' './usr/lib/python3/site-packages/la/util/__pycache__/report.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/la/util/__pycache__/report.cpython-36.pyc' './usr/lib/python3/site-packages/la/util/__pycache__/misc.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/la/util/__pycache__/misc.cpython-36.pyc' './usr/lib/python3/site-packages/la/util/__pycache__/__init__.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/la/util/__pycache__/__init__.cpython-36.pyc' './usr/lib/python3/site-packages/la/util/tests/__pycache__/testing_test.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/la/util/tests/__pycache__/testing_test.cpython-36.pyc' './usr/lib/python3/site-packages/la/util/tests/__pycache__/resample_test.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/la/util/tests/__pycache__/resample_test.cpython-36.pyc' './usr/lib/python3/site-packages/la/util/tests/__pycache__/misc_test.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/la/util/tests/__pycache__/misc_test.cpython-36.pyc' './usr/lib/python3/site-packages/la/external/__pycache__/prettytable.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/la/external/__pycache__/prettytable.cpython-36.pyc' './usr/lib/python3/site-packages/la/external/__pycache__/matplotlib.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/la/external/__pycache__/matplotlib.cpython-36.pyc' './usr/lib/python3/site-packages/la/external/__pycache__/__init__.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/la/external/__pycache__/__init__.cpython-36.pyc' './usr/lib/python3/site-packages/la/external/__pycache__/__init__.cpython-36.opt-2.pyc' => './usr/lib/python3/site-packages/la/external/__pycache__/__init__.cpython-36.opt-1.pyc' './usr/lib/python3/site-packages/la/farray/__pycache__/normalize.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/la/farray/__pycache__/normalize.cpython-36.pyc' './usr/lib/python3/site-packages/la/farray/__pycache__/move.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/la/farray/__pycache__/move.cpython-36.pyc' './usr/lib/python3/site-packages/la/farray/__pycache__/misc.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/la/farray/__pycache__/misc.cpython-36.pyc' './usr/lib/python3/site-packages/la/farray/__pycache__/group.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/la/farray/__pycache__/group.cpython-36.pyc' './usr/lib/python3/site-packages/la/farray/__pycache__/__init__.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/la/farray/__pycache__/__init__.cpython-36.pyc' './usr/lib/python3/site-packages/la/farray/__pycache__/__init__.cpython-36.opt-2.pyc' => './usr/lib/python3/site-packages/la/farray/__pycache__/__init__.cpython-36.opt-1.pyc' './usr/lib/python3/site-packages/la/farray/tests/__pycache__/move_test.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/la/farray/tests/__pycache__/move_test.cpython-36.pyc' './usr/lib/python3/site-packages/la/farray/tests/__pycache__/farray_test.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/la/farray/tests/__pycache__/farray_test.cpython-36.pyc' './usr/lib/python3/site-packages/la/data/__pycache__/yahoo.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/la/data/__pycache__/yahoo.cpython-36.pyc' './usr/lib/python3/site-packages/la/data/__pycache__/__init__.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/la/data/__pycache__/__init__.cpython-36.pyc' './usr/lib/python3/site-packages/la/data/__pycache__/__init__.cpython-36.opt-2.pyc' => './usr/lib/python3/site-packages/la/data/__pycache__/__init__.cpython-36.opt-1.pyc' Hardlinking identical .pyc and .pyo files './usr/lib/python2.7/site-packages/la/version.pyo' => './usr/lib/python2.7/site-packages/la/version.pyc' './usr/lib/python2.7/site-packages/la/missing.pyo' => './usr/lib/python2.7/site-packages/la/missing.pyc' './usr/lib/python2.7/site-packages/la/io.pyo' => './usr/lib/python2.7/site-packages/la/io.pyc' './usr/lib/python2.7/site-packages/la/flarry.pyo' => './usr/lib/python2.7/site-packages/la/flarry.pyc' './usr/lib/python2.7/site-packages/la/flabel.pyo' => './usr/lib/python2.7/site-packages/la/flabel.pyc' './usr/lib/python2.7/site-packages/la/deflarry.pyo' => './usr/lib/python2.7/site-packages/la/deflarry.pyc' './usr/lib/python2.7/site-packages/la/__init__.pyo' => './usr/lib/python2.7/site-packages/la/__init__.pyc' './usr/lib/python2.7/site-packages/la/tests/test_3d.pyo' => './usr/lib/python2.7/site-packages/la/tests/test_3d.pyc' './usr/lib/python2.7/site-packages/la/tests/slicing_test.pyo' => './usr/lib/python2.7/site-packages/la/tests/slicing_test.pyc' './usr/lib/python2.7/site-packages/la/tests/more_test.pyo' => './usr/lib/python2.7/site-packages/la/tests/more_test.pyc' './usr/lib/python2.7/site-packages/la/tests/missing_test.pyo' => './usr/lib/python2.7/site-packages/la/tests/missing_test.pyc' './usr/lib/python2.7/site-packages/la/tests/lix_test.pyo' => './usr/lib/python2.7/site-packages/la/tests/lix_test.pyc' './usr/lib/python2.7/site-packages/la/tests/larry_axis_test.pyo' => './usr/lib/python2.7/site-packages/la/tests/larry_axis_test.pyc' './usr/lib/python2.7/site-packages/la/tests/io_test.pyo' => './usr/lib/python2.7/site-packages/la/tests/io_test.pyc' './usr/lib/python2.7/site-packages/la/tests/flarry_test.pyo' => './usr/lib/python2.7/site-packages/la/tests/flarry_test.pyc' './usr/lib/python2.7/site-packages/la/tests/flabel_test.pyo' => './usr/lib/python2.7/site-packages/la/tests/flabel_test.pyc' './usr/lib/python2.7/site-packages/la/tests/empty_larry_test.pyo' => './usr/lib/python2.7/site-packages/la/tests/empty_larry_test.pyc' './usr/lib/python2.7/site-packages/la/tests/deflarry_test.pyo' => './usr/lib/python2.7/site-packages/la/tests/deflarry_test.pyc' './usr/lib/python2.7/site-packages/la/tests/deflarry_nose_test.pyo' => './usr/lib/python2.7/site-packages/la/tests/deflarry_nose_test.pyc' './usr/lib/python2.7/site-packages/la/tests/deflarry_move_test.pyo' => './usr/lib/python2.7/site-packages/la/tests/deflarry_move_test.pyc' './usr/lib/python2.7/site-packages/la/tests/all_nan_test.pyo' => './usr/lib/python2.7/site-packages/la/tests/all_nan_test.pyc' './usr/lib/python2.7/site-packages/la/util/testing.pyo' => './usr/lib/python2.7/site-packages/la/util/testing.pyc' './usr/lib/python2.7/site-packages/la/util/resample.pyo' => './usr/lib/python2.7/site-packages/la/util/resample.pyc' './usr/lib/python2.7/site-packages/la/util/report.pyo' => './usr/lib/python2.7/site-packages/la/util/report.pyc' './usr/lib/python2.7/site-packages/la/util/misc.pyo' => './usr/lib/python2.7/site-packages/la/util/misc.pyc' './usr/lib/python2.7/site-packages/la/util/__init__.pyo' => './usr/lib/python2.7/site-packages/la/util/__init__.pyc' './usr/lib/python2.7/site-packages/la/util/tests/testing_test.pyo' => './usr/lib/python2.7/site-packages/la/util/tests/testing_test.pyc' './usr/lib/python2.7/site-packages/la/util/tests/resample_test.pyo' => './usr/lib/python2.7/site-packages/la/util/tests/resample_test.pyc' './usr/lib/python2.7/site-packages/la/util/tests/misc_test.pyo' => './usr/lib/python2.7/site-packages/la/util/tests/misc_test.pyc' './usr/lib/python2.7/site-packages/la/external/prettytable.pyo' => './usr/lib/python2.7/site-packages/la/external/prettytable.pyc' './usr/lib/python2.7/site-packages/la/external/matplotlib.pyo' => './usr/lib/python2.7/site-packages/la/external/matplotlib.pyc' './usr/lib/python2.7/site-packages/la/external/__init__.pyo' => './usr/lib/python2.7/site-packages/la/external/__init__.pyc' './usr/lib/python2.7/site-packages/la/farray/normalize.pyo' => './usr/lib/python2.7/site-packages/la/farray/normalize.pyc' './usr/lib/python2.7/site-packages/la/farray/move.pyo' => './usr/lib/python2.7/site-packages/la/farray/move.pyc' './usr/lib/python2.7/site-packages/la/farray/misc.pyo' => './usr/lib/python2.7/site-packages/la/farray/misc.pyc' './usr/lib/python2.7/site-packages/la/farray/group.pyo' => './usr/lib/python2.7/site-packages/la/farray/group.pyc' './usr/lib/python2.7/site-packages/la/farray/__init__.pyo' => './usr/lib/python2.7/site-packages/la/farray/__init__.pyc' './usr/lib/python2.7/site-packages/la/farray/tests/move_test.pyo' => './usr/lib/python2.7/site-packages/la/farray/tests/move_test.pyc' './usr/lib/python2.7/site-packages/la/farray/tests/farray_test.pyo' => './usr/lib/python2.7/site-packages/la/farray/tests/farray_test.pyc' './usr/lib/python2.7/site-packages/la/data/yahoo.pyo' => './usr/lib/python2.7/site-packages/la/data/yahoo.pyc' './usr/lib/python2.7/site-packages/la/data/__init__.pyo' => './usr/lib/python2.7/site-packages/la/data/__init__.pyc' Processing files: python-module-la-0.6.0-alt2.1.2 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.21485 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-la-0.6.0 + DOCDIR=/usr/src/tmp/python-module-la-buildroot/usr/share/doc/python-module-la-0.6.0 + export DOCDIR + rm -rf /usr/src/tmp/python-module-la-buildroot/usr/share/doc/python-module-la-0.6.0 + /bin/mkdir -p /usr/src/tmp/python-module-la-buildroot/usr/share/doc/python-module-la-0.6.0 + cp -prL README.rst RELEASE.rst /usr/src/tmp/python-module-la-buildroot/usr/share/doc/python-module-la-0.6.0 + chmod -R go-w /usr/src/tmp/python-module-la-buildroot/usr/share/doc/python-module-la-0.6.0 + chmod -R a+rX /usr/src/tmp/python-module-la-buildroot/usr/share/doc/python-module-la-0.6.0 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.AibDWp find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ZzE68H find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks) python.req: /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/__init__.py: hiding la, which SEEMS TO BE SELF-SATISFIED /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/__init__.py: line=7 IGNORE (for REQ=slight and deep=8) module=la /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/__init__.py: line=8 IGNORE (for REQ=slight and deep=8) module=la python.req: /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/__init__.py: hiding la, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/__init__.py: hiding la, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/__init__.py: hiding la, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/__init__.py: hiding la, which SEEMS TO BE SELF-SATISFIED /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/__init__.py: line=21 IGNORE (for REQ=slight and deep=8) module=numpy python.req: /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/data/yahoo.py: hiding la, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/data/yahoo.py: hiding la, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/deflarry.py: hiding la, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/deflarry.py: hiding la, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/deflarry.py: hiding la, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/deflarry.py: hiding la, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/deflarry.py: hiding la, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/farray/__init__.py: hiding misc, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/farray/__init__.py: hiding normalize, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/farray/__init__.py: hiding group, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/farray/__init__.py: hiding move, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/farray/group.py: hiding la, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/farray/move.py: hiding la, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/farray/move.py: hiding la, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/farray/normalize.py: hiding la, which SEEMS TO BE SELF-SATISFIED /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/farray/normalize.py: line=188 IGNORE (for REQ=slight and deep=20) module=scipy /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/flabel.py: line=9 IGNORE (for REQ=slight and deep=8) module=la /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/flabel.py: line=86 IGNORE (for REQ=slight and deep=8) module=la python.req: /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/flarry.py: hiding la, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/flarry.py: hiding la, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/flarry.py: hiding la, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/flarry.py: hiding la, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/io.py: hiding la, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/io.py: hiding la, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/io.py: hiding la, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/missing.py: hiding la, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/util/misc.py: hiding la, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/util/report.py: hiding la, which SEEMS TO BE SELF-SATISFIED /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/util/report.py: line=9 IGNORE (for REQ=slight and deep=8) module=la /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/util/report.py: line=12 IGNORE (for REQ=slight and deep=8) module=la /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/util/report.py: line=21 IGNORE (for REQ=slight and deep=12) module=la /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/util/report.py: line=24 IGNORE (for REQ=slight and deep=16) module=h5py /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/util/report.py: line=33 IGNORE (for REQ=slight and deep=8) module=numpy /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/util/report.py: line=34 IGNORE (for REQ=slight and deep=8) module=bottleneck Provides: python2.7-module-la = 0.6.0-alt2.1.2, python2.7(la), python2.7(la.cflabel), python2.7(la.data), python2.7(la.data.yahoo), python2.7(la.deflarry), python2.7(la.external), python2.7(la.external.matplotlib), python2.7(la.external.prettytable), python2.7(la.farray), python2.7(la.farray.group), python2.7(la.farray.misc), python2.7(la.farray.move), python2.7(la.farray.normalize), python2.7(la.flabel), python2.7(la.flarry), python2.7(la.io), python2.7(la.missing), python2.7(la.util), python2.7(la.util.misc), python2.7(la.util.report), python2.7(la.util.resample), python2.7(la.version) Requires: python = 2.7, /usr/lib/python2.7/site-packages, libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.4), libpython2.7.so.1.0 >= set:oi5gyE6ZHN0Cs3xcLZqZIDHqGE3uWkdmZBmwmJXi0I4u3f8NJ2IgclGnIqHZoLjPHP0vZde62dOh5Zsd57gEfQMcg5Y1hZEAR06oqfQapFjFf1iOCZAj72MvCU4HDCNpeUFgvI1xXhVHQIRoxOpu9EkW7lwpznoZKJnw9JgM6tOj, python-modules, python2.7(bottleneck), python2.7(h5py), python2.7(numpy), rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.yLpRzx Creating python-module-la-debuginfo package Processing files: python-module-la-tests-0.6.0-alt2.1.2 warning: File listed twice: /usr/lib/python2.7/site-packages/la/tests/test_3d.py warning: File listed twice: /usr/lib/python2.7/site-packages/la/tests/test_3d.pyc warning: File listed twice: /usr/lib/python2.7/site-packages/la/tests/test_3d.pyo Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.wZnDMB find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ZcF3UC find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks) /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/tests/missing_test.py: line=97 IGNORE (for REQ=slight and deep=11) module=datetime /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/tests/missing_test.py: line=119 IGNORE (for REQ=slight and deep=11) module=datetime /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/tests/missing_test.py: line=144 IGNORE (for REQ=slight and deep=11) module=datetime /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-la-buildroot/usr/lib/python2.7/site-packages/la/tests/missing_test.py: line=182 IGNORE (for REQ=slight and deep=11) module=datetime Provides: python2.7(la.util.testing) Requires: python-module-la = 0.6.0-alt2.1.2, /usr/lib/python2.7/site-packages, python-modules, python2.7(bottleneck), python2.7(la), python2.7(numpy), python2.7(unittest) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.pAVtGo Processing files: python-module-la-pickles-0.6.0-alt2.1.2 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.I1eq66 find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ODfq7f find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks) Requires: /usr/lib/python2.7/site-packages Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.263tzl Processing files: python-module-la-docs-0.6.0-alt2.1.2 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.31055 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-la-0.6.0 + DOCDIR=/usr/src/tmp/python-module-la-buildroot/usr/share/doc/python-module-la-docs-0.6.0 + export DOCDIR + rm -rf /usr/src/tmp/python-module-la-buildroot/usr/share/doc/python-module-la-docs-0.6.0 + /bin/mkdir -p /usr/src/tmp/python-module-la-buildroot/usr/share/doc/python-module-la-docs-0.6.0 + cp -prL doc/build/html/_sources doc/build/html/_static doc/build/html/archive.html doc/build/html/data.html doc/build/html/genindex.html doc/build/html/index.html doc/build/html/intro.html doc/build/html/license.html doc/build/html/objects.inv doc/build/html/ref_deflarry.html doc/build/html/ref_farray.html doc/build/html/ref_flarry.html doc/build/html/reference.html doc/build/html/release.html doc/build/html/search.html doc/build/html/searchindex.js doc/build/html/work.html /usr/src/tmp/python-module-la-buildroot/usr/share/doc/python-module-la-docs-0.6.0 + chmod -R go-w /usr/src/tmp/python-module-la-buildroot/usr/share/doc/python-module-la-docs-0.6.0 + chmod -R a+rX /usr/src/tmp/python-module-la-buildroot/usr/share/doc/python-module-la-docs-0.6.0 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.UvrIom find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.czZlDm find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks) Processing files: python3-module-la-0.6.0-alt2.1.2 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.64320 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-la-0.6.0 + DOCDIR=/usr/src/tmp/python-module-la-buildroot/usr/share/doc/python3-module-la-0.6.0 + export DOCDIR + rm -rf /usr/src/tmp/python-module-la-buildroot/usr/share/doc/python3-module-la-0.6.0 + /bin/mkdir -p /usr/src/tmp/python-module-la-buildroot/usr/share/doc/python3-module-la-0.6.0 + cp -prL README.rst RELEASE.rst /usr/src/tmp/python-module-la-buildroot/usr/share/doc/python3-module-la-0.6.0 + chmod -R go-w /usr/src/tmp/python-module-la-buildroot/usr/share/doc/python3-module-la-0.6.0 + chmod -R a+rX /usr/src/tmp/python-module-la-buildroot/usr/share/doc/python3-module-la-0.6.0 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.3INu8H find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.vBTsKM find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks) /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/__init__.py: line=7 IGNORE (for REQ=slight and deep=8) module=la.io /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/__init__.py: line=8 IGNORE (for REQ=slight and deep=8) module=la.io /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/__init__.py: line=21 IGNORE (for REQ=slight and deep=8) module=numpy.testing /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/farray/__init__.py: line=2 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/farray/__init__.py: line=3 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/farray/__init__.py: line=4 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/farray/__init__.py: line=5 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/farray/normalize.py: line=188 IGNORE (for REQ=slight and deep=20) module=scipy.special /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/flabel.py: line=9 IGNORE (for REQ=slight and deep=8) module=la.cflabel /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/flabel.py: line=86 IGNORE (for REQ=slight and deep=8) module=la.cflabel /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/util/report.py: line=9 IGNORE (for REQ=slight and deep=8) module=la /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/util/report.py: line=12 IGNORE (for REQ=slight and deep=8) module=la.flabel /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/util/report.py: line=21 IGNORE (for REQ=slight and deep=12) module=la /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/util/report.py: line=24 IGNORE (for REQ=slight and deep=16) module=h5py /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/util/report.py: line=33 IGNORE (for REQ=slight and deep=8) module=numpy /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/util/report.py: line=34 IGNORE (for REQ=slight and deep=8) module=bottleneck Provides: python3(la), python3(la.data), python3(la.data.yahoo), python3(la.deflarry), python3(la.external), python3(la.external.matplotlib), python3(la.external.prettytable), python3(la.farray), python3(la.farray.group), python3(la.farray.misc), python3(la.farray.move), python3(la.farray.normalize), python3(la.flabel), python3(la.flarry), python3(la.io), python3(la.missing), python3(la.util), python3(la.util.misc), python3(la.util.report), python3(la.util.resample), python3(la.version) Requires: /usr/lib/python3/site-packages, python3(bottleneck) < 0, python3(csv) < 0, python3(datetime) < 0, python3(functools) < 0, python3(h5py) < 0, python3(math) < 0, python3(numpy) < 0, python3(operator) < 0, python3(os) < 0, python3(random) < 0, python3(re) < 0, python3(string) < 0, python3(urllib.request) < 0, python3(warnings) < 0 Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.dMP26E Processing files: python3-module-la-tests-0.6.0-alt2.1.2 warning: File listed twice: /usr/lib/python3/site-packages/la/tests/__pycache__/test_3d.cpython-36.opt-1.pyc warning: File listed twice: /usr/lib/python3/site-packages/la/tests/__pycache__/test_3d.cpython-36.opt-2.pyc warning: File listed twice: /usr/lib/python3/site-packages/la/tests/__pycache__/test_3d.cpython-36.pyc warning: File listed twice: /usr/lib/python3/site-packages/la/tests/test_3d.py warning: File listed twice: /usr/lib/python3/site-packages/la/util/tests/testing_test.py Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.iQPL4t find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.0dQeMO find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks) /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests/missing_test.py: line=97 IGNORE (for REQ=slight and deep=11) module=datetime /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests/missing_test.py: line=119 IGNORE (for REQ=slight and deep=11) module=datetime /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests/missing_test.py: line=144 IGNORE (for REQ=slight and deep=11) module=datetime /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-la-buildroot/usr/lib/python3/site-packages/la/tests/missing_test.py: line=182 IGNORE (for REQ=slight and deep=11) module=datetime Provides: python3(la.util.testing) Requires: python3-module-la = 0.6.0-alt2.1.2, /usr/lib/python3/site-packages, python3(bottleneck) < 0, python3(copy) < 0, python3(datetime) < 0, python3(io) < 0, python3(la) < 0, python3(la.farray) < 0, python3(la.flabel) < 0, python3(la.io) < 0, python3(la.missing) < 0, python3(la.util.misc) < 0, python3(la.util.resample) < 0, python3(numpy) < 0, python3(numpy.testing) < 0, python3(os) < 0, python3(tempfile) < 0, python3(unittest) < 0 Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.F35e9K Processing files: python-module-la-debuginfo-0.6.0-alt2.1.2 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.8XpfuQ find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.m2omyf find-requires: running scripts (debuginfo) Requires: python-module-la = 0.6.0-alt2.1.2, debug(libc.so.6), debug(libpython2.7.so.1.0) Removing 1 extra deps from python-module-la-tests due to dependency on python-module-la Removing 7 extra deps from python3-module-la-tests due to dependency on python3-module-la Removing 4 extra deps from python-module-la-tests due to repentancy on python-module-la Removing 5 extra deps from python3-module-la-tests due to repentancy on python3-module-la Wrote: /usr/src/RPM/RPMS/i586/python-module-la-0.6.0-alt2.1.2.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/python-module-la-tests-0.6.0-alt2.1.2.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/python-module-la-pickles-0.6.0-alt2.1.2.i586.rpm Wrote: /usr/src/RPM/RPMS/noarch/python-module-la-docs-0.6.0-alt2.1.2.noarch.rpm Wrote: /usr/src/RPM/RPMS/i586/python3-module-la-0.6.0-alt2.1.2.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/python3-module-la-tests-0.6.0-alt2.1.2.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/python-module-la-debuginfo-0.6.0-alt2.1.2.i586.rpm 68.42user 2.24system 2:48.30elapsed 41%CPU (0avgtext+0avgdata 57660maxresident)k 0inputs+0outputs (0major+772386minor)pagefaults 0swaps 89.22user 7.13system 3:33.37elapsed 45%CPU (0avgtext+0avgdata 116724maxresident)k 12624inputs+0outputs (0major+1571063minor)pagefaults 0swaps