Message212503
The doctests are executed with 'test.globs' as globals which is set in the 'find' method of doctest.DocTestFinder, and cleared after each run (unless 'clear_globs' is false). One possible fix is to have test.regrtest 'find' a new test_runner before each run instead of always using the same one. This is what does the attached patch. |
|
| Date |
User |
Action |
Args |
| 2014-03-01 15:04:13 | xdegaye | set | recipients:
+ xdegaye, georg.brandl, pitrou |
| 2014-03-01 15:04:13 | xdegaye | set | messageid: <[email protected]> |
| 2014-03-01 15:04:13 | xdegaye | link | issue20746 messages |
| 2014-03-01 15:04:13 | xdegaye | create | |
|