ASE test fail after installation

I recently installed latest ASE and ‘ase test’ is failing with the following error:

============================================= FAILURES ==============================================
___________________________________________ test_favicon ____________________________________________
[gw0] linux – Python 3.9.7 /home/edft/anaconda3/bin/python

client = <FlaskClient <Flask ‘ase.db.app’>>

def test_favicon(client):
  assert client.get('/favicon.ico').status_code == 308  # redirect

/home/edft/anaconda3/lib/python3.9/site-packages/ase/test/db/test_db_web.py:64:


/home/edft/anaconda3/lib/python3.9/site-packages/werkzeug/test.py:1129: in get
return self.open(*args, **kw)
/home/edft/anaconda3/lib/python3.9/site-packages/flask/testing.py:222: in open
return Client.open(
/home/edft/anaconda3/lib/python3.9/site-packages/werkzeug/test.py:1074: in open
response = self.run_wsgi_app(request.environ, buffered=buffered)
/home/edft/anaconda3/lib/python3.9/site-packages/werkzeug/test.py:945: in run_wsgi_app
rv = run_wsgi_app(self.application, environ, buffered=buffered)
/home/edft/anaconda3/lib/python3.9/site-packages/werkzeug/test.py:1231: in run_wsgi_app
app_rv = app(environ, start_response)
/home/edft/anaconda3/lib/python3.9/site-packages/flask/app.py:2464: in call
return self.wsgi_app(environ, start_response)
/home/edft/anaconda3/lib/python3.9/site-packages/flask/app.py:2450: in wsgi_app
response = self.handle_exception(e)
/home/edft/anaconda3/lib/python3.9/site-packages/flask/app.py:1867: in handle_exception
reraise(exc_type, exc_value, tb)
/home/edft/anaconda3/lib/python3.9/site-packages/flask/_compat.py:39: in reraise
raise value
/home/edft/anaconda3/lib/python3.9/site-packages/flask/app.py:2447: in wsgi_app
response = self.full_dispatch_request()
/home/edft/anaconda3/lib/python3.9/site-packages/flask/app.py:1953: in full_dispatch_request
return self.finalize_request(rv)
/home/edft/anaconda3/lib/python3.9/site-packages/flask/app.py:1968: in finalize_request
response = self.make_response(rv)
/home/edft/anaconda3/lib/python3.9/site-packages/flask/app.py:2113: in make_response
elif isinstance(rv, BaseResponse) or callable(rv):


cls = <class ‘werkzeug.wrappers.base_response.BaseResponse’>
instance = <RequestRedirect ‘308: Permanent Redirect’>

def __instancecheck__(cls, instance: t.Any) -> bool:
  warnings.warn(
        "'BaseResponse' is deprecated and will be removed in"
        " Werkzeug 2.1. Use 'isinstance(obj, Response)' instead.",
        DeprecationWarning,
        stacklevel=2,
    )

E DeprecationWarning: ‘BaseResponse’ is deprecated and will be removed in Werkzeug 2.1. Use ‘isinstance(obj, Response)’ instead.

/home/edft/anaconda3/lib/python3.9/site-packages/werkzeug/wrappers/base_response.py:18: DeprecationWarning
------------------------------------- Captured stdout teardown --------------------------------------
Global seed for “test/db/test_db_web.py:test_favicon” was: 4534
========================================= warnings summary ==========================================
calculator/abinit/test_main.py::test_si[abinit0]
/home/edft/anaconda3/lib/python3.9/site-packages/pluggy/manager.py:366: ResourceWarning: unclosed file <_io.FileIO name=‘/dev/null’ mode=‘wb’ closefd=True>
plugins_to_remove = [plug for plug in remove_plugins if hasattr(plug, name)]

forcefields/test_rattle_linear.py::test_rattle_linear
/home/edft/anaconda3/lib/python3.9/site-packages/ase/optimize/optimize.py:92: ResourceWarning: unclosed file <_io.FileIO name=‘/dev/null’ mode=‘wb’ closefd=True>
if not hasattr(function, “call”):

gui/test_run.py::test_reciprocal
/home/edft/anaconda3/lib/python3.9/site-packages/_pytest/runner.py:132: ResourceWarning: unclosed file <_io.BufferedReader name=17>
item.funcargs = None # type: ignore[attr-defined]

md/test_ce_curvature.py::test_curvature2
/home/edft/anaconda3/lib/python3.9/site-packages/numpy/core/fromnumeric.py:71: ResourceWarning: unclosed file <_io.TextIOWrapper name=‘/dev/null’ mode=‘w’ encoding=‘UTF-8’>
passkwargs = {k: v for k, v in kwargs.items()

– Docs: How to capture warnings - pytest documentation
====================================== short test summary info ======================================
FAILED db/test_db_web.py::test_favicon - DeprecationWarning: ‘BaseResponse’ is deprecated and will…
===== 1 failed, 1701 passed, 261 skipped, 2 xfailed, 2 xpassed, 4 warnings in 69.72s (0:01:09) ======