ObservableDeferred: run observers in order (#11229)

This commit is contained in:
Richard van der Hoff 2021-11-02 00:17:35 +00:00 committed by GitHub
parent 93aa670642
commit 46d0937447
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 88 additions and 20 deletions

View file

@ -47,9 +47,7 @@ class DeferredCacheTestCase(TestCase):
self.assertTrue(set_d.called)
return r
# TODO: Actually ObservableDeferred *doesn't* run its tests in order on py3.8.
# maybe we should fix that?
# get_d.addCallback(check1)
get_d.addCallback(check1)
# now fire off all the deferreds
origin_d.callback(99)