From 98da408964b229ee0b35bb8c4500820e3606aeab Mon Sep 17 00:00:00 2001 From: Markus Holtermann Date: Fri, 31 Oct 2014 10:22:15 +0100 Subject: Fixed #23670 -- Prevented partial import state during module autodiscovery Thanks kostko for the report. --- tests/utils_tests/test_module/another_good_module.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests/utils_tests/test_module') diff --git a/tests/utils_tests/test_module/another_good_module.py b/tests/utils_tests/test_module/another_good_module.py index ed4b2d34a2..fd69a3b30c 100644 --- a/tests/utils_tests/test_module/another_good_module.py +++ b/tests/utils_tests/test_module/another_good_module.py @@ -1 +1,6 @@ +from . import site content = 'Another Good Module' + +site._registry.update({ + 'lorem': 'ipsum', +}) -- cgit v1.3