{"id":813947,"url":"http://patchwork.ozlabs.org/api/covers/813947/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/cover/20170914213450.28754-1-paul.burton@imgtec.com/","project":{"id":18,"url":"http://patchwork.ozlabs.org/api/projects/18/?format=json","name":"U-Boot","link_name":"uboot","list_id":"u-boot.lists.denx.de","list_email":"u-boot@lists.denx.de","web_url":null,"scm_url":null,"webscm_url":null,"list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<20170914213450.28754-1-paul.burton@imgtec.com>","list_archive_url":null,"date":"2017-09-14T21:34:42","name":"[U-Boot,v2,0/8] test/py: Fixes for python 3.x","submitter":{"id":33698,"url":"http://patchwork.ozlabs.org/api/people/33698/?format=json","name":"Paul Burton","email":"paul.burton@imgtec.com"},"mbox":"http://patchwork.ozlabs.org/project/uboot/cover/20170914213450.28754-1-paul.burton@imgtec.com/mbox/","series":[{"id":3166,"url":"http://patchwork.ozlabs.org/api/series/3166/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/list/?series=3166","date":"2017-09-14T21:34:42","name":"test/py: Fixes for python 3.x","version":2,"mbox":"http://patchwork.ozlabs.org/series/3166/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/covers/813947/comments/","headers":{"Return-Path":"<u-boot-bounces@lists.denx.de>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":"ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)","Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xtWz94Rf2z9s7h\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 15 Sep 2017 07:35:17 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid 5E066C21E79; Thu, 14 Sep 2017 21:35:14 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id E750CC21E26;\n\tThu, 14 Sep 2017 21:35:11 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid BDBF1C21E26; Thu, 14 Sep 2017 21:35:10 +0000 (UTC)","from mailapp01.imgtec.com (mailapp01.imgtec.com [195.59.15.196])\n\tby lists.denx.de (Postfix) with ESMTP id 5A7F3C21DDE\n\tfor <u-boot@lists.denx.de>; Thu, 14 Sep 2017 21:35:10 +0000 (UTC)","from hhmail02.hh.imgtec.org (unknown [10.100.10.20])\n\tby Forcepoint Email with ESMTPS id 860A4F3FFEBB4;\n\tThu, 14 Sep 2017 22:35:04 +0100 (IST)","from localhost (10.20.1.88) by hhmail02.hh.imgtec.org\n\t(10.100.10.21) with Microsoft SMTP Server (TLS) id 14.3.294.0;\n\tThu, 14 Sep 2017 22:35:08 +0100"],"X-Spam-Checker-Version":"SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de","X-Spam-Level":"","X-Spam-Status":"No, score=0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE\n\tautolearn=unavailable autolearn_force=no version=3.4.0","From":"Paul Burton <paul.burton@imgtec.com>","To":"<u-boot@lists.denx.de>","Date":"Thu, 14 Sep 2017 14:34:42 -0700","Message-ID":"<20170914213450.28754-1-paul.burton@imgtec.com>","X-Mailer":"git-send-email 2.14.1","MIME-Version":"1.0","X-Originating-IP":"[10.20.1.88]","Cc":"Stephen Warren <swarren@nvidia.com>,\n\tMichal Simek <michal.simek@xilinx.com>, =?utf-8?q?Stefan_Br=C3=BCns?=\n\t<stefan.bruens@rwth-aachen.de>","Subject":"[U-Boot] [PATCH v2 0/8] test/py: Fixes for python 3.x","X-BeenThere":"u-boot@lists.denx.de","X-Mailman-Version":"2.1.18","Precedence":"list","List-Id":"U-Boot discussion <u-boot.lists.denx.de>","List-Unsubscribe":"<https://lists.denx.de/options/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=unsubscribe>","List-Archive":"<http://lists.denx.de/pipermail/u-boot/>","List-Post":"<mailto:u-boot@lists.denx.de>","List-Help":"<mailto:u-boot-request@lists.denx.de?subject=help>","List-Subscribe":"<https://lists.denx.de/listinfo/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"base64","Errors-To":"u-boot-bounces@lists.denx.de","Sender":"\"U-Boot\" <u-boot-bounces@lists.denx.de>"},"content":"This series allows test/py to run on python 3.x in addition to the\nalready supported python 2.x. With it applied I currently see only one\nfailure (test_ut[ut_dm_usb_flash]) which doesn't appear to be python\nrelated when running with:\n\n$ ./test/py/test.py --bd sandbox --build\n\nThanks,\n    Paul\n\nPaul Burton (8):\n  test/py: Make print statements python 3.x safe\n  test/py: Use range() rather than xrange()\n  test/py: Import 'configparser' lower case to be python 3.x safe\n  test/py: Import StringIO from io module for python 3.x\n  test/py: Encode/decode strings for stdio\n  test/py: fit: Open files as binary files\n  test/py: hush_if_test: Use open() in place of file()\n  test/py: vboot: Remove stderr redirect from openssl command\n\n test/py/conftest.py                | 18 +++++++++++++-----\n test/py/multiplexed_log.py         |  4 ++--\n test/py/test.py                    |  6 ++++--\n test/py/tests/test_fit.py          | 14 ++++++++------\n test/py/tests/test_hush_if_test.py |  2 +-\n test/py/tests/test_ut.py           |  2 +-\n test/py/tests/test_vboot.py        |  4 ++--\n test/py/u_boot_console_sandbox.py  |  4 ++--\n test/py/u_boot_spawn.py            | 12 ++++++------\n test/py/u_boot_utils.py            |  4 ++--\n 10 files changed, 41 insertions(+), 29 deletions(-)"}