We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7b1171 commit 620d78fCopy full SHA for 620d78f
test/python_magic_test.py
@@ -6,7 +6,7 @@
6
import sys
7
import tempfile
8
import unittest
9
-from typing import Optional
+from typing import List, Optional
10
11
# for output which reports a local time
12
os.environ["TZ"] = "GMT"
@@ -21,9 +21,9 @@
21
@dataclass
22
class TestFile:
23
file_name: str
24
- mime_results: list[str]
25
- text_results: list[str]
26
- no_check_elf_results: Optional[list[str]]
+ mime_results: List[str]
+ text_results: List[str]
+ no_check_elf_results: Optional[List[str]]
27
buf_equals_file: bool = True
28
29
# magic_descriptor is broken (?) in centos 7, so don't run those tests
0 commit comments