unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: "LaFreniere\, Joseph" <joseph@lafreniere.xyz>
To: 38824@debbugs.gnu.org
Cc: brettg@gnu.org
Subject: [bug#38824] [PATCH] gnu: mercurial: Update to 5.2.1.
Date: Sun, 05 Jan 2020 00:15:44 -0600	[thread overview]
Message-ID: <87h81ah1in.fsf@lafreniere.xyz> (raw)
In-Reply-To: <0e2a74312eba3617dda3613038d16e76c55c4e0b.camel@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 2257 bytes --]

On Fri, 2020-01-03 at 17:02 -0600, Brett Gilio wrote:
> We do have a python-nose package. Is this different from the 
> nose unit mentioned in the rationale for disabling the tests?

I can confirm Roel Janssen's guess that python-nose is the 
relevant package and that it provides the nose unit test runner.

Roel Janssen <roel@gnu.org> writes:
> I don't know much about Python, so I'm not sure whether the test 
> suite just hasn't been made Python-3-compatible, or whether it's 
> something else, and whether this has always been a problem, or 
> whether it was introduced by this update.

From https://www.mercurial-scm.org/wiki/Python3 as of this 
writing:
> Mercurial 5.2 is the first release that officially has support 
> for Python 3. Supported Python 3 versions are 3.5, 3.6, and 
> 3.7. Python 3.8 mostly works, but there are a few known 
> incompatibilities. Mercurial with Python 3 on Windows is not yet 
> widely tested and there are some known issues.

> It is the project policy for Mercurial and its core extensions 
> to be compatible with Python 3. Over 99% of tests pass with 
> Python 3 and test regressions are treated seriously.

> Most used 3rd party extensions like evolve and topic have been 
> ported to Python 3. There are some which have not yet been 
> ported.

> Assuming Windows porting proceeds well, it is expected we will 
> drop support for Python 2.7 sometime in 2020.

The output I obtained from running `python3 -m nose` in the 
repository's root is attached.  Looking at 
e.g. mercurial/pycompat.py shows that Mercurial's devs are indeed 
aware of these Python3 compatibility issues:

> # TODO: .buffer might not exist if std streams were replaced; 
> we'll need
> # a silly wrapper to make a bytes stream backed by a unicode 
> one.

I think that for now the options are to
1. continue using Python2 for Mercurial;
2. use Python3 but disable all tests, as Janssen's patch suggests;
3. use Python3 but disable the known-failing tests; or
4. hold off on updating the package until upstream supports 
Python3 across its entire test suite.

Of those three, I am most in favor of the third option.  I would 
be glad to submit a patch that implements it if there is agreement 
to take that direction.

--
Joseph LaFreniere

[-- Attachment #2: test-output.txt --]
[-- Type: text/plain, Size: 145511 bytes --]

EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
======================================================================
ERROR: Failure: AttributeError ('_io.StringIO' object has no attribute 'buffer')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
    raise self.exc_val.with_traceback(self.tb)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/loader.py", line 417, in loadTestsFromName
    addr.filename, addr.module)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 244, in load_module
    return load_package(name, filename)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 216, in load_package
    return _load(spec)
  File "<frozen importlib._bootstrap>", line 696, in _load
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/hgext/convert/__init__.py", line 12, in <module>
    from mercurial.i18n import _
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/i18n.py", line 15, in <module>
    from .pycompat import getattr
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/pycompat.py", line 134, in <module>
    stdout = sys.stdout.buffer
AttributeError: '_io.StringIO' object has no attribute 'buffer'

======================================================================
ERROR: Failure: AttributeError ('_io.StringIO' object has no attribute 'buffer')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
    raise self.exc_val.with_traceback(self.tb)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/loader.py", line 417, in loadTestsFromName
    addr.filename, addr.module)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 244, in load_module
    return load_package(name, filename)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 216, in load_package
    return _load(spec)
  File "<frozen importlib._bootstrap>", line 696, in _load
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/hgext/fastannotate/__init__.py", line 106, in <module>
    from mercurial.i18n import _
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/i18n.py", line 15, in <module>
    from .pycompat import getattr
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/pycompat.py", line 134, in <module>
    stdout = sys.stdout.buffer
AttributeError: '_io.StringIO' object has no attribute 'buffer'

======================================================================
ERROR: Failure: AttributeError ('_io.StringIO' object has no attribute 'buffer')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
    raise self.exc_val.with_traceback(self.tb)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/loader.py", line 417, in loadTestsFromName
    addr.filename, addr.module)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 244, in load_module
    return load_package(name, filename)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 216, in load_package
    return _load(spec)
  File "<frozen importlib._bootstrap>", line 696, in _load
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/hgext/fsmonitor/__init__.py", line 118, in <module>
    from mercurial.i18n import _
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/i18n.py", line 15, in <module>
    from .pycompat import getattr
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/pycompat.py", line 134, in <module>
    stdout = sys.stdout.buffer
AttributeError: '_io.StringIO' object has no attribute 'buffer'

======================================================================
ERROR: Failure: AttributeError ('_io.StringIO' object has no attribute 'buffer')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
    raise self.exc_val.with_traceback(self.tb)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/loader.py", line 417, in loadTestsFromName
    addr.filename, addr.module)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 244, in load_module
    return load_package(name, filename)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 216, in load_package
    return _load(spec)
  File "<frozen importlib._bootstrap>", line 696, in _load
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/hgext/highlight/__init__.py", line 31, in <module>
    from . import highlight
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/hgext/highlight/highlight.py", line 17, in <module>
    from mercurial import (
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/encoding.py", line 14, in <module>
    from .pycompat import getattr
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/pycompat.py", line 134, in <module>
    stdout = sys.stdout.buffer
AttributeError: '_io.StringIO' object has no attribute 'buffer'

======================================================================
ERROR: Failure: AttributeError ('_io.StringIO' object has no attribute 'buffer')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
    raise self.exc_val.with_traceback(self.tb)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/loader.py", line 417, in loadTestsFromName
    addr.filename, addr.module)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 244, in load_module
    return load_package(name, filename)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 216, in load_package
    return _load(spec)
  File "<frozen importlib._bootstrap>", line 696, in _load
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/hgext/infinitepush/__init__.py", line 109, in <module>
    from mercurial.i18n import _
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/i18n.py", line 15, in <module>
    from .pycompat import getattr
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/pycompat.py", line 134, in <module>
    stdout = sys.stdout.buffer
AttributeError: '_io.StringIO' object has no attribute 'buffer'

