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 3055d63 commit 4ddde58Copy full SHA for 4ddde58
pyproject.toml
@@ -51,3 +51,6 @@ build-backend = "poetry.core.masonry.api"
51
[tool.pytest]
52
addopts = "-n auto"
53
testpaths = ["tests"]
54
+
55
+[tool.pytest.ini_options]
56
+markers = ["raises"]
qasync/__init__.py
@@ -373,10 +373,10 @@ def run_forever(self):
373
self.__log_debug("Starting Qt event loop")
374
asyncio.events._set_running_loop(self)
375
rslt = -1
376
- if hasattr(self.__app, "exec_"):
377
- rslt = self.__app.exec_()
378
- else:
+ if hasattr(self.__app, "exec"):
379
rslt = self.__app.exec()
+ else:
+ rslt = self.__app.exec_()
380
self.__log_debug("Qt event loop ended with result %s", rslt)
381
return rslt
382
finally:
0 commit comments