]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
test: Silence PendingDeprecationWarning on nightly python 1750/head
authorBen Darnell <ben@bendarnell.com>
Sun, 12 Jun 2016 20:28:35 +0000 (16:28 -0400)
committerBen Darnell <ben@bendarnell.com>
Sun, 12 Jun 2016 22:00:11 +0000 (18:00 -0400)
tornado/test/runtests.py

index ca82d66b9bdd9a0ff318ffe6411a548f3f3d404c..f4dd46de36484de525e8493247fe2dc01986e18b 100644 (file)
@@ -121,6 +121,10 @@ def main():
     # Twisted 15.0.0 triggers some warnings on py3 with -bb.
     warnings.filterwarnings("ignore", category=BytesWarning,
                             module=r"twisted\..*")
+    # The __aiter__ protocol changed in python 3.5.2.
+    # Silence the warning until we can drop 3.5.[01].
+    warnings.filterwarnings("ignore", category=PendingDeprecationWarning,
+                            message=".*legacy __aiter__ protocol")
 
     logging.getLogger("tornado.access").setLevel(logging.CRITICAL)