summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_robotparser.py
diff options
context:
space:
mode:
authorChristian Heimes <christian@python.org>2022-05-06 10:08:36 (GMT)
committerGitHub <noreply@github.com>2022-05-06 10:08:36 (GMT)
commitcbc2c199a071d4d94b92c835324bf2ab721bb507 (patch)
treea292efe8ce050ef5fa3207ac1ab53c2002e28cdb /Lib/test/test_robotparser.py
parent291945bc6e4f2a46d8229fd2fcb181b52657cc8a (diff)
downloadcpython-cbc2c199a071d4d94b92c835324bf2ab721bb507.zip
cpython-cbc2c199a071d4d94b92c835324bf2ab721bb507.tar.gz
cpython-cbc2c199a071d4d94b92c835324bf2ab721bb507.tar.bz2
gh-84461: Skip network require tests on Emscripten (GH-92383)
Diffstat (limited to 'Lib/test/test_robotparser.py')
-rw-r--r--Lib/test/test_robotparser.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_robotparser.py b/Lib/test/test_robotparser.py
index 08bdf59..3821d66 100644
--- a/Lib/test/test_robotparser.py
+++ b/Lib/test/test_robotparser.py
@@ -345,6 +345,7 @@ class PasswordProtectedSiteTestCase(unittest.TestCase):
self.assertFalse(parser.can_fetch("*", robots_url))
+@support.requires_working_socket()
class NetworkTestCase(unittest.TestCase):
base_url = 'http://www.pythontest.net/'