Message212503
| Author |
xdegaye |
| Recipients |
georg.brandl, pitrou, xdegaye |
| Date |
2014年03月01日.15:04:12 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1393686253.62.0.207713600891.issue20746@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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. |
|
History
|
|---|
| 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: <1393686253.62.0.207713600891.issue20746@psf.upfronthosting.co.za> |
| 2014年03月01日 15:04:13 | xdegaye | link | issue20746 messages |
| 2014年03月01日 15:04:13 | xdegaye | create |
|