From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 8EF69A0543; Thu, 13 Feb 2020 07:25:19 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E686B1BF9B; Thu, 13 Feb 2020 07:25:18 +0100 (CET) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 36C491BF71 for ; Thu, 13 Feb 2020 07:25:17 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 12 Feb 2020 22:25:16 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,435,1574150400"; d="scan'208";a="432564587" Received: from dpdk-moyufen06.sh.intel.com ([10.67.116.222]) by fmsmga005.fm.intel.com with ESMTP; 12 Feb 2020 22:25:15 -0800 From: yufengmx To: dts@dpdk.org, lihongx.ma@intel.com Cc: yufengmx Date: Thu, 13 Feb 2020 14:28:15 +0800 Message-Id: <20200213062816.80145-2-yufengx.mo@intel.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20200213062816.80145-1-yufengx.mo@intel.com> References: <20200213062816.80145-1-yufengx.mo@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dts] [PATCH V1 1/2] test/iavf: python3 support X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 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" python3 support. Signed-off-by: yufengmx --- tests/TestSuite_iavf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/TestSuite_iavf.py b/tests/TestSuite_iavf.py index d7b1104..dedabbd 100644 --- a/tests/TestSuite_iavf.py +++ b/tests/TestSuite_iavf.py @@ -696,7 +696,7 @@ class TestIavf(TestCase): if (loading_size <= 800): self.verify(rx_stats == tx_stats and int(tx_outlist[0]) == loading_size, "the packet segmentation incorrect, %s" % tx_outlist) else: - num = loading_size/800 + num = loading_size // 800 for i in range(num): self.verify(tx_outlist != [], "the packet segmentation incorrect, %s" % tx_outlist) self.verify(int(tx_outlist[i]) == 800, "the packet segmentation incorrect, %s" % tx_outlist) -- 2.21.0