port_stats.AllPortStats: use unittest assert function
diff --git a/tests/port_stats.py b/tests/port_stats.py
index 4b02a29..89b2cf6 100644
--- a/tests/port_stats.py
+++ b/tests/port_stats.py
@@ -348,6 +348,6 @@
port_stats[ port2 ] = getStats(self, port2)
all_stats = getAllStats(self)
- assert(port_stats[ port0 ] == all_stats[ port0 ])
- assert(port_stats[ port1 ] == all_stats[ port1 ])
- assert(port_stats[ port2 ] == all_stats[ port2 ])
+ self.assertEqual(port_stats[ port0 ], all_stats[ port0 ])
+ self.assertEqual(port_stats[ port1 ], all_stats[ port1 ])
+ self.assertEqual(port_stats[ port2 ], all_stats[ port2 ])