#+CATEGORY: pmachines
#+TAGS: bug(b) calendar(c) waiting(w)
-* CODE restore the assertion of events
+* CODE the application does not close correctly
* READY create builds, update website and itch.io
* READY refactoring (recurring task)
* BACKLOG intro animation (from target item to start position)
raise Exception(msg)
def assert_events():
- return
preserve = ['window-event', 'window-closed', 'async_loader_0',
'render-texture-targets-changed', 'aspectRatioChanged']
for evt in messenger.getEvents():
if evt not in preserve:
- msg = 'unexpected event: %s' % evt
- raise Exception(msg)
+ if (acc := messenger.who_accepts(evt)):
+ for key, _acc in acc.items():
+ if _acc[2]:
+ print('the event %s accepted by <%s, %s> is persistent' % (evt, key, _acc[0]))
+ else:
+ msg = 'unexpected event: %s, %s' % (evt, str(acc))
+ raise Exception(msg)
def assert_tasks():
preserve = [