======================================================================
ERROR: Failure: AttributeError ('_io.StringIO' object has no attribute 'buffer')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
    raise self.exc_val.with_traceback(self.tb)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/loader.py", line 417, in loadTestsFromName
    addr.filename, addr.module)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 244, in load_module
    return load_package(name, filename)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 216, in load_package
    return _load(spec)
  File "<frozen importlib._bootstrap>", line 696, in _load
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/hgext/largefiles/__init__.py", line 109, in <module>
    from mercurial import (
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/cmdutil.py", line 15, in <module>
    from .i18n import _
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/i18n.py", line 15, in <module>
    from .pycompat import getattr
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/pycompat.py", line 134, in <module>
    stdout = sys.stdout.buffer
AttributeError: '_io.StringIO' object has no attribute 'buffer'

======================================================================
ERROR: Failure: AttributeError ('_io.StringIO' object has no attribute 'buffer')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
    raise self.exc_val.with_traceback(self.tb)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/loader.py", line 417, in loadTestsFromName
    addr.filename, addr.module)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 244, in load_module
    return load_package(name, filename)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 216, in load_package
    return _load(spec)
  File "<frozen importlib._bootstrap>", line 696, in _load
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/hgext/lfs/__init__.py", line 127, in <module>
    from mercurial.i18n import _
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/i18n.py", line 15, in <module>
    from .pycompat import getattr
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/pycompat.py", line 134, in <module>
    stdout = sys.stdout.buffer
AttributeError: '_io.StringIO' object has no attribute 'buffer'

======================================================================
ERROR: Failure: AttributeError ('_io.StringIO' object has no attribute 'buffer')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
    raise self.exc_val.with_traceback(self.tb)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/loader.py", line 417, in loadTestsFromName
    addr.filename, addr.module)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 244, in load_module
    return load_package(name, filename)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 216, in load_package
    return _load(spec)
  File "<frozen importlib._bootstrap>", line 696, in _load
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/hgext/narrow/__init__.py", line 17, in <module>
    from mercurial import (
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/localrepo.py", line 18, in <module>
    from .i18n import _
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/i18n.py", line 15, in <module>
    from .pycompat import getattr
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/pycompat.py", line 134, in <module>
    stdout = sys.stdout.buffer
AttributeError: '_io.StringIO' object has no attribute 'buffer'

======================================================================
ERROR: Failure: AttributeError ('_io.StringIO' object has no attribute 'buffer')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
    raise self.exc_val.with_traceback(self.tb)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/loader.py", line 417, in loadTestsFromName
    addr.filename, addr.module)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 244, in load_module
    return load_package(name, filename)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 216, in load_package
    return _load(spec)
  File "<frozen importlib._bootstrap>", line 696, in _load
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/hgext/remotefilelog/__init__.py", line 134, in <module>
    from mercurial.i18n import _
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/i18n.py", line 15, in <module>
    from .pycompat import getattr
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/pycompat.py", line 134, in <module>
    stdout = sys.stdout.buffer
AttributeError: '_io.StringIO' object has no attribute 'buffer'

======================================================================
ERROR: Failure: AttributeError ('_io.StringIO' object has no attribute 'buffer')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
    raise self.exc_val.with_traceback(self.tb)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/loader.py", line 417, in loadTestsFromName
    addr.filename, addr.module)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 244, in load_module
    return load_package(name, filename)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 216, in load_package
    return _load(spec)
  File "<frozen importlib._bootstrap>", line 696, in _load
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/hgext/zeroconf/__init__.py", line 31, in <module>
    from . import Zeroconf
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/hgext/zeroconf/Zeroconf.py", line 92, in <module>
    from mercurial import pycompat
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/pycompat.py", line 134, in <module>
    stdout = sys.stdout.buffer
AttributeError: '_io.StringIO' object has no attribute 'buffer'

======================================================================
ERROR: Failure: AttributeError ('_io.StringIO' object has no attribute 'buffer')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
    raise self.exc_val.with_traceback(self.tb)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/loader.py", line 417, in loadTestsFromName
    addr.filename, addr.module)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 244, in load_module
    return load_package(name, filename)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 216, in load_package
    return _load(spec)
  File "<frozen importlib._bootstrap>", line 696, in _load
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/hgweb/__init__.py", line 13, in <module>
    from ..i18n import _
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/i18n.py", line 15, in <module>
    from .pycompat import getattr
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/pycompat.py", line 134, in <module>
    stdout = sys.stdout.buffer
AttributeError: '_io.StringIO' object has no attribute 'buffer'

======================================================================
ERROR: Failure: SyntaxError (invalid syntax (_base.py, line 416))
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
    raise self.exc_val.with_traceback(self.tb)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/loader.py", line 417, in loadTestsFromName
    addr.filename, addr.module)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 244, in load_module
    return load_package(name, filename)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 216, in load_package
    return _load(spec)
  File "<frozen importlib._bootstrap>", line 696, in _load
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/thirdparty/concurrent/futures/__init__.py", line 10, in <module>
    from ._base import (
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/thirdparty/concurrent/futures/_base.py", line 416
    raise exception_type, self._exception, self._traceback
                        ^
SyntaxError: invalid syntax

======================================================================
ERROR: Failure: AttributeError ('_io.StringIO' object has no attribute 'buffer')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
    raise self.exc_val.with_traceback(self.tb)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/loader.py", line 417, in loadTestsFromName
    addr.filename, addr.module)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 234, in load_module
    return load_source(name, filename, file)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 171, in load_source
    module = _load(spec)
  File "<frozen importlib._bootstrap>", line 696, in _load
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/tests/test-absorb-filefixupstate.py", line 4, in <module>
    from mercurial import pycompat
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/pycompat.py", line 134, in <module>
    stdout = sys.stdout.buffer
AttributeError: '_io.StringIO' object has no attribute 'buffer'

