Skip to content

Commit

Permalink
Ignore meaningless warning
Browse files Browse the repository at this point in the history
  • Loading branch information
asvetlov committed Nov 30, 2021
1 parent 8f37fdb commit 22708ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 2 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
[tool:pytest]
addopts = --cov-branch --cov-report xml --cov=aiodocker -v
filterwarnings=error
norecursedirs = dist docs build .tox .eggs venv virtualenv .git
minversion = 3.8.2
testpaths = tests/
junit_suite_name = aiodocker_test_suite
junit_family=xunit2
filterwarnings=error
ignore::ResourceWarning:asyncio

[flake8]
max-line-length = 88
Expand Down
3 changes: 0 additions & 3 deletions tests/test_configs.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import asyncio

import pytest

from aiodocker.exceptions import DockerError
Expand Down Expand Up @@ -136,4 +134,3 @@ async def test_config_create_duplicated_error(swarm, tmp_config):
"code = AlreadyExists "
"desc = config " + name + " already exists"
)
await asyncio.sleep(1)

0 comments on commit 22708ea

Please sign in to comment.