aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_p2p_ethernet.py
diff options
context:
space:
mode:
authorPaul Vinciguerra <pvinci@vinciconsulting.com>2018-11-28 19:06:41 -0800
committerOle Trøan <otroan@employees.org>2018-12-05 12:08:46 +0000
commit661f91fe0a6bd87040408d45d116b63c0811f4f9 (patch)
tree200f7020cc44eb22ad05c477df23ace03bd06a90 /test/test_p2p_ethernet.py
parenta6fe463c1cb67a52f06e519a514a47a9b6af8057 (diff)
VPP-1508: Python3 compatible print
Change-Id: I7d2597f2a9589f2463e213da6ca67b1b7593095e Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
Diffstat (limited to 'test/test_p2p_ethernet.py')
-rw-r--r--test/test_p2p_ethernet.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test_p2p_ethernet.py b/test/test_p2p_ethernet.py
index a4eeee0e47d..f055ffeb521 100644
--- a/test/test_p2p_ethernet.py
+++ b/test/test_p2p_ethernet.py
@@ -82,7 +82,8 @@ class P2PEthernetAPI(VppTestCase):
mactobinary(macs[i-1]),
i)
except Exception:
- print "Failed to create subif %d %s" % (i, macs[i-1])
+ self.logger.info("Failed to create subif %d %s" % (
+ i, macs[i-1]))
raise
intfs = self.vapi.cli("show interface").split("\n")