general: migrate modules to use 3.9 features

This commit is contained in:
Dima Gerasimov 2024-10-19 22:10:40 +01:00 committed by karlicoss
parent d3f9a8e8b6
commit 8496d131e7
125 changed files with 889 additions and 739 deletions

View file

@ -1,16 +1,14 @@
import pytest
from more_itertools import consume
from my.core.cfg import tmp_config
from my.core.utils.itertools import ensure_unique
from .common import testdata
# deliberately use mixed style imports on the top level and inside the methods to test tmp_config stuff
# todo won't really be necessary once we migrate to lazy user config
import my.reddit.all as my_reddit_all
import my.reddit.rexport as my_reddit_rexport
from my.core.cfg import tmp_config
from my.core.utils.itertools import ensure_unique
from .common import testdata
def test_basic_1() -> None: