chore: tests cleanup and add from __future__ import annotations
#3972
Loading
from __future__ import annotations
#3972