'Test no warnings are produced when using the client.'

def test_resource_warnings(self):

    with warnings.catch_warnings(record=True) as w:
        warnings.simplefilter('always')
        client = docker.APIClient(version='auto', **kwargs_from_env())
        client.images()
        client.close()
        del client
        assert (len(w) == 0), 'No    warnings    produced:    {0}'.format(w[0].message)
