This revision was automatically updated to reflect the committed changes.
Closed by commit rHG42f3a277c8dc: tests: fix printenv script on Python 3
(authored by durin42, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D3725?vs=9037&id=9046
REVISION DETAIL
https://phab.mercurial-scm.org/D3725
AFFECTED FILES
tests/printenv.py
CHANGE DETAILS
diff --git a/tests/printenv.py b/tests/printenv.py
--- a/tests/printenv.py
+++ b/tests/printenv.py
@@ -26,6 +26,7 @@
exitcode = 0
out = sys.stdout
+out = getattr(out, 'buffer', out)
name = sys.argv[1]
if len(sys.argv) > 2:
To: durin42, #hg-reviewers
Cc: mercurial-devel
___
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel