utils.py
This file
Path
tests/utils.py
7 lines · 125 bytes · Python
Last changed by
🐛 Fix evaluating stringified annotations in Python 3.10 (also `from __future__ import annotations`) (#721)Kazantcev Andreybefore adoptiond1a177c
History of this filebdaa5c6✨ Add support for `typer ./someprogram.py utils docs --title` (#782)Sebastián Ramírez ·
tests/utils.py
7 lines · 125 bytes · Python
🐛 Fix evaluating stringified annotations in Python 3.10 (also `from __future__ import annotations`) (#721) · Kazantcev Andrey · before adoption · d1a177c ·
History of this file7 lines · 125 bytes · Python
🐛 Fix evaluating stringified annotations in Python 3.10 (also `from __future__ import annotations`) (#721) · Kazantcev Andrey · before adoption · d1a177c ·
lines 1–7why, one step back1import sys23import pytest45needs_py310 = pytest.mark.skipif(6 sys.version_info < (3, 10), reason="requires python3.10+"7)