Skip to content
Myr

utils.py

This file

Path

tests/utils.py

11 lines · 233 bytes · Python

Last changed by

✅ Add CI configs to run tests on Windows and MacOS (#824)Sofie Van Landeghembefore adoptionb751a13

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)

✅ Add CI configs to run tests on Windows and MacOS (#824)Sofie Van Landeghembefore adoptionb751a13

lines 8–11why, one step back
8
9needs_linux = pytest.mark.skipif(10 not sys.platform.startswith("linux"), reason="Test requires Linux"11)