diff tests/test-doctest.py @ 11337:0f3c8a47960e

debugbuilddag: build a changelog dag from a concise description Useful in tests to quickly build a complex DAG in an empty repo. Handles local tags and named branches. Options to, at each rev, - create a new file, - overwrite the same file, - append to the same file, - write to a specific line in a mergeable file. Can run shell commands during DAG buildup.
author Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
date Thu, 10 Jun 2010 11:49:48 +0200
parents 3201ff1459dd
children b7fbf24c8a93 bb324910e40a
line wrap: on
line diff
--- a/tests/test-doctest.py	Thu Jun 10 11:48:45 2010 +0200
+++ b/tests/test-doctest.py	Thu Jun 10 11:49:48 2010 +0200
@@ -16,7 +16,7 @@
 doctest.testmod(mercurial.util)
 
 import mercurial.dagparser
-doctest.testmod(mercurial.dagparser)
+doctest.testmod(mercurial.dagparser, optionflags=doctest.NORMALIZE_WHITESPACE)
 
 import hgext.convert.cvsps
 doctest.testmod(hgext.convert.cvsps)