Skip to content

Commit c69bb2a

Browse files
rebase fixup more
1 parent 4f9cf8d commit c69bb2a

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

src/_pytest/threadexception.py

-6
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,11 @@
11
from __future__ import annotations
22

3-
from contextlib import contextmanager
43
import collections
54
from collections.abc import Callable
65
import functools
76
import sys
87
import threading
98
import traceback
10-
from types import TracebackType
11-
from typing import Any
12-
from typing import Callable
13-
from typing import Generator
14-
from typing import Iterator
159
from typing import NamedTuple
1610
from typing import TYPE_CHECKING
1711
import warnings

testing/example_scripts/hook_exceptions/conftest.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from __future__ import annotations
22

3-
from typing import Iterator
3+
from collections.abc import Iterator
44

55
import pytest
66

0 commit comments

Comments
 (0)