summaryrefslogtreecommitdiff
path: root/tests/conftest.py
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2019-10-29 12:10:32 +0100
committerFlorian Bruhin <me@the-compiler.org>2019-10-29 12:10:32 +0100
commitede2dcf4c23fee30a1970a564c33ba384fdf07b8 (patch)
tree7110ecee2158055605036fb4fa877c84ab4a0244 /tests/conftest.py
parent0b8801b33396ee332bbc59564d82c0855c156c5d (diff)
downloadqutebrowser-ede2dcf4c23fee30a1970a564c33ba384fdf07b8.tar.gz
qutebrowser-ede2dcf4c23fee30a1970a564c33ba384fdf07b8.zip
Run mypy over tests as well
Rationale: https://twitter.com/codewithanthony/status/1188958327318794241
Diffstat (limited to 'tests/conftest.py')
-rw-r--r--tests/conftest.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/conftest.py b/tests/conftest.py
index 22effd499..2bb7a4cda 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -87,7 +87,7 @@ def _apply_platform_markers(config, item):
('unicode_locale', sys.getfilesystemencoding() == 'ascii',
"Skipped because of ASCII locale"),
('qtwebkit6021_skip',
- version.qWebKitVersion and
+ version.qWebKitVersion and # type: ignore
version.qWebKitVersion() == '602.1',
"Broken on WebKit 602.1")
]
@@ -211,7 +211,7 @@ def pytest_configure(config):
try:
# Added in sip 4.19.4
- sip.enableoverflowchecking(True)
+ sip.enableoverflowchecking(True) # type: ignore
except AttributeError:
pass