You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One test is failing on Python 3.6: test_chained_callback Tested on Python 3.6.0rc
________________________________________________________________________ test_chained_callback[asyncio] ________________________________________________________________________
framework = <module 'txaio.aio' from '/txaio/txaio/aio.py'>
def test_chained_callback(framework):
"""
Chain two callbacks where the first one alters the value.
"""
calls = []
def callback0(arg):
print('callback 0', arg)
calls.append(arg)
return arg + " pray I do not alter it futher"
def callback1(arg):
print('callback 1', arg)
calls.append(arg)
f = txaio.create_future()
txaio.add_callbacks(f, callback0, None)
txaio.add_callbacks(f, callback1, None)
txaio.resolve(f, "the deal")
run_once()
assert len(calls) == 2
assert calls[0] == "the deal"
> assert calls[1] == "the deal pray I do not alter it futher"
E assert 'the deal' == 'the deal pray I do not alter it futher'
E - the deal
E + the deal pray I do not alter it futher
test/test_callback.py:86: AssertionError
The text was updated successfully, but these errors were encountered:
One test is failing on Python 3.6:
test_chained_callback
Tested onPython 3.6.0rc
The text was updated successfully, but these errors were encountered: