diff --git a/tests/module_utils/size.py b/tests/module_utils/size.py index 5523e14..4901b61 100644 --- a/tests/module_utils/size.py +++ b/tests/module_utils/size.py @@ -160,8 +160,6 @@ def get(self, units="autobin", fmt="%0.1f %sb"): exp += 1 else: ftr, exp = self._parse_units(units.strip()) - value = ( - float(self.factor**self.exponent) / float(ftr**exp) - ) * self.number + value = (float(self.factor**self.exponent) / float(ftr**exp)) * self.number return self._format(fmt, ftr, exp) % value