django/tests/utils_tests/test_module/another_bad_module.py

12 lines
154 B
Python

from . import site
content = "Another Bad Module"
site._registry.update(
{
"foo": "bar",
}
)
raise Exception("Some random exception.")