mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
fix: tests remove unused old_storage mark
This commit is contained in:
parent
7c798e4f8f
commit
79ff1f4e0f
1 changed files with 0 additions and 6 deletions
|
|
@ -40,12 +40,6 @@ def pytest_collection_modifyitems(config, items):
|
|||
(host, port), options = aioredis.util.parse_url(redis_uri)
|
||||
options.update({'host': host, 'port': port})
|
||||
elif redis_version == 2:
|
||||
skip_storage = pytest.mark.skip(
|
||||
reason="aioredis v2 is not supported by RedisStorage"
|
||||
)
|
||||
for item in items:
|
||||
if "old_storage" in item.keywords:
|
||||
item.add_marker(skip_storage)
|
||||
try:
|
||||
options = aioredis.connection.parse_url(redis_uri)
|
||||
except ValueError as e:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue