kopia lustrzana https://github.com/micropython/micropython-lib
uasyncio.core/test_full_wait: Update for .wait() called on each loop iter.
This fixes this mock test after the recent change to make I/O scheduling fair.pull/183/merge
rodzic
eef054d98a
commit
79f13b6e4a
|
@ -31,4 +31,6 @@ except StopIteration:
|
|||
pass
|
||||
|
||||
print(loop.msgs)
|
||||
assert loop.msgs == ['I should be run first, time: 100', 'I should be run second, time: 500']
|
||||
# .wait() is now called on each loop iteration, and for our mock case, it means that
|
||||
# at the time of running, self.time() will be skewed by 100 virtual time units.
|
||||
assert loop.msgs == ['I should be run first, time: 200', 'I should be run second, time: 600']
|
||||
|
|
Ładowanie…
Reference in New Issue