Skip to content

Conversation

@dhalbert
Copy link
Contributor

If this assert fails, it is almost invariably due to a missing await:
https://github.com/dhalbert/Adafruit_CircuitPython_asyncio/blob/e8c2d389758d94629a12bfab92c6b11f2eb6cdbf/asyncio/core.py#L68

Add a message suggesting that the user should check for a missing await.

I have seen this multiple times, and someone else now saw it as well, for the same reason.

@dhalbert dhalbert requested a review from a team January 16, 2022 22:16
@dhalbert dhalbert merged commit 2ffc31f into adafruit:main Jan 16, 2022
@dhalbert dhalbert deleted the forgot-await-message branch January 16, 2022 23:07
adafruit-adabot added a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request Jan 17, 2022
Updating https://github.com/adafruit/Adafruit_CircuitPython_asyncio to 0.5.5 from 0.5.4:
  > Merge pull request adafruit/Adafruit_CircuitPython_asyncio#13 from dhalbert/forgot-await-message

Updating https://github.com/adafruit/Adafruit_CircuitPython_BLE to 8.1.4 from 8.1.3:
  > Merge pull request adafruit/Adafruit_CircuitPython_BLE#149 from tekktrik/doc/add-missing-files

Updating https://github.com/adafruit/Adafruit_CircuitPython_hashlib to 1.4.1 from 1.4.0:
  > Merge pull request adafruit/Adafruit_CircuitPython_hashlib#14 from aziascreations/master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants