Skip to content

Commit

Permalink
remove type annotation that breaks older python
Browse files Browse the repository at this point in the history
  • Loading branch information
nlsandler committed Nov 29, 2023
1 parent 151a82e commit 48e97c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test_framework/test_tests/test_programs.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import subprocess
import unittest
from pathlib import Path
from typing import Callable, List, Iterable
from typing import Callable, List, Iterable, Union

from .. import basic, regalloc

Expand Down Expand Up @@ -158,7 +158,7 @@ def configure_tests() -> None:

def load_tests(
loader: unittest.TestLoader,
tests: Iterable[unittest.TestCase | unittest.TestSuite],
tests: Iterable[Union[unittest.TestCase, unittest.TestSuite]],
pattern: str,
) -> unittest.TestSuite:
suite = unittest.TestSuite()
Expand Down

0 comments on commit 48e97c8

Please sign in to comment.