diff options
author | armenqa <[email protected]> | 2024-01-19 12:23:50 +0300 |
---|---|---|
committer | armenqa <[email protected]> | 2024-01-19 13:10:03 +0300 |
commit | 2de0149d0151c514b22bca0760b95b26c9b0b578 (patch) | |
tree | 2bfed9f3bce7e643ddf048bb61ce3dc0a714bcc2 /contrib/python/traitlets/py3/tests/test_traitlets_enum.py | |
parent | a8c06d218f12b2406fbce24d194885c5d7b68503 (diff) |
feat contrib: aiogram 3
Relates: https://st.yandex-team.ru/, https://st.yandex-team.ru/
Diffstat (limited to 'contrib/python/traitlets/py3/tests/test_traitlets_enum.py')
-rw-r--r-- | contrib/python/traitlets/py3/tests/test_traitlets_enum.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/python/traitlets/py3/tests/test_traitlets_enum.py b/contrib/python/traitlets/py3/tests/test_traitlets_enum.py index c39007e8a05..ac19e9d519f 100644 --- a/contrib/python/traitlets/py3/tests/test_traitlets_enum.py +++ b/contrib/python/traitlets/py3/tests/test_traitlets_enum.py @@ -2,6 +2,7 @@ """ Test the trait-type ``UseEnum``. """ +from __future__ import annotations import enum import unittest @@ -280,7 +281,7 @@ class TestFuzzyEnum(unittest.TestCase): example = FuzzyExample() for color in color_choices: - for wlen in range(0, 2): + for wlen in range(2): value = color[wlen:] example.color = value |