From 090096bff365b4ad69c061303c0852bf214b4f03 Mon Sep 17 00:00:00 2001 From: Paul Vinciguerra Date: Thu, 3 Dec 2020 00:42:46 -0500 Subject: tests: remove py2/py3 six compatability library Type: test Change-Id: Idb6b8169845e0239e639429ccfd02a683212b7e6 Signed-off-by: Paul Vinciguerra --- src/plugins/lisp/test/test_lisp.py | 4 +--- src/plugins/memif/test/test_memif.py | 1 - src/plugins/memif/test/vpp_memif.py | 2 -- 3 files changed, 1 insertion(+), 6 deletions(-) (limited to 'src') 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 -- cgit 1.2.3-korg