Show More
@@ -181,7 +181,7 b' def parsedag(desc):' | |||
|
181 | 181 | else: |
|
182 | 182 | return labels[ref] |
|
183 | 183 | |
|
184 | chiter = (c for c in desc) | |
|
184 | chiter = pycompat.iterbytestr(desc) | |
|
185 | 185 | |
|
186 | 186 | def nextch(): |
|
187 | 187 | return next(chiter, '\0') |
@@ -48,8 +48,7 b" testmod('mercurial.changelog')" | |||
|
48 | 48 | testmod('mercurial.color') |
|
49 | 49 | testmod('mercurial.config') |
|
50 | 50 | testmod('mercurial.context') |
|
51 |
testmod('mercurial.dagparser', optionflags=doctest.NORMALIZE_WHITESPACE |
|
|
52 | py3=False) # py3: use of str() | |
|
51 | testmod('mercurial.dagparser', optionflags=doctest.NORMALIZE_WHITESPACE) | |
|
53 | 52 | testmod('mercurial.dispatch') |
|
54 | 53 | testmod('mercurial.encoding', py3=False) # py3: multiple encoding issues |
|
55 | 54 | testmod('mercurial.formatter', py3=False) # py3: write bytes to stdout |
General Comments 0
You need to be logged in to leave comments.
Login now