Mercurial > hg
comparison tests/test-doctest.py @ 34218:aa877860d4d7
py3: use 'surrogatepass' error handler to process U+DCxx transparently
It's disallowed by default on Python 3.
https://docs.python.org/3/library/codecs.html#error-handlers
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 16 Sep 2017 22:55:48 +0900 |
parents | b4abc438a8c9 |
children | 5ce32fe7df34 |
comparison
equal
deleted
inserted
replaced
34217:5307cc57f271 | 34218:aa877860d4d7 |
---|---|
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 testmod('mercurial.dispatch') | 52 testmod('mercurial.dispatch') |
53 testmod('mercurial.encoding', py3=False) # py3: multiple encoding issues | 53 testmod('mercurial.encoding') |
54 testmod('mercurial.formatter', py3=False) # py3: write bytes to stdout | 54 testmod('mercurial.formatter', py3=False) # py3: write bytes to stdout |
55 testmod('mercurial.hg') | 55 testmod('mercurial.hg') |
56 testmod('mercurial.hgweb.hgwebdir_mod', py3=False) # py3: repr(bytes) ? | 56 testmod('mercurial.hgweb.hgwebdir_mod', py3=False) # py3: repr(bytes) ? |
57 testmod('mercurial.match') | 57 testmod('mercurial.match') |
58 testmod('mercurial.mdiff') | 58 testmod('mercurial.mdiff') |