diff options
Diffstat (limited to 'tests/pyb/i2c_accel.py')
-rw-r--r-- | tests/pyb/i2c_accel.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/pyb/i2c_accel.py b/tests/pyb/i2c_accel.py index e42cba178..8c74fa60e 100644 --- a/tests/pyb/i2c_accel.py +++ b/tests/pyb/i2c_accel.py @@ -3,13 +3,13 @@ import pyb from pyb import I2C -if not hasattr(pyb, 'Accel'): - print('SKIP') +if not hasattr(pyb, "Accel"): + print("SKIP") raise SystemExit accel_addr = 76 -pyb.Accel() # this will init the MMA for us +pyb.Accel() # this will init the MMA for us i2c = I2C(1, I2C.MASTER, baudrate=400000) |