Skip to content
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
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:

- uses: actions/checkout@v2

- name: Setup python3.9
- name: Setup python3.12
uses: actions/setup-python@v2
with:
python-version: "3.9"
python-version: "3.12"

- name: Resetting git to master
run: git reset --hard master
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,10 @@ jobs:

matrix:
python:
- '3.8'
- '3.9'
- '3.10'
- '3.11'
- '3.12'
- '3.13'
steps:
- uses: actions/checkout@v2
- name: Setup python${{ matrix.python }}
Expand All @@ -72,10 +71,10 @@ jobs:

matrix:
python:
- '3.9'
- '3.10'
- '3.11'
- '3.12'
- '3.13'
steps:
- uses: actions/checkout@v2
- name: Setup python${{ matrix.python }}
Expand All @@ -101,10 +100,10 @@ jobs:

matrix:
python:
- '3.9'
- '3.10'
- '3.11'
- '3.12'
- '3.13'
steps:
- uses: actions/checkout@v2
- name: Setup python${{ matrix.python }}
Expand Down
12 changes: 6 additions & 6 deletions aiomisc_pytest.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def delayed_future(
loop = asyncio.get_event_loop()

def resolve(f: asyncio.Future) -> None:
nonlocal result
nonlocal result # noqa

if f.done():
return
Expand Down Expand Up @@ -209,8 +209,8 @@ def set_content_processors(
client, read, write,
)

client.read_processor = read # type: ignore
client.write_processor = write # type: ignore
client.read_processor = read
client.write_processor = write

self.read_processor = read
self.write_processor = write
Expand All @@ -235,8 +235,8 @@ async def _handle_client(

client.read_delay.timeout = self.read_delay
client.write_delay.timeout = self.write_delay
client.read_processor = self.read_processor # type: ignore
client.write_processor = self.write_processor # type: ignore
client.read_processor = self.read_processor
client.write_processor = self.write_processor

await client.connect(self.target_host, self.target_port)

Expand Down Expand Up @@ -646,7 +646,7 @@ def event_loop(
exceptions: List[Dict[str, Any]] = []

def catch_exceptions(_: Any, catched: Dict[str, Any]) -> None:
nonlocal exceptions
nonlocal exceptions # noqa
exceptions.append(catched)

try:
Expand Down
Loading
Loading