======================================================================
ERROR: Failure: AttributeError ('_io.StringIO' object has no attribute 'buffer')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
    raise self.exc_val.with_traceback(self.tb)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/loader.py", line 417, in loadTestsFromName
    addr.filename, addr.module)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 234, in load_module
    return load_source(name, filename, file)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 171, in load_source
    module = _load(spec)
  File "<frozen importlib._bootstrap>", line 696, in _load
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/tests/test-ancestor.py", line 12, in <module>
    from mercurial import (
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/ancestor.py", line 13, in <module>
    from . import (
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/dagop.py", line 14, in <module>
    from . import (
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/error.py", line 17, in <module>
    from . import pycompat
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/pycompat.py", line 134, in <module>
    stdout = sys.stdout.buffer
AttributeError: '_io.StringIO' object has no attribute 'buffer'

======================================================================
ERROR: Failure: AttributeError ('_io.StringIO' object has no attribute 'buffer')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
    raise self.exc_val.with_traceback(self.tb)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/loader.py", line 417, in loadTestsFromName
    addr.filename, addr.module)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 234, in load_module
    return load_source(name, filename, file)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 171, in load_source
    module = _load(spec)
  File "<frozen importlib._bootstrap>", line 696, in _load
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/tests/test-annotate.py", line 6, in <module>
    from mercurial import (
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/mdiff.py", line 14, in <module>
    from .i18n import _
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/i18n.py", line 15, in <module>
    from .pycompat import getattr
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/pycompat.py", line 134, in <module>
    stdout = sys.stdout.buffer
AttributeError: '_io.StringIO' object has no attribute 'buffer'

======================================================================
ERROR: Failure: AttributeError ('_io.StringIO' object has no attribute 'buffer')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
    raise self.exc_val.with_traceback(self.tb)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/loader.py", line 417, in loadTestsFromName
    addr.filename, addr.module)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 234, in load_module
    return load_source(name, filename, file)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 171, in load_source
    module = _load(spec)
  File "<frozen importlib._bootstrap>", line 696, in _load
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/tests/test-atomictempfile.py", line 10, in <module>
    from mercurial import (
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/pycompat.py", line 134, in <module>
    stdout = sys.stdout.buffer
AttributeError: '_io.StringIO' object has no attribute 'buffer'

======================================================================
ERROR: Failure: AttributeError ('_io.StringIO' object has no attribute 'buffer')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
    raise self.exc_val.with_traceback(self.tb)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/loader.py", line 417, in loadTestsFromName
    addr.filename, addr.module)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 234, in load_module
    return load_source(name, filename, file)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 171, in load_source
    module = _load(spec)
  File "<frozen importlib._bootstrap>", line 696, in _load
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/tests/test-batching.py", line 12, in <module>
    from mercurial import (
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/localrepo.py", line 18, in <module>
    from .i18n import _
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/i18n.py", line 15, in <module>
    from .pycompat import getattr
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/pycompat.py", line 134, in <module>
    stdout = sys.stdout.buffer
AttributeError: '_io.StringIO' object has no attribute 'buffer'

======================================================================
ERROR: Failure: AttributeError ('_io.StringIO' object has no attribute 'buffer')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
    raise self.exc_val.with_traceback(self.tb)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/loader.py", line 417, in loadTestsFromName
    addr.filename, addr.module)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 234, in load_module
    return load_source(name, filename, file)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 171, in load_source
    module = _load(spec)
  File "<frozen importlib._bootstrap>", line 696, in _load
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/tests/test-bdiff.py", line 6, in <module>
    from mercurial import mdiff
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/mdiff.py", line 14, in <module>
    from .i18n import _
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/i18n.py", line 15, in <module>
    from .pycompat import getattr
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/pycompat.py", line 134, in <module>
    stdout = sys.stdout.buffer
AttributeError: '_io.StringIO' object has no attribute 'buffer'

======================================================================
ERROR: Failure: AttributeError ('_io.StringIO' object has no attribute 'buffer')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
    raise self.exc_val.with_traceback(self.tb)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/loader.py", line 417, in loadTestsFromName
    addr.filename, addr.module)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 234, in load_module
    return load_source(name, filename, file)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 171, in load_source
    module = _load(spec)
  File "<frozen importlib._bootstrap>", line 696, in _load
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/tests/test-cappedreader.py", line 6, in <module>
    from mercurial import util
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/util.py", line 38, in <module>
    from .pycompat import (
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/pycompat.py", line 134, in <module>
    stdout = sys.stdout.buffer
AttributeError: '_io.StringIO' object has no attribute 'buffer'

======================================================================
ERROR: Failure: AttributeError ('_io.StringIO' object has no attribute 'buffer')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
    raise self.exc_val.with_traceback(self.tb)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/loader.py", line 417, in loadTestsFromName
    addr.filename, addr.module)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 234, in load_module
    return load_source(name, filename, file)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 171, in load_source
    module = _load(spec)
  File "<frozen importlib._bootstrap>", line 696, in _load
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/tests/test-cbor.py", line 19, in <module>
    from mercurial.utils import cborutil
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/utils/cborutil.py", line 13, in <module>
    from .. import pycompat
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/pycompat.py", line 134, in <module>
    stdout = sys.stdout.buffer
AttributeError: '_io.StringIO' object has no attribute 'buffer'

======================================================================
ERROR: Failure: AttributeError ('_io.StringIO' object has no attribute 'buffer')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
    raise self.exc_val.with_traceback(self.tb)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/loader.py", line 417, in loadTestsFromName
    addr.filename, addr.module)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 234, in load_module
    return load_source(name, filename, file)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 171, in load_source
    module = _load(spec)
  File "<frozen importlib._bootstrap>", line 696, in _load
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/tests/test-check-interfaces.py", line 5, in <module>
    from mercurial import encoding
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/encoding.py", line 14, in <module>
    from .pycompat import getattr
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/pycompat.py", line 134, in <module>
    stdout = sys.stdout.buffer
AttributeError: '_io.StringIO' object has no attribute 'buffer'

======================================================================
ERROR: Failure: AttributeError ('_io.StringIO' object has no attribute 'buffer')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
    raise self.exc_val.with_traceback(self.tb)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/loader.py", line 417, in loadTestsFromName
    addr.filename, addr.module)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 234, in load_module
    return load_source(name, filename, file)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 171, in load_source
    module = _load(spec)
  File "<frozen importlib._bootstrap>", line 696, in _load
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/tests/test-config-env.py", line 7, in <module>
    from mercurial import (
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/encoding.py", line 14, in <module>
    from .pycompat import getattr
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/pycompat.py", line 134, in <module>
    stdout = sys.stdout.buffer
AttributeError: '_io.StringIO' object has no attribute 'buffer'

======================================================================
ERROR: Failure: AttributeError ('_io.StringIO' object has no attribute 'buffer')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
    raise self.exc_val.with_traceback(self.tb)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/loader.py", line 417, in loadTestsFromName
    addr.filename, addr.module)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 234, in load_module
    return load_source(name, filename, file)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 171, in load_source
    module = _load(spec)
  File "<frozen importlib._bootstrap>", line 696, in _load
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/tests/test-context.py", line 6, in <module>
    from mercurial import (
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/context.py", line 15, in <module>
    from .i18n import _
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/i18n.py", line 15, in <module>
    from .pycompat import getattr
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/pycompat.py", line 134, in <module>
    stdout = sys.stdout.buffer
AttributeError: '_io.StringIO' object has no attribute 'buffer'

======================================================================
ERROR: Failure: KeyError ('TESTDIR')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
    raise self.exc_val.with_traceback(self.tb)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/loader.py", line 417, in loadTestsFromName
    addr.filename, addr.module)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 234, in load_module
    return load_source(name, filename, file)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 171, in load_source
    module = _load(spec)
  File "<frozen importlib._bootstrap>", line 696, in _load
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/tests/test-demandimport.py", line 17, in <module>
    ['python', '%s/hghave' % os.environ['TESTDIR'], 'demandimport']
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/os.py", line 678, in __getitem__
    raise KeyError(key) from None
KeyError: 'TESTDIR'

======================================================================
ERROR: Failure: AttributeError ('_io.StringIO' object has no attribute 'buffer')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
    raise self.exc_val.with_traceback(self.tb)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/loader.py", line 417, in loadTestsFromName
    addr.filename, addr.module)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 234, in load_module
    return load_source(name, filename, file)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 171, in load_source
    module = _load(spec)
  File "<frozen importlib._bootstrap>", line 696, in _load
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/tests/test-dispatch.py", line 4, in <module>
    from mercurial import dispatch
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/dispatch.py", line 22, in <module>
    from .i18n import _
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/i18n.py", line 15, in <module>
    from .pycompat import getattr
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/pycompat.py", line 134, in <module>
    stdout = sys.stdout.buffer
