Exclude untestable code

This commit is contained in:
Iacopo Spalletti 2016-03-10 08:56:02 +01:00
parent f7802308a2
commit 30d87f0143

View file

@ -59,7 +59,7 @@ try:
)
try:
wizard_pool.register(post_wizard)
except AlreadyRegisteredException:
except AlreadyRegisteredException: # pragma: no cover
if settings.DEBUG:
raise
except ImportError: