Skip to content

Commit a21a26b

Browse files
committed
fix: add from __future__ import annotations to tests/conftest.py
Prevents collections.abc.Iterator[...] from being evaluated at runtime on Python 3.8, where ABC types are not subscriptable.
1 parent 1acb984 commit a21a26b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tests/conftest.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
"""Shared pytest fixtures for Miette tests."""
22

3+
from __future__ import annotations
4+
35
import warnings
46
from collections.abc import Iterator
57

0 commit comments

Comments
 (0)