We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eaa3e10 commit e3f72e8Copy full SHA for e3f72e8
1 file changed
src/qasync/__init__.py
@@ -29,7 +29,7 @@
29
30
# If QT_API env variable is given, use that or fail trying
31
qtapi_env = os.getenv("QT_API", "").strip().lower()
32
-if qtapi_env:
+if qtapi_env: # pragma: no cover
33
env_to_mod_map = {
34
"pyqt5": "PyQt5",
35
"pyqt6": "PyQt6",
@@ -40,7 +40,7 @@
40
}
41
if qtapi_env in env_to_mod_map:
42
QtModuleName = env_to_mod_map[qtapi_env]
43
- else: # pragma: no cover
+ else:
44
raise ImportError(
45
"QT_API environment variable set ({}) but not one of [{}].".format(
46
qtapi_env, ", ".join(env_to_mod_map.keys())
0 commit comments