def test_requests_version(self):
    client_args_timeout = {'key': 'AIzaasdf', 'client_id': 'foo', 'client_secret': 'a2V5', 'channel': 'MyChannel_1', 'connect_timeout': 5, 'read_timeout': 5}
    client_args = client_args_timeout.copy()
    del client_args['connect_timeout']
    del client_args['read_timeout']
    requests.__version__ = '2.3.0'
    with self.assertRaises(NotImplementedError):
        googlemaps.Client(**client_args_timeout)
    googlemaps.Client(**client_args)
    requests.__version__ = '2.4.0'
    googlemaps.Client(**client_args_timeout)
    googlemaps.Client(**client_args)
def test_requests_version(self):
    client_args_timeout = {'key': 'AIzaasdf', 'client_id': 'foo', 'client_secret': 'a2V5', 'channel': 'MyChannel_1', 'connect_timeout': 5, 'read_timeout': 5}
    client_args = client_args_timeout.copy()
    del client_args['connect_timeout']
    del client_args['read_timeout']
    requests.__version__ = '2.3.0'
    with self.assertRaises(NotImplementedError):
        googlemaps.Client(**client_args_timeout)
    googlemaps.Client(**client_args)
    requests.__version__ = '2.4.0'
    googlemaps.Client(**client_args_timeout)
    googlemaps.Client(**client_args)