uranusjr opened a new pull request #20995:
URL: https://github.com/apache/airflow/pull/20995


   Recently `pytest-asyncio` started to emit a ton of deprecation warnings on 
fixtures due to a preparetion to default behaviour migration.[^1] This sets the 
behaviour flag explicitly to silence them.
   
   I chose `strict` (instead of `auto`, the other possibility) because, from 
what I can tell, we have only one async test right now, and it’s already 
explicitly marked as async. This means we don’t really need auto detection and 
can disable it for now (until we actually need it).
   
   cc @andrewgodwin since you’d likely know if there are in fact more async 
tests I missed.
   
   [^1]: 
https://github.com/pytest-dev/pytest-asyncio/tree/048a6edc56e7d2c4a5f1283b5d2dd93a1270bfce#modes


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to