Blame add-custom-marker-for-tests-that-require-internet.patch

959937d
diff -Nurp curio-1.1.orig/setup.cfg curio-1.1/setup.cfg
959937d
--- curio-1.1.orig/setup.cfg	2020-03-01 06:37:06.000000000 -0600
959937d
+++ curio-1.1/setup.cfg	2020-03-17 22:42:53.274876389 -0500
959937d
@@ -8,6 +8,8 @@ max-complexity = 15
959937d
 testpaths = tests
959937d
 addopts = --verbose
959937d
 	--ignore=setup.py --ignore=docs/conf.py
959937d
+markers =
959937d
+    internet: mark tests as requiring internet connectivity (deselect with '-m "not internet"')
959937d
 
959937d
 [egg_info]
959937d
 tag_build = 
959937d
diff -Nurp curio-1.1.orig/tests/test_network.py curio-1.1/tests/test_network.py
959937d
--- curio-1.1.orig/tests/test_network.py	2020-03-01 06:36:48.000000000 -0600
959937d
+++ curio-1.1/tests/test_network.py	2020-03-17 22:42:11.655683887 -0500
959937d
@@ -250,6 +250,7 @@ def test_ssl_wrapping(kernel):
959937d
 
959937d
     kernel.run(main())
959937d
 
959937d
+@pytest.mark.internet
959937d
 def test_ssl_outgoing(kernel):
959937d
     async def main():
959937d
         c = await network.open_connection('google.com', 443, ssl=True, server_hostname='google.com')
959937d
@@ -312,6 +313,7 @@ def test_ssl_manual_wrapping(kernel):
959937d
 
959937d
     kernel.run(main())
959937d
 
959937d
+@pytest.mark.internet
959937d
 def test_errors(kernel):
959937d
     async def main():
959937d
         with pytest.raises(ValueError):