diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/wipy/i2c.py | 5 | ||||
-rw-r--r-- | tests/wipy/i2c.py.exp | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/tests/wipy/i2c.py b/tests/wipy/i2c.py index 9e26459473..57015767df 100644 --- a/tests/wipy/i2c.py +++ b/tests/wipy/i2c.py @@ -166,6 +166,11 @@ try: except Exception: print("Exception") +try: + I2C(1, I2C.MASTER, baudrate=100000) +except Exception: + print("Exception") + # reinitialization must work i2c.init(baudrate=400000) print(i2c) diff --git a/tests/wipy/i2c.py.exp b/tests/wipy/i2c.py.exp index 54afbdbd26..083da9be7d 100644 --- a/tests/wipy/i2c.py.exp +++ b/tests/wipy/i2c.py.exp @@ -47,4 +47,5 @@ Exception Exception Exception Exception +Exception I2C(0, I2C.MASTER, baudrate=400000) |