manuel doctests don't use the globals dictionary passed to setUp and tearDown.

Bug #582482 reported by Jim Fulton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Manuel
Fix Released
Undecided
Unassigned

Bug Description

This has at least 2 negative consequences:

- tearDown can't clean up things created in the tests (e.g. close databases opened in the tests).

- zope.testing.module doesn't work properly because global changes made in the tests aren't reflected in the test module.

I haven't looked at the code, but probably where manuel is now copying the dictionary, it should be copying the contents.

Revision history for this message
Benji York (benji) wrote :

Version 1.1.1 should fix this.

Changed in manuel:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.