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
[FAIL]
Traceback (most recent call last):
File "/home/altendky/repos/twisted2/build/py36-alldeps-withcov-posix/lib/python3.6/site-packages/twisted/internet/test/test_inlinecb.py", line 124, in test_returnValueNonLocalDeferred
self.assertMistakenMethodWarning(results)
File "/home/altendky/repos/twisted2/build/py36-alldeps-withcov-posix/lib/python3.6/site-packages/twisted/internet/test/test_inlinecb.py", line 86, in assertMistakenMethodWarning
"returnValue() in 'mistakenMethod' causing 'inline' to exit: "
File "/home/altendky/repos/twisted2/build/py36-alldeps-withcov-posix/lib/python3.6/site-packages/twisted/trial/_synctest.py", line 437, in assertEqual
super(_Assertions, self).assertEqual(first, second, msg)
File "/home/altendky/.pyenv/versions/3.6.10/lib/python3.6/unittest/case.py", line 829, in assertEqual
assertion_func(first, second, msg=msg)
File "/home/altendky/.pyenv/versions/3.6.10/lib/python3.6/unittest/case.py", line 1203, in assertMultiLineEqual
self.fail(self._formatMessage(msg, standardMsg))
twisted.trial.unittest.FailTest: "retu[34 chars]ing 'run' to exit: returnValue should only be [47 chars]acks" != "retu[34 chars]ing 'inline' to exit: returnValue should only [50 chars]acks"
- returnValue() in 'mistakenMethod' causing 'run' to exit: returnValue should only be invoked by functions decorated with inlineCallbacks
? ^^
+ returnValue() in 'mistakenMethod' causing 'inline' to exit: returnValue should only be invoked by functions decorated with inlineCallbacks
? ^ ++++
twisted.internet.test.test_inlinecb.NonLocalExitTests.test_returnValueNonLocalDeferred
Noticed while working on #9815 including adding a non-platform extra for sniffio which depends on the contextvars backport. Maybe this should be an enhancement but I'll mark it defect for now since the news fragment at least 'claimed support for' the contextvars backport.
Noticed while working on #9815 including adding a non-platform extra for sniffio which depends on the contextvars backport. Maybe this should be an enhancement but I'll mark it defect for now since the news fragment at least 'claimed support for' the contextvars backport.
Searchable metadata
The text was updated successfully, but these errors were encountered: