Skip to content

Commit 106af89

Browse files
authored
Oops
1 parent 04eb674 commit 106af89

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/trio/_tests/test_exports.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -432,8 +432,7 @@ def lookup_symbol(symbol: str) -> dict[str, Any]: # type: ignore[misc, explicit
432432

433433
# dir does not see `__signature__` on enums until 3.14
434434
if (
435-
tool == "mypy"
436-
and enum.Enum in class_.__mro__
435+
enum.Enum in class_.__mro__
437436
and sys.version_info >= (3, 12)
438437
and sys.version_info < (3, 14)
439438
):

0 commit comments

Comments
 (0)