Forráskód Böngészése

Remove value type for compatibility with Python 3.8 (#686).

Dan Helfman 2 éve
szülő
commit
e84bac29e5
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      tests/unit/commands/test_completions.py

+ 1 - 1
tests/unit/commands/test_completions.py

@@ -9,7 +9,7 @@ from borgmatic.commands import completion as module
 OptionType = namedtuple('OptionType', ['file', 'choice', 'unknown_required'])
 TestCase = Tuple[Action, OptionType]
 
-test_data: list[TestCase] = [
+test_data = [
     (Action('--flag', 'flag'), OptionType(file=False, choice=False, unknown_required=False)),
     *(
         (