Page MenuHomePhabricator

Division operation fix for Python 3+
Closed, ResolvedPublic

Description

During the work on T312919 task, we noticed that tests don't cover such cases where the division operation is used or maybe the value after the division doesn't still break testing logic. Since the division operation works different in Python3, such uses should be checked and replaced in a way which will repeat Python2 behaviour.

Event Timeline

Change 830907 had a related patch set uploaded (by Vlad.shapik; author: Vlad.shapik):

[operations/software/thumbor-plugins@master] Remove division operation hack related to Python2

https://gerrit.wikimedia.org/r/830907

Change 830907 merged by jenkins-bot:

[operations/software/thumbor-plugins@master] Remove division operation hack related to Python2

https://gerrit.wikimedia.org/r/830907