Exclude untestable code
This commit is contained in:
parent
f7802308a2
commit
30d87f0143
1 changed files with 1 additions and 1 deletions
|
|
@ -59,7 +59,7 @@ try:
|
||||||
)
|
)
|
||||||
try:
|
try:
|
||||||
wizard_pool.register(post_wizard)
|
wizard_pool.register(post_wizard)
|
||||||
except AlreadyRegisteredException:
|
except AlreadyRegisteredException: # pragma: no cover
|
||||||
if settings.DEBUG:
|
if settings.DEBUG:
|
||||||
raise
|
raise
|
||||||
except ImportError:
|
except ImportError:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue