Commit 1c283bd
refactor: test_async_fixtures_with_finalizer no longer trigger a DeprecationWarning on Python 3.10.
The code was adjusted to use asyncio.get_event_loop_policy().get_event_loop() rather than the deprecated asyncio.get_event_loop().
Some additional comments were added to clarify the circumstances under which the test can fail.
Signed-off-by: Michael Seifert <m.seifert@digitalernachschub.de>1 parent 2751982 commit 1c283bd
1 file changed
Lines changed: 6 additions & 3 deletions
Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
48 | | - | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
49 | 51 | | |
50 | 52 | | |
51 | | - | |
| 53 | + | |
| 54 | + | |
52 | 55 | | |
53 | 56 | | |
54 | 57 | | |
| |||
0 commit comments