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 97EB1A00C5; Fri, 8 May 2020 07:02:05 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 716C81DC28; Fri, 8 May 2020 07:02:05 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 544F71DBEE for ; Fri, 8 May 2020 07:02:04 +0200 (CEST) IronPort-SDR: 1C5YKRmh+kiL8gVOxHLS+SxT8mjPrOGvGIV1IibfEqqIadXFd8wagVrmzudmkdBazO3bppBz1q dA0E3jKG7W/g== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 May 2020 22:02:03 -0700 IronPort-SDR: QTkU2aD3Dchj7E7LnlCVHwph17wH5NM0h+YKC6qJ8TJb9Q4dScr5pqG7CobRjoHzthp+woj5Dv xBscPKp+eotA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,366,1583222400"; d="scan'208";a="278833304" Received: from unknown (HELO dpdk-zhaohy-t.localdomain) ([10.240.183.68]) by orsmga002.jf.intel.com with ESMTP; 07 May 2020 22:02:01 -0700 From: "Jiang, YuX" To: dts@dpdk.org Cc: "Jiang, YuX" Date: Fri, 8 May 2020 12:54:11 +0800 Message-Id: <1588913651-106666-1-git-send-email-yux.jiang@intel.com> X-Mailer: git-send-email 1.8.3.1 Subject: [dts] [PATCH V1] tests/link_flowctrl: fix to support byte type for py3 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" From: "Jiang, YuX" Specify byte type in py3 Signed-off-by: Jiang, YuX --- tests/TestSuite_link_flowctrl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/TestSuite_link_flowctrl.py b/tests/TestSuite_link_flowctrl.py index ed89162..ee190d0 100644 --- a/tests/TestSuite_link_flowctrl.py +++ b/tests/TestSuite_link_flowctrl.py @@ -52,7 +52,7 @@ class TestLinkFlowctrl(TestCase): pause_frame_control = "\\x00\\xFF" pause_frame_paddign = "\\x00" * 42 - pause_frame = '[Ether(src="%s",dst="%s",type=%s)/("%s%s%s")]' + pause_frame = '[Ether(src="%s",dst="%s",type=%s)/(b"%s%s%s")]' frames_to_sent = 12 -- 2.7.4