From: Kyr Shatskyy Date: Fri, 26 Feb 2021 10:19:46 +0000 (+0100) Subject: suite/matrix: latest py3 deprecates fractions.gcd X-Git-Tag: 1.2.0~274^2~4 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=b25e3e4c87a5edf0c607f65ecfe94ee5c9a6592f;p=teuthology.git suite/matrix: latest py3 deprecates fractions.gcd Signed-off-by: Kyrylo Shatskyy --- diff --git a/teuthology/suite/matrix.py b/teuthology/suite/matrix.py index d93acd78a..8938fe7d8 100644 --- a/teuthology/suite/matrix.py +++ b/teuthology/suite/matrix.py @@ -1,7 +1,7 @@ import os import random import heapq -from fractions import gcd +from math import gcd from functools import reduce def lcm(a, b):