aboutsummaryrefslogtreecommitdiff
path: root/test/functional/test_runner.py
diff options
context:
space:
mode:
authorjosibake <josibake@protonmail.com>2021-08-24 18:05:43 +0200
committerfanquake <fanquake@gmail.com>2021-10-16 09:14:37 +0800
commita46f71bb703dd8ada77e5eaf2a0b05d741d39bbf (patch)
tree65db1ba717a255212cb4e29941dbadf1fb74c09d /test/functional/test_runner.py
parent22e652662bb1fb9bd7ae6ab01c20665ad1c57895 (diff)
downloadbitcoin-a46f71bb703dd8ada77e5eaf2a0b05d741d39bbf.tar.xz
lint: enable mypy checking for missing imports
Achieve this by adding some ignore, and making data/ importable. Co-authored-by: João Barbosa <joao.paulo.barbosa@gmail.com>
Diffstat (limited to 'test/functional/test_runner.py')
-rwxr-xr-xtest/functional/test_runner.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/test_runner.py b/test/functional/test_runner.py
index c5f08b27f2..d6f61bfbff 100755
--- a/test/functional/test_runner.py
+++ b/test/functional/test_runner.py
@@ -40,7 +40,7 @@ except UnicodeDecodeError:
CROSS = "x "
CIRCLE = "o "
-if os.name != 'nt' or sys.getwindowsversion() >= (10, 0, 14393):
+if os.name != 'nt' or sys.getwindowsversion() >= (10, 0, 14393): #type:ignore
if os.name == 'nt':
import ctypes
kernel32 = ctypes.windll.kernel32 # type: ignore