Skip to content

Commit 0bf7198

Browse files
tests/helpers.py: fix py38 vers incompatibility from other PR
1 parent a84b660 commit 0bf7198

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/helpers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
from itertools import product
22
import random
3-
from typing import Any
3+
from typing import Any, List
44

55
import torch
66

77
test_dims_rng = random.Random(42)
88

99

10-
def get_test_dims(min: int, max: int, *, n: int) -> list[int]:
10+
def get_test_dims(min: int, max: int, *, n: int) -> List[int]:
1111
return [test_dims_rng.randint(min, max) for _ in range(n)]
1212

1313

0 commit comments

Comments
 (0)