We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6e5d18d commit 2cac292Copy full SHA for 2cac292
tests/test_app.py
@@ -30,6 +30,11 @@ def close():
30
@pytest.mark.skipif(not is_pyqtgraph_available,
31
reason='pyqtgraph is not available')
32
def test_app():
33
+ # main app will fail to start if there already is a reactor
34
+ import sys
35
+ if "twisted.internet.reactor" in sys.modules:
36
+ sys.modules.pop("twisted.internet.reactor")
37
+
38
# Must close programatically
39
Timer(10, lambda: deferred_call(close)).start()
40
from inkcut.app import main
0 commit comments