Skip to content
Myr

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 file

Take it

🐛 Fix evaluating stringified annotations in Python 3.10 (also `from __future__ import annotations`) (#721)Kazantcev Andreybefore adoptiond1a177c

lines 1–7why, one step back
1import sys
23import pytest45needs_py310 = pytest.mark.skipif(6 sys.version_info < (3, 10), reason="requires python3.10+"7)