AttributeError: '_io.StringIO' object has no attribute 'buffer'

======================================================================
ERROR: Failure: AttributeError ('_io.StringIO' object has no attribute 'buffer')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
    raise self.exc_val.with_traceback(self.tb)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/loader.py", line 417, in loadTestsFromName
    addr.filename, addr.module)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 234, in load_module
    return load_source(name, filename, file)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 171, in load_source
    module = _load(spec)
  File "<frozen importlib._bootstrap>", line 696, in _load
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/tests/test-doctest.py", line 52, in <module>
    testmod('mercurial.changegroup')
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/tests/test-doctest.py", line 36, in testmod
    __import__(name)
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/changegroup.py", line 14, in <module>
    from .i18n import _
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/i18n.py", line 15, in <module>
    from .pycompat import getattr
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/pycompat.py", line 134, in <module>
    stdout = sys.stdout.buffer
AttributeError: '_io.StringIO' object has no attribute 'buffer'

======================================================================
ERROR: Failure: AttributeError ('_io.StringIO' object has no attribute 'buffer')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
    raise self.exc_val.with_traceback(self.tb)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/loader.py", line 417, in loadTestsFromName
    addr.filename, addr.module)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 234, in load_module
    return load_source(name, filename, file)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 171, in load_source
    module = _load(spec)
  File "<frozen importlib._bootstrap>", line 696, in _load
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/tests/test-duplicateoptions.py", line 3, in <module>
    from mercurial import (
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/commands.py", line 16, in <module>
    from .i18n import _
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/i18n.py", line 15, in <module>
    from .pycompat import getattr
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/pycompat.py", line 134, in <module>
    stdout = sys.stdout.buffer
AttributeError: '_io.StringIO' object has no attribute 'buffer'

======================================================================
ERROR: Failure: AttributeError ('_io.StringIO' object has no attribute 'buffer')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
    raise self.exc_val.with_traceback(self.tb)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/loader.py", line 417, in loadTestsFromName
    addr.filename, addr.module)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 234, in load_module
    return load_source(name, filename, file)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 171, in load_source
    module = _load(spec)
  File "<frozen importlib._bootstrap>", line 696, in _load
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/tests/test-encoding-func.py", line 5, in <module>
    from mercurial import encoding
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/encoding.py", line 14, in <module>
    from .pycompat import getattr
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/pycompat.py", line 134, in <module>
    stdout = sys.stdout.buffer
AttributeError: '_io.StringIO' object has no attribute 'buffer'

======================================================================
ERROR: Failure: AttributeError ('_io.StringIO' object has no attribute 'buffer')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
    raise self.exc_val.with_traceback(self.tb)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/loader.py", line 417, in loadTestsFromName
    addr.filename, addr.module)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 234, in load_module
    return load_source(name, filename, file)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 171, in load_source
    module = _load(spec)
  File "<frozen importlib._bootstrap>", line 696, in _load
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/tests/test-extensions-wrapfunction.py", line 3, in <module>
    from mercurial import extensions
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/extensions.py", line 17, in <module>
    from .i18n import (
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/i18n.py", line 15, in <module>
    from .pycompat import getattr
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/pycompat.py", line 134, in <module>
    stdout = sys.stdout.buffer
AttributeError: '_io.StringIO' object has no attribute 'buffer'

======================================================================
ERROR: Failure: AttributeError ('_io.StringIO' object has no attribute 'buffer')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
    raise self.exc_val.with_traceback(self.tb)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/loader.py", line 417, in loadTestsFromName
    addr.filename, addr.module)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 234, in load_module
    return load_source(name, filename, file)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 171, in load_source
    module = _load(spec)
  File "<frozen importlib._bootstrap>", line 696, in _load
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/tests/test-fastannotate-revmap.py", line 6, in <module>
    from mercurial import (
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/pycompat.py", line 134, in <module>
    stdout = sys.stdout.buffer
AttributeError: '_io.StringIO' object has no attribute 'buffer'

======================================================================
ERROR: Failure: KeyError ('TESTDIR')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
    raise self.exc_val.with_traceback(self.tb)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/loader.py", line 417, in loadTestsFromName
    addr.filename, addr.module)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 234, in load_module
    return load_source(name, filename, file)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 171, in load_source
    module = _load(spec)
  File "<frozen importlib._bootstrap>", line 696, in _load
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/tests/test-filecache.py", line 8, in <module>
    ['python', '%s/hghave' % os.environ['TESTDIR'], 'cacheable']
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/os.py", line 678, in __getitem__
    raise KeyError(key) from None
KeyError: 'TESTDIR'

======================================================================
ERROR: Failure: AttributeError ('_io.StringIO' object has no attribute 'buffer')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
    raise self.exc_val.with_traceback(self.tb)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/loader.py", line 417, in loadTestsFromName
    addr.filename, addr.module)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 234, in load_module
    return load_source(name, filename, file)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 171, in load_source
    module = _load(spec)
  File "<frozen importlib._bootstrap>", line 696, in _load
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/tests/test-hg-parseurl.py", line 5, in <module>
    from mercurial import hg
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/hg.py", line 17, in <module>
    from .i18n import _
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/i18n.py", line 15, in <module>
    from .pycompat import getattr
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/pycompat.py", line 134, in <module>
    stdout = sys.stdout.buffer
AttributeError: '_io.StringIO' object has no attribute 'buffer'

======================================================================
ERROR: Failure: AttributeError ('_io.StringIO' object has no attribute 'buffer')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
    raise self.exc_val.with_traceback(self.tb)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/loader.py", line 417, in loadTestsFromName
    addr.filename, addr.module)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 234, in load_module
    return load_source(name, filename, file)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 171, in load_source
    module = _load(spec)
  File "<frozen importlib._bootstrap>", line 696, in _load
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/tests/test-hgweb-auth.py", line 6, in <module>
    from mercurial import (
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/error.py", line 17, in <module>
    from . import pycompat
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/pycompat.py", line 134, in <module>
    stdout = sys.stdout.buffer
AttributeError: '_io.StringIO' object has no attribute 'buffer'

======================================================================
ERROR: Failure: AttributeError ('_io.StringIO' object has no attribute 'buffer')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
    raise self.exc_val.with_traceback(self.tb)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/loader.py", line 417, in loadTestsFromName
    addr.filename, addr.module)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 234, in load_module
    return load_source(name, filename, file)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 171, in load_source
    module = _load(spec)
  File "<frozen importlib._bootstrap>", line 696, in _load
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/tests/test-hgwebdir-paths.py", line 4, in <module>
    from mercurial import (
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/hg.py", line 17, in <module>
    from .i18n import _
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/i18n.py", line 15, in <module>
    from .pycompat import getattr
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/pycompat.py", line 134, in <module>
    stdout = sys.stdout.buffer
AttributeError: '_io.StringIO' object has no attribute 'buffer'

======================================================================
ERROR: Failure: AttributeError ('_io.StringIO' object has no attribute 'buffer')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
    raise self.exc_val.with_traceback(self.tb)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/loader.py", line 417, in loadTestsFromName
    addr.filename, addr.module)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 234, in load_module
    return load_source(name, filename, file)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 171, in load_source
    module = _load(spec)
  File "<frozen importlib._bootstrap>", line 696, in _load
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/tests/test-hybridencode.py", line 5, in <module>
    from mercurial import store
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/store.py", line 16, in <module>
    from .i18n import _
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/i18n.py", line 15, in <module>
    from .pycompat import getattr
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/pycompat.py", line 134, in <module>
    stdout = sys.stdout.buffer
