[dts] [PATCH V1 1/2] test/iavf: python3 support
yufengmx
yufengx.mo at intel.com
Thu Feb 13 07:28:15 CET 2020
python3 support.
Signed-off-by: yufengmx <yufengx.mo at intel.com>
---
tests/TestSuite_iavf.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/TestSuite_iavf.py b/tests/TestSuite_iavf.py
index d7b1104..dedabbd 100644
--- a/tests/TestSuite_iavf.py
+++ b/tests/TestSuite_iavf.py
@@ -696,7 +696,7 @@ class TestIavf(TestCase):
if (loading_size <= 800):
self.verify(rx_stats == tx_stats and int(tx_outlist[0]) == loading_size, "the packet segmentation incorrect, %s" % tx_outlist)
else:
- num = loading_size/800
+ num = loading_size // 800
for i in range(num):
self.verify(tx_outlist != [], "the packet segmentation incorrect, %s" % tx_outlist)
self.verify(int(tx_outlist[i]) == 800, "the packet segmentation incorrect, %s" % tx_outlist)
--
2.21.0
More information about the dts
mailing list