tests: replace pycodestyle with black
[vpp.git] / test / vpp_tunnel_interface.py
index e55486e..d70328e 100644 (file)
@@ -1,12 +1,10 @@
 import abc
-import six
 from vpp_pg_interface import is_ipv6_misc
 from vpp_interface import VppInterface
 
 
-@six.add_metaclass(abc.ABCMeta)
-class VppTunnelInterface(VppInterface):
-    """ VPP tunnel interface abstraction """
+class VppTunnelInterface(VppInterface, metaclass=abc.ABCMeta):
+    """VPP tunnel interface abstraction"""
 
     def __init__(self, test, parent_if):
         super(VppTunnelInterface, self).__init__(test)
@@ -26,7 +24,9 @@ class VppTunnelInterface(VppInterface):
     def add_stream(self, pkts):
         return self.parent_if.add_stream(pkts)
 
-    def get_capture(self, expected_count=None, remark=None, timeout=1,
-                    filter_out_fn=is_ipv6_misc):
-        return self.parent_if.get_capture(expected_count, remark, timeout,
-                                          filter_out_fn)
+    def get_capture(
+        self, expected_count=None, remark=None, timeout=1, filter_out_fn=is_ipv6_misc
+    ):
+        return self.parent_if.get_capture(
+            expected_count, remark, timeout, filter_out_fn
+        )