From 03c2c50f14ebe1b9abca920a8e64f0216a591059 Mon Sep 17 00:00:00 2001 From: Kyr Shatskyy Date: Tue, 19 Nov 2019 21:25:49 +0100 Subject: [PATCH] suite/matrix: use py3 compatible floor division Signed-off-by: Kyr Shatskyy --- teuthology/suite/matrix.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teuthology/suite/matrix.py b/teuthology/suite/matrix.py index 9c2ea1a556..d93acd78a9 100644 --- a/teuthology/suite/matrix.py +++ b/teuthology/suite/matrix.py @@ -43,7 +43,7 @@ class Matrix: A cyclicity of N means that the set represented by the Matrix can be chopped into N good subsets of sequential indices. """ - return self.size() / self.minscanlen() + return self.size() // self.minscanlen() def tostr(self, depth): pass -- 2.39.5