From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 76B00A04B5; Mon, 11 Jan 2021 06:33:54 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 63FC9140CAB; Mon, 11 Jan 2021 06:33:54 +0100 (CET) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id 0BA06140CA0 for ; Mon, 11 Jan 2021 06:33:52 +0100 (CET) IronPort-SDR: bjNlP9q6DkLeFPkkpuiQBGG/pSoSZy5vBXFUwPUxsQNWxkQ3ZYvmJTVyGF3mP1PWqVnWdd7gOt HwwOIbCsuRng== X-IronPort-AV: E=McAfee;i="6000,8403,9860"; a="177902690" X-IronPort-AV: E=Sophos;i="5.79,337,1602572400"; d="scan'208";a="177902690" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Jan 2021 21:33:51 -0800 IronPort-SDR: Pc0cQrgO9P67RmPFq5XCrk6KyUis/CDINjOK4Nw70t8fnqQxrswHR4xdc+s1SGjNrP/+KJwEDR fDPHQHpo7fKA== X-IronPort-AV: E=Sophos;i="5.79,337,1602572400"; d="scan'208";a="571304761" Received: from unknown (HELO localhost.localdomain) ([10.240.183.105]) by fmsmga005-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Jan 2021 21:33:50 -0800 From: "Chen, Lingli" To: dts@dpdk.org Cc: "Chen, Lingli" , Chen@dpdk.org Date: Mon, 11 Jan 2021 14:07:26 +0000 Message-Id: <20210111140726.22702-1-linglix.chen@intel.com> X-Mailer: git-send-email 2.17.1 Subject: [dts] [PATCH V1] tests/TestSuite_pmdpcap:Switching python3 xrange is replaced by range X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org Sender: "dts" Switching python3 xrange is replaced by range Signed-off-by: Chen, Lingli --- tests/TestSuite_pmdpcap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/TestSuite_pmdpcap.py b/tests/TestSuite_pmdpcap.py index ed41082e..0913e9bf 100644 --- a/tests/TestSuite_pmdpcap.py +++ b/tests/TestSuite_pmdpcap.py @@ -113,7 +113,7 @@ class TestPmdPcap(TestCase): self.dut.send_expect('input=rdpcap("%s")' % in_pcap, '>>> ') self.dut.send_expect('output=rdpcap("%s")' % out_pcap, '>>> ') self.dut.send_expect( - 'result=[input[i]==output[i] for i in xrange(len(input))]', '>>> ') + 'result=[input[i]==output[i] for i in range(len(input))]', '>>> ') result = self.dut.send_expect('False in result', '>>> ') self.dut.send_expect('quit()', '# ') -- 2.17.1