AttributeError: '_io.StringIO' object has no attribute 'buffer'

======================================================================
ERROR: Failure: AttributeError ('_io.StringIO' object has no attribute 'buffer')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
    raise self.exc_val.with_traceback(self.tb)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/loader.py", line 417, in loadTestsFromName
    addr.filename, addr.module)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 234, in load_module
    return load_source(name, filename, file)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 171, in load_source
    module = _load(spec)
  File "<frozen importlib._bootstrap>", line 696, in _load
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/tests/test-lfs-pointer.py", line 4, in <module>
    from mercurial import pycompat
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/pycompat.py", line 134, in <module>
    stdout = sys.stdout.buffer
AttributeError: '_io.StringIO' object has no attribute 'buffer'

======================================================================
ERROR: Failure: AttributeError ('_io.StringIO' object has no attribute 'buffer')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
    raise self.exc_val.with_traceback(self.tb)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/loader.py", line 417, in loadTestsFromName
    addr.filename, addr.module)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 234, in load_module
    return load_source(name, filename, file)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 171, in load_source
    module = _load(spec)
  File "<frozen importlib._bootstrap>", line 696, in _load
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/tests/test-linelog.py", line 7, in <module>
    from mercurial import linelog
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/linelog.py", line 27, in <module>
    from . import pycompat
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/pycompat.py", line 134, in <module>
    stdout = sys.stdout.buffer
AttributeError: '_io.StringIO' object has no attribute 'buffer'

======================================================================
ERROR: Failure: AttributeError ('_io.StringIO' object has no attribute 'buffer')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
    raise self.exc_val.with_traceback(self.tb)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/loader.py", line 417, in loadTestsFromName
    addr.filename, addr.module)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 234, in load_module
    return load_source(name, filename, file)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 171, in load_source
    module = _load(spec)
  File "<frozen importlib._bootstrap>", line 696, in _load
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/tests/test-linerange.py", line 4, in <module>
    from mercurial import error, mdiff
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/error.py", line 17, in <module>
    from . import pycompat
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/pycompat.py", line 134, in <module>
    stdout = sys.stdout.buffer
AttributeError: '_io.StringIO' object has no attribute 'buffer'

======================================================================
ERROR: Failure: AttributeError ('_io.StringIO' object has no attribute 'buffer')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
    raise self.exc_val.with_traceback(self.tb)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/loader.py", line 417, in loadTestsFromName
    addr.filename, addr.module)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 234, in load_module
    return load_source(name, filename, file)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 171, in load_source
    module = _load(spec)
  File "<frozen importlib._bootstrap>", line 696, in _load
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/tests/test-lock.py", line 11, in <module>
    from mercurial import (
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/encoding.py", line 14, in <module>
    from .pycompat import getattr
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/pycompat.py", line 134, in <module>
    stdout = sys.stdout.buffer
AttributeError: '_io.StringIO' object has no attribute 'buffer'

======================================================================
ERROR: Failure: AttributeError ('_io.StringIO' object has no attribute 'buffer')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
    raise self.exc_val.with_traceback(self.tb)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/loader.py", line 417, in loadTestsFromName
    addr.filename, addr.module)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 234, in load_module
    return load_source(name, filename, file)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 171, in load_source
    module = _load(spec)
  File "<frozen importlib._bootstrap>", line 696, in _load
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/tests/test-lrucachedict.py", line 7, in <module>
    from mercurial import util
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/util.py", line 38, in <module>
    from .pycompat import (
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/pycompat.py", line 134, in <module>
    stdout = sys.stdout.buffer
AttributeError: '_io.StringIO' object has no attribute 'buffer'

======================================================================
ERROR: Failure: AttributeError ('_io.StringIO' object has no attribute 'buffer')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
    raise self.exc_val.with_traceback(self.tb)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/loader.py", line 417, in loadTestsFromName
    addr.filename, addr.module)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 234, in load_module
    return load_source(name, filename, file)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 171, in load_source
    module = _load(spec)
  File "<frozen importlib._bootstrap>", line 696, in _load
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/tests/test-manifest.py", line 9, in <module>
    from mercurial import (
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/manifest.py", line 15, in <module>
    from .i18n import _
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/i18n.py", line 15, in <module>
    from .pycompat import getattr
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/pycompat.py", line 134, in <module>
    stdout = sys.stdout.buffer
AttributeError: '_io.StringIO' object has no attribute 'buffer'

======================================================================
ERROR: Failure: AttributeError ('_io.StringIO' object has no attribute 'buffer')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
    raise self.exc_val.with_traceback(self.tb)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/loader.py", line 417, in loadTestsFromName
    addr.filename, addr.module)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 234, in load_module
    return load_source(name, filename, file)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 171, in load_source
    module = _load(spec)
  File "<frozen importlib._bootstrap>", line 696, in _load
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/tests/test-match.py", line 7, in <module>
    from mercurial import (
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/match.py", line 15, in <module>
    from .i18n import _
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/i18n.py", line 15, in <module>
    from .pycompat import getattr
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/pycompat.py", line 134, in <module>
    stdout = sys.stdout.buffer
AttributeError: '_io.StringIO' object has no attribute 'buffer'

======================================================================
ERROR: Failure: AttributeError ('_io.StringIO' object has no attribute 'buffer')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
    raise self.exc_val.with_traceback(self.tb)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/loader.py", line 417, in loadTestsFromName
    addr.filename, addr.module)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 234, in load_module
    return load_source(name, filename, file)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 171, in load_source
    module = _load(spec)
  File "<frozen importlib._bootstrap>", line 696, in _load
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/tests/test-mdiff.py", line 6, in <module>
    from mercurial import mdiff
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/mdiff.py", line 14, in <module>
    from .i18n import _
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/i18n.py", line 15, in <module>
    from .pycompat import getattr
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/pycompat.py", line 134, in <module>
    stdout = sys.stdout.buffer
AttributeError: '_io.StringIO' object has no attribute 'buffer'

