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_os.py | |
parent | 4b75221e9470b4a009955d7677f16adf8e23e302 (diff) |
new typing style
Diffstat (limited to 'testenv/tests/validators/test_os.py')
-rw-r--r-- | testenv/tests/validators/test_os.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/testenv/tests/validators/test_os.py b/testenv/tests/validators/test_os.py index 4cdd5aa4..cabb8e51 100644 --- a/testenv/tests/validators/test_os.py +++ b/testenv/tests/validators/test_os.py @@ -22,7 +22,6 @@ import os -from typing import List from typing import Any import pytest @@ -148,7 +147,7 @@ def test_fail__valid_unix_mode(arg: Any) -> None: ("/bin/true, 1, 2, 3,", ["/bin/true", "1", "2", "3"]), ("/bin/true", ["/bin/true"]), ]) -def test_ok__valid_command(arg: Any, retval: List[str]) -> None: +def test_ok__valid_command(arg: Any, retval: list[str]) -> None: assert valid_command(arg) == retval |