diff tests/test-doctest.py @ 15393:87bb6b7644f6 stable

minirst: use unicode string as intermediate form for replacement # this change redones part of 521c8e0c93bf, backed out by 0ad0ebe67815 Some character encodings use ASCII characters other than control/alphabet/digit as a part of multi-bytes characters, so direct replacing with such characters on strings in local encoding causes invalid byte sequences. [mpm: test changed to simple doctest]
author FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
date Mon, 31 Oct 2011 21:06:18 +0900
parents d7bfbc92a1c0
children db68ee3289b6
line wrap: on
line diff
--- a/tests/test-doctest.py	Mon Oct 31 15:41:39 2011 -0500
+++ b/tests/test-doctest.py	Mon Oct 31 21:06:18 2011 +0900
@@ -36,3 +36,6 @@
 
 import mercurial.revset
 doctest.testmod(mercurial.revset)
+
+import mercurial.minirst
+doctest.testmod(mercurial.minirst)