X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=test%2Futil.py;fp=test%2Futil.py;h=5ce84070a878054a1edf157c35e8f699780a7df7;hb=3bce8ebfdfaf2a4b576012beb3516d1f4030c20c;hp=cf45c85a5f4b8f9e0bf0eb7dd634e631e4510f1c;hpb=dd3737284d5021e2e3bd0413b61aab14797e365c;p=vpp.git diff --git a/test/util.py b/test/util.py index cf45c85a5f4..5ce84070a87 100644 --- a/test/util.py +++ b/test/util.py @@ -1,9 +1,10 @@ """ test framework utilities """ +import abc import socket +import six import sys import os.path -from abc import abstractmethod, ABCMeta from scapy.utils6 import in6_mactoifaceid from scapy.layers.l2 import Ether @@ -93,11 +94,9 @@ def check_core_path(logger, core_path): class NumericConstant(object): - __metaclass__ = ABCMeta desc_dict = {} - @abstractmethod def __init__(self, value): self._value = value