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

Reported by Jim Fulton on 2010-05-18
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Manuel
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.

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  Edit
Everyone can see this information.

Other bug subscribers