diff tests/test-check-py3-commands.t @ 30349:954002426f78

config: mark parser regexes as bytes explicitly r-strings are not transformed into bytes by our source transformer magic.
author Augie Fackler <augie@google.com>
date Sun, 09 Oct 2016 09:25:39 -0400
parents 9df29b7c62cf
children bcb858396233
line wrap: on
line diff
--- a/tests/test-check-py3-commands.t	Sun Oct 09 09:17:49 2016 -0400
+++ b/tests/test-check-py3-commands.t	Sun Oct 09 09:25:39 2016 -0400
@@ -9,6 +9,6 @@
   >   $PYTHON3 `which hg` $cmd 2>&1 2>&1 | tail -1
   > done
   version
-  TypeError: cannot use a string pattern on a bytes-like object
+  NameError: name 'basestring' is not defined
   debuginstall
-  TypeError: cannot use a string pattern on a bytes-like object
+  NameError: name 'basestring' is not defined