]> git.ipfire.org Git - thirdparty/tornado.git/commit
test: Fix ResolveTimeoutTestCase
authorBen Darnell <ben@bendarnell.com>
Sun, 20 May 2018 15:10:45 +0000 (11:10 -0400)
committerBen Darnell <ben@bendarnell.com>
Sun, 20 May 2018 15:10:45 +0000 (11:10 -0400)
commitef034425b520bcf11f29d97c4355d7dcc9325e03
tree9b915d41f34c34d6cc315d223ced6e468ac74d10
parent729f1d904225c5d1b15571f125207c319b22616a
test: Fix ResolveTimeoutTestCase

The dummy resolver used here was not correctly adapted for changes in
netutil, and as a result the test was incorrect (it checked for
TypeError instead of a timeout) and flaky (occasionally it would get a
timeout error anyway).
tornado/test/simple_httpclient_test.py