~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_lazy_import.py

Merge from bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
156
156
        An object should appear in globals() by constructing a ScopeReplacer,
157
157
        and it will be replaced with the real object upon the first request.
158
158
        """
 
159
        actions = []
 
160
        TestClass.use_actions(actions)
159
161
        def factory(replacer, scope, name):
160
162
            return TestClass()
161
163
        try: