summaryrefslogtreecommitdiffstats
path: root/test/vpp_sub_interface.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/vpp_sub_interface.py')
-rw-r--r--test/vpp_sub_interface.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/vpp_sub_interface.py b/test/vpp_sub_interface.py
index 8f422d8a050..989769f09fb 100644
--- a/test/vpp_sub_interface.py
+++ b/test/vpp_sub_interface.py
@@ -1,6 +1,5 @@
from scapy.layers.l2 import Dot1Q
import abc
-import six
from vpp_pg_interface import VppPGInterface
from vpp_interface import VppInterface
from vpp_papi import VppEnum
@@ -18,8 +17,7 @@ class L2_VTR_OP:
L2_TRANSLATE_2_2 = 8
-@six.add_metaclass(abc.ABCMeta)
-class VppSubInterface(VppPGInterface):
+class VppSubInterface(VppPGInterface, metaclass=abc.ABCMeta):
@property
def parent(self):