Patchwork [1,of,5] py3: update tests/test-check-py3-compat.t

login
register
mail settings
Submitter Pulkit Goyal
Date June 27, 2016, 1:46 p.m.
Message ID <491b9dd3ec4d65673581.1467035200@pulkit-goyal>
Download mbox | patch
Permalink /patch/15644/
State Accepted
Headers show

Comments

Pulkit Goyal - June 27, 2016, 1:46 p.m.
# HG changeset patch
# User Pulkit Goyal <7895pulkit@gmail.com>
# Date 1467023018 -19800
#      Mon Jun 27 15:53:38 2016 +0530
# Node ID 491b9dd3ec4d6567358122b3008a7821f18d9a15
# Parent  4aa1009ed6f3066874b3937ed77df144fe21efde
py3: update tests/test-check-py3-compat.t

The lower part of the test runs with python 3 and hence remain unchanged.
Yuya Nishihara - June 28, 2016, 1:26 p.m.
On Mon, 27 Jun 2016 19:16:40 +0530, Pulkit Goyal wrote:
> # HG changeset patch
> # User Pulkit Goyal <7895pulkit@gmail.com>
> # Date 1467023018 -19800
> #      Mon Jun 27 15:53:38 2016 +0530
> # Node ID 491b9dd3ec4d6567358122b3008a7821f18d9a15
> # Parent  4aa1009ed6f3066874b3937ed77df144fe21efde
> py3: update tests/test-check-py3-compat.t

Queued the series per Martijn's review, thanks.

Patch

diff -r 4aa1009ed6f3 -r 491b9dd3ec4d tests/test-check-py3-compat.t
--- a/tests/test-check-py3-compat.t	Fri Jun 24 09:08:16 2016 +0200
+++ b/tests/test-check-py3-compat.t	Mon Jun 27 15:53:38 2016 +0530
@@ -56,16 +56,17 @@ 
   hgext/hgk.py: error importing: <AttributeError> 'dict' object has no attribute 'iteritems' (error at revset.py:*) (glob)
   hgext/histedit.py: error importing module: <SyntaxError> invalid syntax (bundle*.py, line *) (line *) (glob)
   hgext/keyword.py: error importing: <ImportError> No module named 'BaseHTTPServer' (error at common.py:*) (glob)
-  hgext/largefiles/basestore.py: error importing: <SyntaxError> invalid syntax (bundle*.py, line *) (error at bundlerepo.py:*) (glob)
-  hgext/largefiles/lfcommands.py: error importing: <SyntaxError> invalid syntax (bundle*.py, line *) (error at bundlerepo.py:*) (glob)
+  hgext/largefiles/basestore.py: error importing module: <SystemError> Parent module 'hgext.largefiles' not loaded, cannot perform relative import (line *) (glob)
+  hgext/largefiles/lfcommands.py: error importing: <AttributeError> 'dict' object has no attribute 'iteritems' (error at revset.py:*) (glob)
   hgext/largefiles/lfutil.py: error importing: <AttributeError> 'dict' object has no attribute 'iteritems' (error at revset.py:*) (glob)
-  hgext/largefiles/localstore.py: error importing module: <ImportError> No module named 'lfutil' (line *) (glob)
-  hgext/largefiles/overrides.py: error importing: <SyntaxError> invalid syntax (bundle*.py, line *) (error at bundlerepo.py:*) (glob)
+  hgext/largefiles/localstore.py: error importing module: <SystemError> Parent module 'hgext.largefiles' not loaded, cannot perform relative import (line *) (glob)
+  hgext/largefiles/overrides.py: error importing module: <SyntaxError> invalid syntax (archival.py, line *) (line *) (glob)
   hgext/largefiles/proto.py: error importing: <ImportError> No module named 'httplib' (error at httppeer.py:*) (glob)
   hgext/largefiles/remotestore.py: error importing: <SyntaxError> invalid syntax (bundle*.py, line *) (error at wireproto.py:*) (glob)
   hgext/largefiles/reposetup.py: error importing: <AttributeError> 'dict' object has no attribute 'iteritems' (error at revset.py:*) (glob)
-  hgext/largefiles/uisetup.py: error importing module: <SyntaxError> invalid syntax (archival.py, line *) (line *) (glob)
-  hgext/largefiles/wirestore.py: error importing module: <ImportError> No module named 'lfutil' (line *) (glob)
+  hgext/largefiles/storefactory.py: error importing: <SyntaxError> invalid syntax (bundle2.py, line *) (error at bundlerepo.py:*) (glob)
+  hgext/largefiles/uisetup.py: error importing: <ImportError> No module named 'BaseHTTPServer' (error at common.py:*) (glob)
+  hgext/largefiles/wirestore.py: error importing module: <SystemError> Parent module 'hgext.largefiles' not loaded, cannot perform relative import (line *) (glob)
   hgext/mq.py: error importing: <AttributeError> 'dict' object has no attribute 'iteritems' (error at revset.py:*) (glob)
   hgext/notify.py: error importing: <AttributeError> 'dict' object has no attribute 'iteritems' (error at revset.py:*) (glob)
   hgext/pager.py: error importing: <AttributeError> 'dict' object has no attribute 'iteritems' (error at revset.py:*) (glob)