def test_safe_socket_connect(self): with pytest.raises(SuspiciousOperation): safe_socket_connect(("127.0.0.1", 80))
def test_safe_socket_connect(self): with pytest.raises(SuspiciousOperation): safe_socket_connect(('127.0.0.1', 80))