Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove legacy tests._helpers.py #1145

Merged
merged 1 commit into from
Aug 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions tests/_helpers.py

This file was deleted.

3 changes: 2 additions & 1 deletion tests/boto_tests/helpers.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
from contextlib import AsyncExitStack

from botocore.stub import Stubber

import aiobotocore.session
from aiobotocore._helpers import asynccontextmanager
from tests._helpers import AsyncExitStack


class StubbedSession(aiobotocore.session.AioSession):
Expand Down
3 changes: 1 addition & 2 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import random
import string
import tempfile
from contextlib import ExitStack
from contextlib import AsyncExitStack, ExitStack
from itertools import chain
from unittest.mock import patch

Expand All @@ -14,7 +14,6 @@

import aiobotocore.session
from aiobotocore.config import AioConfig
from tests._helpers import AsyncExitStack

host = '127.0.0.1'

Expand Down
2 changes: 1 addition & 1 deletion tests/python3.8/test_eventstreams.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import asyncio
from contextlib import AsyncExitStack

import pytest

import aiobotocore.session
from tests._helpers import AsyncExitStack


@pytest.mark.asyncio
Expand Down