Rev 5579: Really isolate doctest by using bzrlib.tests.DocTestSuite. in file:///home/vila/src/bzr/bugs/test-isolation/
Vincent Ladeuil
v.ladeuil+lp at free.fr
Mon Dec 20 11:52:48 GMT 2010
At file:///home/vila/src/bzr/bugs/test-isolation/
------------------------------------------------------------
revno: 5579
revision-id: v.ladeuil+lp at free.fr-20101220115247-zcgd72yqnlwglgsd
parent: v.ladeuil+lp at free.fr-20101220114715-znr8shawnccet4yu
committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
branch nick: 321320-isolate-doc-tests
timestamp: Mon 2010-12-20 12:52:47 +0100
message:
Really isolate doctest by using bzrlib.tests.DocTestSuite.
-------------- next part --------------
=== modified file 'bzrlib/tests/__init__.py'
--- a/bzrlib/tests/__init__.py 2010-12-18 19:01:49 +0000
+++ b/bzrlib/tests/__init__.py 2010-12-20 11:52:47 +0000
@@ -3958,8 +3958,8 @@
try:
# note that this really does mean "report only" -- doctest
# still runs the rest of the examples
- doc_suite = doctest.DocTestSuite(mod,
- optionflags=doctest.REPORT_ONLY_FIRST_FAILURE)
+ doc_suite = DocTestSuite(
+ mod, optionflags=doctest.REPORT_ONLY_FIRST_FAILURE)
except ValueError, e:
print '**failed to get doctest for: %s\n%s' % (mod, e)
raise
More information about the bazaar-commits
mailing list