Mercurial > hg
diff tests/test-check-py3-compat.t @ 29890:31a6d5e14508
py3: remove use of *L syntax
The int in Python 3 behaves as long so no need of L's in py3.
Moreover we dont need long here.
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Thu, 01 Sep 2016 02:29:46 +0530 |
parents | e2c086f147ef |
children | e4a6b439acc5 |
line wrap: on
line diff
--- a/tests/test-check-py3-compat.t Tue Aug 30 09:22:53 2016 -0700 +++ b/tests/test-check-py3-compat.t Thu Sep 01 02:29:46 2016 +0530 @@ -26,7 +26,7 @@ hgext/children.py: error importing: <TypeError> str expected, not bytes (error at encoding.py:*) hgext/churn.py: error importing: <TypeError> str expected, not bytes (error at encoding.py:*) hgext/clonebundles.py: error importing: <TypeError> str expected, not bytes (error at encoding.py:*) - hgext/color.py: invalid syntax: invalid syntax (<unknown>, line *) + hgext/color.py: error importing: <TypeError> str expected, not bytes (error at encoding.py:*) hgext/convert/bzr.py: error importing: <TypeError> str expected, not bytes (error at encoding.py:*) hgext/convert/common.py: error importing: <TypeError> str expected, not bytes (error at encoding.py:*) hgext/convert/convcmd.py: error importing: <TypeError> str expected, not bytes (error at encoding.py:*) @@ -79,7 +79,7 @@ hgext/transplant.py: error importing: <TypeError> str expected, not bytes (error at encoding.py:*) hgext/win32mbcs.py: error importing: <TypeError> str expected, not bytes (error at encoding.py:*) hgext/win32text.py: error importing: <TypeError> str expected, not bytes (error at encoding.py:*) - mercurial/archival.py: invalid syntax: invalid syntax (<unknown>, line *) + mercurial/archival.py: error importing: <TypeError> str expected, not bytes (error at encoding.py:*) mercurial/bookmarks.py: error importing: <TypeError> str expected, not bytes (error at encoding.py:*) mercurial/branchmap.py: error importing: <TypeError> str expected, not bytes (error at encoding.py:*) mercurial/bundle2.py: error importing: <TypeError> str expected, not bytes (error at encoding.py:*) @@ -88,7 +88,7 @@ mercurial/changegroup.py: error importing: <TypeError> str expected, not bytes (error at encoding.py:*) mercurial/changelog.py: error importing: <TypeError> str expected, not bytes (error at encoding.py:*) mercurial/cmdutil.py: error importing: <TypeError> str expected, not bytes (error at encoding.py:*) - mercurial/commands.py: invalid syntax: invalid syntax (<unknown>, line *) + mercurial/commands.py: error importing: <TypeError> str expected, not bytes (error at encoding.py:*) mercurial/commandserver.py: error importing: <TypeError> str expected, not bytes (error at encoding.py:*) mercurial/config.py: error importing: <TypeError> str expected, not bytes (error at encoding.py:*) mercurial/context.py: error importing: <TypeError> str expected, not bytes (error at encoding.py:*)