From: Ben Darnell Date: Sun, 19 Jan 2020 15:59:27 +0000 (-0500) Subject: test: Add some more skips on windows X-Git-Tag: v6.1.0b1~40^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ce504a9081ac6cac96ea76614dbe19a3ab73a057;p=thirdparty%2Ftornado.git test: Add some more skips on windows Alternate resolvers behave differently on this platform for unknown reasons. --- diff --git a/tornado/test/netutil_test.py b/tornado/test/netutil_test.py index 8ebc8e6ab..310cf0458 100644 --- a/tornado/test/netutil_test.py +++ b/tornado/test/netutil_test.py @@ -163,6 +163,7 @@ class ThreadedResolverImportTest(unittest.TestCase): # name with spaces used in this test. @skipIfNoNetwork @unittest.skipIf(pycares is None, "pycares module not present") +@unittest.skipIf(sys.platform == "win32", "pycares doesn't return loopback on windows") class CaresResolverTest(AsyncTestCase, _ResolverTestMixin): def setUp(self): super(CaresResolverTest, self).setUp() @@ -181,6 +182,7 @@ class CaresResolverTest(AsyncTestCase, _ResolverTestMixin): @unittest.skipIf( getattr(twisted, "__version__", "0.0") < "12.1", "old version of twisted" ) +@unittest.skipIf(sys.platform == "win32", "twisted resolver hangs on windows") class TwistedResolverTest(AsyncTestCase, _ResolverTestMixin): def setUp(self): super(TwistedResolverTest, self).setUp()