From: Melissa LeBlanc-Williams Date: Thu, 10 Feb 2022 17:52:36 +0000 (-0800) Subject: Run latest version of black X-Git-Tag: 6.20.2^2 X-Git-Url: https://git.ayoreis.com/Adafruit_Blinka-hackapet.git/commitdiff_plain/8ab434ea68abcc408b2ec2fca62f94259f2d46dc?ds=sidebyside Run latest version of black --- diff --git a/test/src/testing/universal/i2c.py b/test/src/testing/universal/i2c.py index 184fee4..ba74044 100644 --- a/test/src/testing/universal/i2c.py +++ b/test/src/testing/universal/i2c.py @@ -66,7 +66,7 @@ class TestMMA8451Interactive(TestCase): sensor = adafruit_mma8451.MMA8451(i2c) x, y, z = sensor.acceleration - absolute = math.sqrt(x ** 2 + y ** 2 + z ** 2) + absolute = math.sqrt(x**2 + y**2 + z**2) self.assertTrue(9 <= absolute <= 11, "Not earth gravity") orientation = sensor.orientation