diff options
author | Maxim Devaev <[email protected]> | 2022-09-04 18:08:40 +0300 |
---|---|---|
committer | Maxim Devaev <[email protected]> | 2022-09-04 18:08:40 +0300 |
commit | ee3e224e396494cd0d69bb6167087a071a20349c (patch) | |
tree | 5becd28570e58a03c6e1e231d0db24c264a73f88 /testenv/tests/validators/test_basic.py | |
parent | 4b75221e9470b4a009955d7677f16adf8e23e302 (diff) |
new typing style
Diffstat (limited to 'testenv/tests/validators/test_basic.py')
-rw-r--r-- | testenv/tests/validators/test_basic.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/testenv/tests/validators/test_basic.py b/testenv/tests/validators/test_basic.py index c0e7b9ba..6303ed96 100644 --- a/testenv/tests/validators/test_basic.py +++ b/testenv/tests/validators/test_basic.py @@ -20,7 +20,6 @@ # ========================================================================== # -from typing import List from typing import Any import pytest @@ -151,7 +150,7 @@ def test_fail__valid_float_f01(arg: Any) -> None: (", a, ", ["a"]), ([], []), ]) -def test_ok__valid_string_list(arg: Any, retval: List) -> None: +def test_ok__valid_string_list(arg: Any, retval: list) -> None: assert valid_string_list(arg) == retval @@ -165,7 +164,7 @@ def test_ok__valid_string_list(arg: Any, retval: List) -> None: (", 1, ", [1]), ([], []), ]) -def test_ok__valid_string_list__subval(arg: Any, retval: List) -> None: # pylint: disable=invalid-name +def test_ok__valid_string_list__subval(arg: Any, retval: list) -> None: # pylint: disable=invalid-name assert valid_string_list(arg, subval=int) == retval |