Commit Graph

4 Commits

Author SHA1 Message Date
Emídio Neto 0adc58b4bf
Introducing ruff as linter and formatter (basic setup) (#2921) 2024-10-23 10:54:14 -07:00
Roberto Villarreal 6981035aec
Ensure async generators are awaited (#2792) 2024-08-12 09:14:43 -07:00
Riccardo Magliocchetti 60fb936b7e
instrumentation/asyncio: catch CancelledError exception in tests (#2690)
* instrumentation/asyncio: catch CancelledError exception in tests

After a29242f493 we are re-raising the
CancelledError so we need to catch it on the caller side.

Fix #2688

* instrument/asyncio: don't test anext on python < 3.10

Since it's not available there.

* instrumentation/asyncio: use unittest.skipIf instead of reimplementing it

---------

Co-authored-by: Leighton Chen <lechen@microsoft.com>
2024-07-10 12:34:39 -06:00
Povilas Versockas f4f3042f85
fix(async-io): check for __name__ atribute when tracing coroutine (#2521) 2024-05-21 21:48:54 -07:00