]> git.ipfire.org Git - thirdparty/tornado.git/commit
Fix tests with Twisted 24.7.0 3417/head
authorColin Watson <cjwatson@debian.org>
Sun, 18 Aug 2024 17:58:11 +0000 (18:58 +0100)
committerColin Watson <cjwatson@debian.org>
Sun, 18 Aug 2024 17:58:11 +0000 (18:58 +0100)
commit137448dacddba69eeac8399c5abb3b11cdb98d02
tree03a7c149dd15c8af9ddfc84b7f7a6fd8a19e9cad
parent1f8b2d78fee5e5a15e686815e0285d4a3c831a2c
Fix tests with Twisted 24.7.0

`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.
tornado/test/twisted_test.py