VPP-1508: Python3 compatible print
[vpp.git] / test / test_p2p_ethernet.py
index a4eeee0..f055ffe 100644 (file)
@@ -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")