Package: python-fakeredis / 2.29.0-5
Metadata
Package | Version | Patches format |
---|---|---|
python-fakeredis | 2.29.0-5 | 3.0 (quilt) |
Patch series
view the series filePatch | File delta | Description |
---|---|---|
pytest asyncio 1.0.0.patch | (download) |
test/test_asyncredis.py |
8 4 + 4 - 0 ! |
test: replace deprecated `event_loop` fixture Replace the deprecated `event_loop` fixture with an explicit call to `asyncio.get_running_loop()`, as suggested by the deprecation warnings: ``` test/test_asyncredis.py:61 test/test_asyncredis.py:61: PytestDeprecationWarning: test_pubsub[fake] is asynchronous and explicitly requests the "event_loop" fixture. Asynchronous fixtures and test functions should use "asyncio.get_running_loop()" instead. async def test_pubsub(async_redis, event_loop): ``` This fixes compatibility with `pytest-asyncio >= 1.0.0`. |
pytest asyncio 1.1.0.patch | (download) |
test/conftest.py |
2 1 + 1 - 0 ! |
chore: update test dependency on pytest-asyncio to v1.1.0 [cjwatson: Dropped packaging changes; we just need the fixture patch.] |
remove unneeded test.patch | (download) |
test/test_internals/test_asyncredis.py |
12 0 + 12 - 0 ! |
remove unneeded test |
1