Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix tests with Twisted 24.7.0 #3417

Merged
merged 1 commit into from
Aug 19, 2024
Merged

Conversation

cjwatson
Copy link
Contributor

twisted.internet.defer.returnValue was needed on Python 2, but on Python 3 a simple return statement works fine. Twisted 24.7.0 deprecated the former, causing
tornado.test.twisted_test.ConvertDeferredTest.test_success to fail.

`twisted.internet.defer.returnValue` was needed on Python 2, but on
Python 3 a simple `return` statement works fine.  Twisted 24.7.0
deprecated the former, causing
`tornado.test.twisted_test.ConvertDeferredTest.test_success` to fail.
@bdarnell bdarnell merged commit e761622 into tornadoweb:master Aug 19, 2024
13 checks passed
@bdarnell
Copy link
Member

Thanks!

@cjwatson cjwatson deleted the twisted-24.7.0 branch August 19, 2024 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants