diff options
author | Paul Vinciguerra <pvinci@vinciconsulting.com> | 2020-12-03 00:42:46 -0500 |
---|---|---|
committer | Ole Tr�an <otroan@employees.org> | 2020-12-03 19:43:23 +0000 |
commit | 090096bff365b4ad69c061303c0852bf214b4f03 (patch) | |
tree | 04ce3aa4df1f81d37acdf398dc0ef4ee3f245cd4 /src/plugins | |
parent | 4a856f9593fb36fe7fdd2d6bcf79d9a7fada36ef (diff) |
tests: remove py2/py3 six compatability library
Type: test
Change-Id: Idb6b8169845e0239e639429ccfd02a683212b7e6
Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/lisp/test/test_lisp.py | 4 | ||||
-rw-r--r-- | src/plugins/memif/test/test_memif.py | 1 | ||||
-rw-r--r-- | src/plugins/memif/test/vpp_memif.py | 2 |
3 files changed, 1 insertions, 6 deletions
diff --git a/src/plugins/lisp/test/test_lisp.py b/src/plugins/lisp/test/test_lisp.py index 70cb4f4bf34..0bb42112140 100644 --- a/src/plugins/lisp/test/test_lisp.py +++ b/src/plugins/lisp/test/test_lisp.py @@ -1,7 +1,6 @@ #!/usr/bin/env python3 import abc -import six import unittest from scapy.fields import BitField, ByteField, FlagsField, IntField @@ -32,8 +31,7 @@ bind_layers(LISP_GPE_Header, IPv6, next_proto=2) bind_layers(LISP_GPE_Header, Ether, next_proto=3) -@six.add_metaclass(abc.ABCMeta) -class Driver(object): +class Driver(metaclass=abc.ABCMeta): config_order = ['locator-sets', 'locators', diff --git a/src/plugins/memif/test/test_memif.py b/src/plugins/memif/test/test_memif.py index 244818cfc3a..f2bbded320b 100644 --- a/src/plugins/memif/test/test_memif.py +++ b/src/plugins/memif/test/test_memif.py @@ -3,7 +3,6 @@ import unittest from scapy.layers.l2 import Ether from scapy.layers.inet import IP, ICMP -import six from framework import VppTestCase, VppTestRunner, running_extended_tests from remote_test import RemoteClass, RemoteVppTestCase diff --git a/src/plugins/memif/test/vpp_memif.py b/src/plugins/memif/test/vpp_memif.py index 9afed6fb63c..226f8af72b5 100644 --- a/src/plugins/memif/test/vpp_memif.py +++ b/src/plugins/memif/test/vpp_memif.py @@ -1,8 +1,6 @@ import socket from ipaddress import IPv4Network -import six - from vpp_object import VppObject from vpp_papi import VppEnum |