diff options
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 |