Description: Replace flask_abort by _aborter
Author: Thomas Goirand <zigo@debian.org>
Bug-Debian: https://bugs.debian.org/1024913
Forwarded: no
Last-Update: 2022-12-15

--- flask-restful.orig/tests/test_api.py
+++ flask-restful/tests/test_api.py
@@ -840,7 +840,7 @@
                 flask_abort(304, etag='myETag')
 
         api.add_resource(Foo1, '/foo')
-        _aborter.mapping.update({304: NotModified})
+        app.aborter.mapping[304] = NotModified
 
         with app.test_client() as client:
             foo = client.get('/foo')