======================================================================
ERROR: Failure: AttributeError ('_io.StringIO' object has no attribute 'buffer')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
    raise self.exc_val.with_traceback(self.tb)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/loader.py", line 417, in loadTestsFromName
    addr.filename, addr.module)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 234, in load_module
    return load_source(name, filename, file)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 171, in load_source
    module = _load(spec)
  File "<frozen importlib._bootstrap>", line 696, in _load
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/tests/test-minifileset.py", line 4, in <module>
    from mercurial import minifileset
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/minifileset.py", line 10, in <module>
    from .i18n import _
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/i18n.py", line 15, in <module>
    from .pycompat import getattr
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/pycompat.py", line 134, in <module>
    stdout = sys.stdout.buffer
AttributeError: '_io.StringIO' object has no attribute 'buffer'

======================================================================
ERROR: Failure: AttributeError ('_io.StringIO' object has no attribute 'buffer')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
    raise self.exc_val.with_traceback(self.tb)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/loader.py", line 417, in loadTestsFromName
    addr.filename, addr.module)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 234, in load_module
    return load_source(name, filename, file)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 171, in load_source
    module = _load(spec)
  File "<frozen importlib._bootstrap>", line 696, in _load
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/tests/test-minirst.py", line 2, in <module>
    from mercurial import minirst
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/minirst.py", line 25, in <module>
    from .i18n import _
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/i18n.py", line 15, in <module>
    from .pycompat import getattr
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/pycompat.py", line 134, in <module>
    stdout = sys.stdout.buffer
AttributeError: '_io.StringIO' object has no attribute 'buffer'

======================================================================
ERROR: Failure: AttributeError ('_io.StringIO' object has no attribute 'buffer')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
    raise self.exc_val.with_traceback(self.tb)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/loader.py", line 417, in loadTestsFromName
    addr.filename, addr.module)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 234, in load_module
    return load_source(name, filename, file)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 171, in load_source
    module = _load(spec)
  File "<frozen importlib._bootstrap>", line 696, in _load
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/tests/test-parseindex2.py", line 17, in <module>
    from mercurial import (
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/policy.py", line 13, in <module>
    from .pycompat import getattr
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/pycompat.py", line 134, in <module>
    stdout = sys.stdout.buffer
AttributeError: '_io.StringIO' object has no attribute 'buffer'

======================================================================
ERROR: Failure: AttributeError ('_io.StringIO' object has no attribute 'buffer')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
    raise self.exc_val.with_traceback(self.tb)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/loader.py", line 417, in loadTestsFromName
    addr.filename, addr.module)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 234, in load_module
    return load_source(name, filename, file)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 171, in load_source
    module = _load(spec)
  File "<frozen importlib._bootstrap>", line 696, in _load
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/tests/test-pathencode.py", line 18, in <module>
    from mercurial import (
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/pycompat.py", line 134, in <module>
    stdout = sys.stdout.buffer
AttributeError: '_io.StringIO' object has no attribute 'buffer'

======================================================================
ERROR: Failure: AttributeError ('_io.StringIO' object has no attribute 'buffer')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
    raise self.exc_val.with_traceback(self.tb)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/loader.py", line 417, in loadTestsFromName
    addr.filename, addr.module)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 234, in load_module
    return load_source(name, filename, file)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 171, in load_source
    module = _load(spec)
  File "<frozen importlib._bootstrap>", line 696, in _load
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/tests/test-propertycache.py", line 11, in <module>
    from mercurial import (
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/hg.py", line 17, in <module>
    from .i18n import _
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/i18n.py", line 15, in <module>
    from .pycompat import getattr
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/pycompat.py", line 134, in <module>
    stdout = sys.stdout.buffer
AttributeError: '_io.StringIO' object has no attribute 'buffer'

======================================================================
ERROR: Failure: AttributeError ('_io.StringIO' object has no attribute 'buffer')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
    raise self.exc_val.with_traceback(self.tb)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/loader.py", line 417, in loadTestsFromName
    addr.filename, addr.module)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 234, in load_module
    return load_source(name, filename, file)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 171, in load_source
    module = _load(spec)
  File "<frozen importlib._bootstrap>", line 696, in _load
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/tests/test-revlog-ancestry.py", line 3, in <module>
    from mercurial import (
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/hg.py", line 17, in <module>
    from .i18n import _
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/i18n.py", line 15, in <module>
    from .pycompat import getattr
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/pycompat.py", line 134, in <module>
    stdout = sys.stdout.buffer
AttributeError: '_io.StringIO' object has no attribute 'buffer'

======================================================================
ERROR: Failure: AttributeError ('_io.StringIO' object has no attribute 'buffer')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
    raise self.exc_val.with_traceback(self.tb)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/loader.py", line 417, in loadTestsFromName
    addr.filename, addr.module)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 234, in load_module
    return load_source(name, filename, file)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 171, in load_source
    module = _load(spec)
  File "<frozen importlib._bootstrap>", line 696, in _load
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/tests/test-revlog-raw.py", line 9, in <module>
    from mercurial import (
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/encoding.py", line 14, in <module>
    from .pycompat import getattr
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/pycompat.py", line 134, in <module>
    stdout = sys.stdout.buffer
AttributeError: '_io.StringIO' object has no attribute 'buffer'

======================================================================
ERROR: Failure: AttributeError ('_io.StringIO' object has no attribute 'buffer')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
    raise self.exc_val.with_traceback(self.tb)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/loader.py", line 417, in loadTestsFromName
    addr.filename, addr.module)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 234, in load_module
    return load_source(name, filename, file)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 171, in load_source
    module = _load(spec)
  File "<frozen importlib._bootstrap>", line 696, in _load
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/tests/test-rust-ancestor.py", line 5, in <module>
    from mercurial import (
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/error.py", line 17, in <module>
    from . import pycompat
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/pycompat.py", line 134, in <module>
    stdout = sys.stdout.buffer
AttributeError: '_io.StringIO' object has no attribute 'buffer'

======================================================================
ERROR: Failure: AttributeError ('_io.StringIO' object has no attribute 'buffer')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
    raise self.exc_val.with_traceback(self.tb)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/loader.py", line 417, in loadTestsFromName
    addr.filename, addr.module)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 234, in load_module
    return load_source(name, filename, file)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 171, in load_source
    module = _load(spec)
  File "<frozen importlib._bootstrap>", line 696, in _load
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/tests/test-rust-discovery.py", line 4, in <module>
    from mercurial import policy
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/policy.py", line 13, in <module>
    from .pycompat import getattr
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/pycompat.py", line 134, in <module>
    stdout = sys.stdout.buffer
AttributeError: '_io.StringIO' object has no attribute 'buffer'

======================================================================
ERROR: Failure: AttributeError ('_io.StringIO' object has no attribute 'buffer')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
    raise self.exc_val.with_traceback(self.tb)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/loader.py", line 417, in loadTestsFromName
    addr.filename, addr.module)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 234, in load_module
    return load_source(name, filename, file)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 171, in load_source
    module = _load(spec)
  File "<frozen importlib._bootstrap>", line 696, in _load
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/tests/test-simplekeyvaluefile.py", line 6, in <module>
    from mercurial import (
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/error.py", line 17, in <module>
    from . import pycompat
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/pycompat.py", line 134, in <module>
    stdout = sys.stdout.buffer
AttributeError: '_io.StringIO' object has no attribute 'buffer'

======================================================================
ERROR: Failure: AttributeError ('_io.StringIO' object has no attribute 'buffer')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
    raise self.exc_val.with_traceback(self.tb)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/loader.py", line 417, in loadTestsFromName
    addr.filename, addr.module)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 234, in load_module
    return load_source(name, filename, file)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 171, in load_source
    module = _load(spec)
  File "<frozen importlib._bootstrap>", line 696, in _load
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/tests/test-simplemerge.py", line 19, in <module>
    from mercurial import (
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/error.py", line 17, in <module>
    from . import pycompat
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/pycompat.py", line 134, in <module>
    stdout = sys.stdout.buffer
AttributeError: '_io.StringIO' object has no attribute 'buffer'

======================================================================
ERROR: Failure: AttributeError ('_io.StringIO' object has no attribute 'buffer')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
    raise self.exc_val.with_traceback(self.tb)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/loader.py", line 417, in loadTestsFromName
    addr.filename, addr.module)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 234, in load_module
    return load_source(name, filename, file)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 171, in load_source
    module = _load(spec)
  File "<frozen importlib._bootstrap>", line 696, in _load
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/tests/test-sshserver.py", line 8, in <module>
    from mercurial import (
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/wireprotoserver.py", line 14, in <module>
    from .i18n import _
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/i18n.py", line 15, in <module>
    from .pycompat import getattr
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/pycompat.py", line 134, in <module>
    stdout = sys.stdout.buffer
AttributeError: '_io.StringIO' object has no attribute 'buffer'

======================================================================
ERROR: Failure: AttributeError ('_io.StringIO' object has no attribute 'buffer')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
    raise self.exc_val.with_traceback(self.tb)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/loader.py", line 417, in loadTestsFromName
    addr.filename, addr.module)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 234, in load_module
    return load_source(name, filename, file)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 171, in load_source
    module = _load(spec)
  File "<frozen importlib._bootstrap>", line 696, in _load
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/tests/test-storage.py", line 7, in <module>
    from mercurial import (
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/error.py", line 17, in <module>
    from . import pycompat
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/pycompat.py", line 134, in <module>
    stdout = sys.stdout.buffer
AttributeError: '_io.StringIO' object has no attribute 'buffer'

======================================================================
ERROR: Failure: AttributeError ('_io.StringIO' object has no attribute 'buffer')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
    raise self.exc_val.with_traceback(self.tb)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/loader.py", line 417, in loadTestsFromName
    addr.filename, addr.module)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 234, in load_module
    return load_source(name, filename, file)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 171, in load_source
    module = _load(spec)
  File "<frozen importlib._bootstrap>", line 696, in _load
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/tests/test-symlink-os-yes-fs-no.py", line 6, in <module>
    from mercurial import (
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/commands.py", line 16, in <module>
    from .i18n import _
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/i18n.py", line 15, in <module>
    from .pycompat import getattr
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/pycompat.py", line 134, in <module>
    stdout = sys.stdout.buffer
AttributeError: '_io.StringIO' object has no attribute 'buffer'

======================================================================
ERROR: Failure: AttributeError ('_io.StringIO' object has no attribute 'buffer')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
    raise self.exc_val.with_traceback(self.tb)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/loader.py", line 417, in loadTestsFromName
    addr.filename, addr.module)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 234, in load_module
    return load_source(name, filename, file)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 171, in load_source
    module = _load(spec)
  File "<frozen importlib._bootstrap>", line 696, in _load
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/tests/test-trusted.py", line 10, in <module>
    from mercurial import (
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/error.py", line 17, in <module>
    from . import pycompat
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/pycompat.py", line 134, in <module>
    stdout = sys.stdout.buffer
AttributeError: '_io.StringIO' object has no attribute 'buffer'

======================================================================
ERROR: Failure: AttributeError ('_io.StringIO' object has no attribute 'buffer')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
    raise self.exc_val.with_traceback(self.tb)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/loader.py", line 417, in loadTestsFromName
    addr.filename, addr.module)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 234, in load_module
    return load_source(name, filename, file)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 171, in load_source
    module = _load(spec)
  File "<frozen importlib._bootstrap>", line 696, in _load
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/tests/test-ui-color.py", line 4, in <module>
    from mercurial import (
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/dispatch.py", line 22, in <module>
    from .i18n import _
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/i18n.py", line 15, in <module>
    from .pycompat import getattr
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/pycompat.py", line 134, in <module>
    stdout = sys.stdout.buffer
AttributeError: '_io.StringIO' object has no attribute 'buffer'

======================================================================
ERROR: Failure: AttributeError ('_io.StringIO' object has no attribute 'buffer')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
    raise self.exc_val.with_traceback(self.tb)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/loader.py", line 417, in loadTestsFromName
    addr.filename, addr.module)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 234, in load_module
    return load_source(name, filename, file)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 171, in load_source
    module = _load(spec)
  File "<frozen importlib._bootstrap>", line 696, in _load
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/tests/test-ui-config.py", line 2, in <module>
    from mercurial import (
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/dispatch.py", line 22, in <module>
    from .i18n import _
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/i18n.py", line 15, in <module>
    from .pycompat import getattr
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/pycompat.py", line 134, in <module>
    stdout = sys.stdout.buffer
AttributeError: '_io.StringIO' object has no attribute 'buffer'

======================================================================
ERROR: Failure: AttributeError ('_io.StringIO' object has no attribute 'buffer')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
    raise self.exc_val.with_traceback(self.tb)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/loader.py", line 417, in loadTestsFromName
    addr.filename, addr.module)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 234, in load_module
    return load_source(name, filename, file)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 171, in load_source
    module = _load(spec)
  File "<frozen importlib._bootstrap>", line 696, in _load
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/tests/test-ui-verbosity.py", line 4, in <module>
    from mercurial import (
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/pycompat.py", line 134, in <module>
    stdout = sys.stdout.buffer
AttributeError: '_io.StringIO' object has no attribute 'buffer'

======================================================================
ERROR: Failure: AttributeError ('_io.StringIO' object has no attribute 'buffer')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
    raise self.exc_val.with_traceback(self.tb)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/loader.py", line 417, in loadTestsFromName
    addr.filename, addr.module)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 234, in load_module
    return load_source(name, filename, file)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 171, in load_source
    module = _load(spec)
  File "<frozen importlib._bootstrap>", line 696, in _load
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/tests/test-url.py", line 17, in <module>
    from mercurial import sslutil
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/sslutil.py", line 17, in <module>
    from .i18n import _
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/i18n.py", line 15, in <module>
    from .pycompat import getattr
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/pycompat.py", line 134, in <module>
    stdout = sys.stdout.buffer
AttributeError: '_io.StringIO' object has no attribute 'buffer'

======================================================================
ERROR: Failure: AttributeError ('_io.StringIO' object has no attribute 'buffer')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
    raise self.exc_val.with_traceback(self.tb)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/loader.py", line 417, in loadTestsFromName
    addr.filename, addr.module)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 234, in load_module
    return load_source(name, filename, file)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 171, in load_source
    module = _load(spec)
  File "<frozen importlib._bootstrap>", line 696, in _load
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/tests/test-util.py", line 8, in <module>
    from mercurial import pycompat, util, utils
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/pycompat.py", line 134, in <module>
    stdout = sys.stdout.buffer
AttributeError: '_io.StringIO' object has no attribute 'buffer'

======================================================================
ERROR: Failure: KeyError ('TESTDIR')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
    raise self.exc_val.with_traceback(self.tb)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/loader.py", line 417, in loadTestsFromName
    addr.filename, addr.module)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 234, in load_module
    return load_source(name, filename, file)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 171, in load_source
    module = _load(spec)
  File "<frozen importlib._bootstrap>", line 696, in _load
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/tests/test-verify-repo-operations.py", line 14, in <module>
    if subprocess.call(['python', '%s/hghave' % os.environ['TESTDIR'], 'slow']):
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/os.py", line 678, in __getitem__
    raise KeyError(key) from None
KeyError: 'TESTDIR'

======================================================================
ERROR: Failure: AttributeError ('_io.StringIO' object has no attribute 'buffer')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
    raise self.exc_val.with_traceback(self.tb)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/loader.py", line 417, in loadTestsFromName
    addr.filename, addr.module)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 234, in load_module
    return load_source(name, filename, file)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 171, in load_source
    module = _load(spec)
  File "<frozen importlib._bootstrap>", line 696, in _load
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/tests/test-walkrepo.py", line 5, in <module>
    from mercurial import (
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/hg.py", line 17, in <module>
    from .i18n import _
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/i18n.py", line 15, in <module>
    from .pycompat import getattr
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/pycompat.py", line 134, in <module>
    stdout = sys.stdout.buffer
AttributeError: '_io.StringIO' object has no attribute 'buffer'

======================================================================
ERROR: Failure: AttributeError ('_io.StringIO' object has no attribute 'buffer')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
    raise self.exc_val.with_traceback(self.tb)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/loader.py", line 417, in loadTestsFromName
    addr.filename, addr.module)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 234, in load_module
    return load_source(name, filename, file)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 171, in load_source
    module = _load(spec)
  File "<frozen importlib._bootstrap>", line 696, in _load
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/tests/test-wireproto-clientreactor.py", line 7, in <module>
    from mercurial import (
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/error.py", line 17, in <module>
    from . import pycompat
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/pycompat.py", line 134, in <module>
    stdout = sys.stdout.buffer
AttributeError: '_io.StringIO' object has no attribute 'buffer'

======================================================================
ERROR: Failure: AttributeError ('_io.StringIO' object has no attribute 'buffer')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
    raise self.exc_val.with_traceback(self.tb)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/loader.py", line 417, in loadTestsFromName
    addr.filename, addr.module)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 234, in load_module
    return load_source(name, filename, file)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 171, in load_source
    module = _load(spec)
  File "<frozen importlib._bootstrap>", line 696, in _load
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/tests/test-wireproto-framing.py", line 5, in <module>
    from mercurial import (
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/util.py", line 38, in <module>
    from .pycompat import (
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/pycompat.py", line 134, in <module>
    stdout = sys.stdout.buffer
AttributeError: '_io.StringIO' object has no attribute 'buffer'

======================================================================
ERROR: Failure: AttributeError ('_io.StringIO' object has no attribute 'buffer')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
    raise self.exc_val.with_traceback(self.tb)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/loader.py", line 417, in loadTestsFromName
    addr.filename, addr.module)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 234, in load_module
    return load_source(name, filename, file)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 171, in load_source
    module = _load(spec)
  File "<frozen importlib._bootstrap>", line 696, in _load
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/tests/test-wireproto-serverreactor.py", line 5, in <module>
    from mercurial import (
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/ui.py", line 23, in <module>
    from .i18n import _
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/i18n.py", line 15, in <module>
    from .pycompat import getattr
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/pycompat.py", line 134, in <module>
    stdout = sys.stdout.buffer
AttributeError: '_io.StringIO' object has no attribute 'buffer'

======================================================================
ERROR: Failure: AttributeError ('_io.StringIO' object has no attribute 'buffer')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
    raise self.exc_val.with_traceback(self.tb)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/loader.py", line 417, in loadTestsFromName
    addr.filename, addr.module)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 234, in load_module
    return load_source(name, filename, file)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 171, in load_source
    module = _load(spec)
  File "<frozen importlib._bootstrap>", line 696, in _load
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/tests/test-wireproto.py", line 5, in <module>
    from mercurial import (
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/error.py", line 17, in <module>
    from . import pycompat
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/pycompat.py", line 134, in <module>
    stdout = sys.stdout.buffer
AttributeError: '_io.StringIO' object has no attribute 'buffer'

======================================================================
ERROR: Failure: AttributeError ('_io.StringIO' object has no attribute 'buffer')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
    raise self.exc_val.with_traceback(self.tb)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/loader.py", line 417, in loadTestsFromName
    addr.filename, addr.module)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/gnu/store/i1wn477829w4b5pymm0gbrdvl5xj0gwi-profile/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 234, in load_module
    return load_source(name, filename, file)
  File "/gnu/store/9ikb5gyrjvhmggkmxf18mapzxqfcgxjl-python-3.7.4/lib/python3.7/imp.py", line 171, in load_source
    module = _load(spec)
  File "<frozen importlib._bootstrap>", line 696, in _load
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/tests/test-wsgirequest.py", line 5, in <module>
    from mercurial.hgweb import request as requestmod
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/hgweb/__init__.py", line 13, in <module>
    from ..i18n import _
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/i18n.py", line 15, in <module>
    from .pycompat import getattr
  File "/home/lafrenierejm/source/org.mercurial-scm.www/hg-stable/mercurial/pycompat.py", line 134, in <module>
    stdout = sys.stdout.buffer
AttributeError: '_io.StringIO' object has no attribute 'buffer'

----------------------------------------------------------------------
Ran 70 tests in 0.232s

FAILED (errors=70)

  reply	other threads:[~2020-01-05  6:17 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-30 21:56 [bug#38824] [PATCH] gnu: mercurial: Update to 5.2.1 Roel Janssen
2020-01-03 23:02 ` Brett Gilio
2020-01-04  7:13   ` Roel Janssen
2020-01-05  6:15     ` LaFreniere, Joseph [this message]
2020-01-05  8:29       ` Ricardo Wurmus
2020-01-06  2:06         ` Brett Gilio
2020-01-07 21:00           ` Roel Janssen
2020-01-11  1:54             ` bug#38824: " Brett Gilio
2020-01-06 17:55         ` [bug#38824] " Marius Bakke

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87h81ah1in.fsf@lafreniere.xyz \
    --to=joseph@lafreniere.xyz \
    --cc=38824@debbugs.gnu.org \
    --cc=brettg@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).