aboutsummaryrefslogtreecommitdiffstats
path: root/test/vpp_sub_interface.py
diff options
context:
space:
mode:
authorPaul Vinciguerra <pvinci@vinciconsulting.com>2020-12-03 00:42:46 -0500
committerOle Tr�an <otroan@employees.org>2020-12-03 19:43:23 +0000
commit090096bff365b4ad69c061303c0852bf214b4f03 (patch)
tree04ce3aa4df1f81d37acdf398dc0ef4ee3f245cd4 /test/vpp_sub_interface.py
parent4a856f9593fb36fe7fdd2d6bcf79d9a7fada36ef (diff)
tests: remove py2/py3 six compatability library
Type: test Change-Id: Idb6b8169845e0239e639429ccfd02a683212b7e6 Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
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):