summaryrefslogtreecommitdiffstats
path: root/test/test_ip6.py
diff options
context:
space:
mode:
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)