do not cover dev error catcher

This commit is contained in:
Matthias 2022-05-06 01:12:11 +02:00
parent a77382d0b5
commit 1a70829f5c
No known key found for this signature in database
GPG Key ID: AB6D0E6C4CB65093

View File

@ -525,7 +525,7 @@ class PluginsRegistry:
# remove model from admin site
try:
admin.site.unregister(model)
except:
except: # pragma: no cover
pass
models += [model._meta.model_name]
except LookupError: # pragma: no cover