diff tests/test-check-py3-commands.t @ 30348:9df29b7c62cf

ui: explicitly open config files in binary mode This has been working mostly accidentally, but now it works explicitly.
author Augie Fackler <augie@google.com>
date Sun, 09 Oct 2016 09:17:49 -0400
parents af7c60988f6e
children 954002426f78
line wrap: on
line diff
--- a/tests/test-check-py3-commands.t	Wed Nov 09 16:04:44 2016 -0800
+++ b/tests/test-check-py3-commands.t	Sun Oct 09 09:17:49 2016 -0400
@@ -9,6 +9,6 @@
   >   $PYTHON3 `which hg` $cmd 2>&1 2>&1 | tail -1
   > done
   version
-  TypeError: startswith first arg must be str or a tuple of str, not bytes
+  TypeError: cannot use a string pattern on a bytes-like object
   debuginstall
-  TypeError: startswith first arg must be str or a tuple of str, not bytes
+  TypeError: cannot use a string pattern on a bytes-like object