aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_ip6.py
diff options
context:
space:
mode:
authorOle Troan <ot@cisco.com>2020-02-04 13:28:13 +0100
committerPaul Vinciguerra <pvinci@vinciconsulting.com>2020-02-07 16:53:29 +0000
commit6e6ad64a4cc97f9f777891c0349bbb129ab03013 (patch)
tree2ee392cf6e9f94b3a650d63063824af34f35213e /test/test_ip6.py
parentdc90c719bca27856101f758939dcfb0b67124775 (diff)
tests: support python 3.8
Make test framework python3 version independence. Type: fix Signed-off-by: Ole Troan <ot@cisco.com> Change-Id: I1ef1eb77b6c1f422ebc4dad0818f87c8e587b34b
Diffstat (limited to 'test/test_ip6.py')
-rw-r--r--test/test_ip6.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_ip6.py b/test/test_ip6.py
index f5904d9a3bd..04db7e52b38 100644
--- a/test/test_ip6.py
+++ b/test/test_ip6.py
@@ -1278,7 +1278,7 @@ class TestIPv6RDControlPlane(TestIPv6ND):
while (n_tries):
fib = self.vapi.ip_route_dump(0, True)
default_routes = self.get_default_routes(fib)
- if 0 is len(default_routes):
+ if 0 == len(default_routes):
return True
n_tries = n_tries - 1
self.sleep(s_time)