@mock.patch('six.PY2')
    def test_is_private_address_works_with_python2(self, is_python2_mock):
        is_python2_mock.return_value = True
        self.assertTrue(is_private_address(u'127.0.0.1'))
        self.assertTrue(is_private_address('127.0.0.1'))
        self.assertFalse(is_private_address('126.0.0.10'))
Scroll a search request created by specifying the scroll parameter.
dataset/ETHPy150Open uber/mutornadomon/tests/test_net.py/TestIsPrivateAddress.test_is_private_address_works_with_python2--crossover with--dataset/ETHPy150Open elastic/elasticsearch-py/elasticsearch/client/__init__.py/Elasticsearch.scroll