]> git.ipfire.org Git - thirdparty/dnspython.git/commitdiff
give up on curio tests on windows
authorBob Halley <halley@dnspython.org>
Sat, 11 Jun 2022 19:37:59 +0000 (12:37 -0700)
committerBob Halley <halley@dnspython.org>
Sat, 11 Jun 2022 19:37:59 +0000 (12:37 -0700)
tests/test_async.py

index d6f188fe9d8943d11d8e02dee68f35fd3b36f7e2..2de3ca6d6fbcfa1edaa4143cb6ad73fa3aab762d 100644 (file)
@@ -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