comparison tests/test-check-py3-compat.t @ 29142:c07be448028b

check-code: fix py3 complaint about \NNN being invalid unicode
author timeless <timeless@mozdev.org>
date Wed, 11 May 2016 01:56:08 +0000
parents e521cb13d354
children 5a3197cbe415
comparison
equal deleted inserted replaced
29141:ba8999547f81 29142:c07be448028b
35 tests/test-atomictempfile.py not using absolute_import 35 tests/test-atomictempfile.py not using absolute_import
36 tests/test-demandimport.py not using absolute_import 36 tests/test-demandimport.py not using absolute_import
37 37
38 #if py3exe 38 #if py3exe
39 $ hg files 'set:(**.py)' | sed 's|\\|/|g' | xargs $PYTHON3 contrib/check-py3-compat.py 39 $ hg files 'set:(**.py)' | sed 's|\\|/|g' | xargs $PYTHON3 contrib/check-py3-compat.py
40 contrib/check-code.py: invalid syntax: (unicode error) 'unicodeescape' codec can't decode bytes in position *-*: malformed \N character escape (<unknown>, line *) (glob)
41 doc/hgmanpage.py: invalid syntax: invalid syntax (<unknown>, line *) (glob) 40 doc/hgmanpage.py: invalid syntax: invalid syntax (<unknown>, line *) (glob)
42 hgext/automv.py: error importing module: <SyntaxError> invalid syntax (commands.py, line *) (line *) (glob) 41 hgext/automv.py: error importing module: <SyntaxError> invalid syntax (commands.py, line *) (line *) (glob)
43 hgext/blackbox.py: error importing: <AttributeError> 'dict' object has no attribute 'iteritems' (error at revset.py:*) (glob) 42 hgext/blackbox.py: error importing: <AttributeError> 'dict' object has no attribute 'iteritems' (error at revset.py:*) (glob)
44 hgext/bugzilla.py: error importing module: <ImportError> No module named 'urlparse' (line *) (glob) 43 hgext/bugzilla.py: error importing module: <ImportError> No module named 'urlparse' (line *) (glob)
45 hgext/censor.py: error importing: <AttributeError> 'dict' object has no attribute 'iteritems' (error at revset.py:*) (glob) 44 hgext/censor.py: error importing: <AttributeError> 'dict' object has no attribute 'iteritems' (error at revset.py:*) (glob)