Skip to content

Commit c39ca9e

Browse files
list[…]List[…] because this form is for Python ⩾ 3.10 only
1 parent c84a9fc commit c39ca9e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/runtests.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
import re
1919
from argparse import ArgumentParser
2020
from pathlib import Path
21+
from typing import List
2122
from unittest import TextTestResult
2223

2324
sys.path.insert(0, os.path.join(os.path.dirname(__file__), '..', 'lib'))
@@ -37,7 +38,7 @@
3738
]
3839

3940

40-
def default_test_targets() -> list[Path]:
41+
def default_test_targets() -> List[Path]:
4142
"""Default test directories from specifications."""
4243
specifications = Path(__file__).parent.parent / 'specifications'
4344
return [

0 commit comments

Comments
 (0)