Removed legacy usage of Union[]
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
from pathlib import Path
|
||||
from typing import Any, List, Union
|
||||
from typing import Any, List
|
||||
|
||||
import pytest
|
||||
from libbot.i18n import _, in_all_locales, in_every_locale
|
||||
@@ -19,7 +19,7 @@ from libbot.i18n import _, in_all_locales, in_every_locale
|
||||
def test_i18n_get(
|
||||
key: str,
|
||||
args: List[str],
|
||||
locale: Union[str, None],
|
||||
locale: str | None,
|
||||
expected: Any,
|
||||
location_locale: Path,
|
||||
):
|
||||
|
Reference in New Issue
Block a user