# coding=utf-8
import socket

try:
    from unittest import mock
    from unittest.mock import patch
except ImportError:
    import mock
    from mock import patch
try:
    import unittest2 as unittest
except ImportError:
    import unittest


class TestConnectionTests(unittest.TestCase):
    mock_sock_obj = mock.Mock(
        spec_set=socket.socket,
        connect=mock.Mock(side_effect=socket.timeout))

754b0bbcd91a8e657bd1a27b4b5e49e769d2130b
<mask token>


class TestConnectionTests(unittest.TestCase):
    <mask token>

<mask token>


class TestConnectionTests(unittest.TestCase):
    mock_sock_obj = mock.Mock(spec_set=socket.socket, connect=mock.Mock(
        side_effect=socket.timeout))

<mask token>
try:
    from unittest import mock
    from unittest.mock import patch
except ImportError:
    import mock
    from mock import patch
try:
    import unittest2 as unittest
except ImportError:
    import unittest


class TestConnectionTests(unittest.TestCase):
    mock_sock_obj = mock.Mock(spec_set=socket.socket, connect=mock.Mock(
        side_effect=socket.timeout))

import socket
try:
    from unittest import mock
    from unittest.mock import patch
except ImportError:
    import mock
    from mock import patch
try:
    import unittest2 as unittest
except ImportError:
    import unittest


class TestConnectionTests(unittest.TestCase):
    mock_sock_obj = mock.Mock(spec_set=socket.socket, connect=mock.Mock(
        side_effect=socket.timeout))

# coding=utf-8
import socket

try:
    from unittest import mock
    from unittest.mock import patch
except ImportError:
    import mock
    from mock import patch
try:
    import unittest2 as unittest
except ImportError:
    import unittest


class TestConnectionTests(unittest.TestCase):
    mock_sock_obj = mock.Mock(
        spec_set=socket.socket,
        connect=mock.Mock(side_effect=socket.timeout))
