Skip to content

Commit e3f72e8

Browse files
authored
Update __init__.py
1 parent eaa3e10 commit e3f72e8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/qasync/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
# If QT_API env variable is given, use that or fail trying
3131
qtapi_env = os.getenv("QT_API", "").strip().lower()
32-
if qtapi_env:
32+
if qtapi_env: # pragma: no cover
3333
env_to_mod_map = {
3434
"pyqt5": "PyQt5",
3535
"pyqt6": "PyQt6",
@@ -40,7 +40,7 @@
4040
}
4141
if qtapi_env in env_to_mod_map:
4242
QtModuleName = env_to_mod_map[qtapi_env]
43-
else: # pragma: no cover
43+
else:
4444
raise ImportError(
4545
"QT_API environment variable set ({}) but not one of [{}].".format(
4646
qtapi_env, ", ".join(env_to_mod_map.keys())

0 commit comments

Comments
 (0)