summaryrefslogtreecommitdiffstats
path: root/test/test_bfd.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/test_bfd.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/test_bfd.py')
-rw-r--r--test/test_bfd.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_bfd.py b/test/test_bfd.py
index f66f75a3408..784cdadb24d 100644
--- a/test/test_bfd.py
+++ b/test/test_bfd.py
@@ -6,13 +6,13 @@ from __future__ import division
import binascii
import hashlib
import ipaddress
+import reprlib
import time
import unittest
from random import randint, shuffle, getrandbits
from socket import AF_INET, AF_INET6, inet_ntop
from struct import pack, unpack
-from six import moves
import scapy.compat
from scapy.layers.inet import UDP, IP
from scapy.layers.inet6 import IPv6
@@ -624,7 +624,7 @@ def verify_udp(test, packet):
def verify_event(test, event, expected_state):
""" Verify correctness of event values. """
e = event
- test.logger.debug("BFD: Event: %s" % moves.reprlib.repr(e))
+ test.logger.debug("BFD: Event: %s" % reprlib.repr(e))
test.assert_equal(e.sw_if_index,
test.vpp_session.interface.sw_if_index,
"BFD interface index")