summaryrefslogtreecommitdiffstats
path: root/test/test_neighbor.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_neighbor.py')
-rw-r--r--test/test_neighbor.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_neighbor.py b/test/test_neighbor.py
index 67424048797..d551c94584a 100644
--- a/test/test_neighbor.py
+++ b/test/test_neighbor.py
@@ -1350,7 +1350,7 @@ class ARPTestCase(VppTestCase):
# how many we get is going to be dependent on the time for packet
# processing but it should be small
#
- self.assertTrue(len(rx) < 64)
+ self.assertLess(len(rx), 64)
#
# IPv6/ND
@@ -1378,7 +1378,7 @@ class ARPTestCase(VppTestCase):
# how many we get is going to be dependent on the time for packet
# processing but it should be small
#
- self.assertTrue(len(rx) < 64)
+ self.assertLess(len(rx), 64)
class NeighborStatsTestCase(VppTestCase):