Skip to content

Commit 8656e73

Browse files
authored
Merge pull request optuna#5907 from boringbyte/fix/test_intermediate_plot.py
Simplify type annotations for `tests/visualization_tests/test_intermediate_plot.py`
2 parents e21ebe6 + 38937c2 commit 8656e73

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tests/visualization_tests/test_intermediate_plot.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1+
from __future__ import annotations
2+
3+
from collections.abc import Callable
4+
from collections.abc import Sequence
15
from io import BytesIO
26
from typing import Any
3-
from typing import Callable
4-
from typing import Sequence
57

68
import pytest
79

0 commit comments

Comments
 (0)