소스 검색

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

Dan Helfman 2 년 전
부모
커밋
e84bac29e5
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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'])
 OptionType = namedtuple('OptionType', ['file', 'choice', 'unknown_required'])
 TestCase = Tuple[Action, OptionType]
 TestCase = Tuple[Action, OptionType]
 
 
-test_data: list[TestCase] = [
+test_data = [
     (Action('--flag', 'flag'), OptionType(file=False, choice=False, unknown_required=False)),
     (Action('--flag', 'flag'), OptionType(file=False, choice=False, unknown_required=False)),
     *(
     *(
         (
         (