From: Bob Halley Date: Sat, 11 Jun 2022 19:37:59 +0000 (-0700) Subject: give up on curio tests on windows X-Git-Tag: v2.3.0rc1~66 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5444777ecc65316022eeab2bb04f3785d8d7dad0;p=thirdparty%2Fdnspython.git give up on curio tests on windows --- diff --git a/tests/test_async.py b/tests/test_async.py index d6f188fe..2de3ca6d 100644 --- a/tests/test_async.py +++ b/tests/test_async.py @@ -555,6 +555,7 @@ try: import curio import sniffio + @unittest.skipIf(sys.platform == "win32", "curio does not work in windows CI") class CurioAsyncDetectionTests(AsyncDetectionTests): sniff_result = "curio" @@ -562,6 +563,7 @@ try: with curio.Kernel() as kernel: return kernel.run(afunc, shutdown=True) + @unittest.skipIf(sys.platform == "win32", "curio does not work in windows CI") class CurioNoSniffioAsyncDetectionTests(NoSniffioAsyncDetectionTests): expect_raise = True @@ -569,6 +571,7 @@ try: with curio.Kernel() as kernel: return kernel.run(afunc, shutdown=True) + @unittest.skipIf(sys.platform == "win32", "curio does not work in windows CI") class CurioAsyncTests(AsyncTests): connect_udp = False