comparison tests/test-doctest.py @ 34212:dfd009e5f9f2

py3: iterate bytes as a byte string in dagparser.py
author Yuya Nishihara <yuya@tcha.org>
date Sun, 03 Sep 2017 15:32:45 +0900
parents 0a2fd3bfc704
children b4abc438a8c9
comparison
equal deleted inserted replaced
34211:a48ad118c558 34212:dfd009e5f9f2
46 testmod('mercurial.changegroup') 46 testmod('mercurial.changegroup')
47 testmod('mercurial.changelog') 47 testmod('mercurial.changelog')
48 testmod('mercurial.color') 48 testmod('mercurial.color')
49 testmod('mercurial.config') 49 testmod('mercurial.config')
50 testmod('mercurial.context') 50 testmod('mercurial.context')
51 testmod('mercurial.dagparser', optionflags=doctest.NORMALIZE_WHITESPACE, 51 testmod('mercurial.dagparser', optionflags=doctest.NORMALIZE_WHITESPACE)
52 py3=False) # py3: use of str()
53 testmod('mercurial.dispatch') 52 testmod('mercurial.dispatch')
54 testmod('mercurial.encoding', py3=False) # py3: multiple encoding issues 53 testmod('mercurial.encoding', py3=False) # py3: multiple encoding issues
55 testmod('mercurial.formatter', py3=False) # py3: write bytes to stdout 54 testmod('mercurial.formatter', py3=False) # py3: write bytes to stdout
56 testmod('mercurial.hg') 55 testmod('mercurial.hg')
57 testmod('mercurial.hgweb.hgwebdir_mod', py3=False) # py3: repr(bytes) ? 56 testmod('mercurial.hgweb.hgwebdir_mod', py3=False) # py3: repr(bytes) ?