summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_robotparser.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_robotparser.py')
-rw-r--r--Lib/test/test_robotparser.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/Lib/test/test_robotparser.py b/Lib/test/test_robotparser.py
index 3821d66..8d89e2a 100644
--- a/Lib/test/test_robotparser.py
+++ b/Lib/test/test_robotparser.py
@@ -308,8 +308,9 @@ class RobotHandler(BaseHTTPRequestHandler):
pass
-@unittest.skipIf(
- support.is_emscripten, "Socket server not available on Emscripten."
+@unittest.skipUnless(
+ support.has_socket_support,
+ "Socket server requires working socket."
)
class PasswordProtectedSiteTestCase(unittest.TestCase):