Testing with new cleanup mechanism
This commit is contained in:
parent
0440bf60f6
commit
9eafd3e34f
1 changed files with 4 additions and 4 deletions
|
|
@ -195,10 +195,10 @@ if not _no_autodoc:
|
||||||
|
|
||||||
django.setup()
|
django.setup()
|
||||||
|
|
||||||
import sys
|
for modname in sys.modules:
|
||||||
import evennia # noqa
|
if modname.startswith("evennia"):
|
||||||
del sys.modules['evennia']
|
del sys.modules[modname]
|
||||||
del evennia
|
|
||||||
import evennia # noqa
|
import evennia # noqa
|
||||||
|
|
||||||
evennia._init()
|
evennia._init()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue