mirror of
https://github.com/evennia/evennia.git
synced 2026-03-30 12:37:16 +02:00
Testing with new cleanup mechanism
This commit is contained in:
parent
b0bdc72cb1
commit
49731fcd8f
1 changed files with 4 additions and 4 deletions
|
|
@ -195,10 +195,10 @@ if not _no_autodoc:
|
|||
|
||||
django.setup()
|
||||
|
||||
import sys
|
||||
import evennia # noqa
|
||||
del sys.modules['evennia']
|
||||
del evennia
|
||||
for modname in sys.modules:
|
||||
if modname.startswith("evennia"):
|
||||
del sys.modules[modname]
|
||||
|
||||
import evennia # noqa
|
||||
|
||||
evennia._init()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue