Skip to content

Commit

Permalink
Merge pull request #1145 from jakob-keller/remove-tests-helpers
Browse files Browse the repository at this point in the history
Remove legacy `tests._helpers.py`
  • Loading branch information
jakob-keller committed Aug 18, 2024
2 parents aa44442 + 453a494 commit 6179c56
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 10 deletions.
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

0 comments on commit 6179c56

Please sign in to comment.