Skip to content

Commit

Permalink
import from collections.abc instead of from typing
Browse files Browse the repository at this point in the history
  • Loading branch information
TaiSakuma committed Oct 17, 2023
1 parent df266b9 commit c341327
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/apluggy/_wrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,9 @@

import asyncio
import contextlib
from collections.abc import Generator
from dataclasses import dataclass
from typing import Any, Generator, Optional
from typing import Any, Optional

from exceptiongroup import BaseExceptionGroup
from pluggy import PluginManager as PluginManager_
Expand Down
3 changes: 2 additions & 1 deletion tests/test_with_send_throw.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from collections.abc import Generator
from itertools import zip_longest
from typing import ContextManager, Generator, Optional
from typing import ContextManager, Optional

import pytest
from exceptiongroup import BaseExceptionGroup
Expand Down

0 comments on commit c341327

Please sign in to comment.