Skip to content

Commit

Permalink
Do not package tests with tenacity (#308)
Browse files Browse the repository at this point in the history
* move tests outside of package

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
  • Loading branch information
penguinolog and mergify[bot] committed Jun 24, 2021
1 parent 52ce97c commit d442271
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 2 deletions.
3 changes: 3 additions & 0 deletions releasenotes/notes/do_not_package_tests-fe5ac61940b0a5ed.yaml
@@ -0,0 +1,3 @@
---
other:
- Do not package tests with tenacity.
File renamed without changes.
3 changes: 2 additions & 1 deletion tenacity/tests/test_asyncio.py → tests/test_asyncio.py
Expand Up @@ -23,9 +23,10 @@
from tenacity import AsyncRetrying, RetryError
from tenacity import _asyncio as tasyncio
from tenacity import retry, stop_after_attempt
from tenacity.tests.test_tenacity import NoIOErrorAfterCount, current_time_ms
from tenacity.wait import wait_fixed

from .test_tenacity import NoIOErrorAfterCount, current_time_ms


def asynctest(callable_):
@wraps(callable_)
Expand Down
File renamed without changes.
3 changes: 2 additions & 1 deletion tenacity/tests/test_tornado.py → tests/test_tornado.py
Expand Up @@ -17,11 +17,12 @@

from tenacity import RetryError, retry, stop_after_attempt
from tenacity import tornadoweb
from tenacity.tests.test_tenacity import NoIOErrorAfterCount

from tornado import gen
from tornado import testing

from .test_tenacity import NoIOErrorAfterCount


@retry
@gen.coroutine
Expand Down

0 comments on commit d442271

Please sign in to comment.