We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
busio.SPI.write_readinto()
1 parent fb2ea21 commit 1467ee5Copy full SHA for 1467ee5
circuitpython_mocks/busio/__init__.py
@@ -170,7 +170,7 @@ def write_readinto(
170
"""A function that mocks :external:py:meth:`busio.SPI.write_readinto()`.
171
This function checks against `SPITransfer`
172
:py:attr:`~circuitpython_mocks._mixins.Expecting.expectations`"""
173
- assert self.expectations, "no expectation found for I2C.writeto_then_readfrom()"
+ assert self.expectations, "no expectation found for SPI.write_readinto()"
174
op = self.expectations.popleft()
175
assert isinstance(
176
op, SPITransfer
0 commit comments