# HG changeset patch # User Augie Fackler # Date 2018-10-12 14:01:09 # Node ID c3b7d9c54edd045fd463011faa736ef4e5fdc8f9 # Parent 0173ed47a873238c17083f0f34f29b9870da029e tests: glob away some annoying py3 differences Differential Revision: https://phab.mercurial-scm.org/D4994 diff --git a/tests/test-extension.t b/tests/test-extension.t --- a/tests/test-extension.t +++ b/tests/test-extension.t @@ -567,8 +567,8 @@ Even though the extension fails during u uisetup(ui) File "$TESTTMP/baduisetup.py", line 2, in uisetup 1/0 - ZeroDivisionError: integer division or modulo by zero - *** failed to set up extension baduisetup: integer division or modulo by zero + ZeroDivisionError: * by zero (glob) + *** failed to set up extension baduisetup: * by zero (glob) Mercurial Distributed SCM (version *) (glob) (see https://mercurial-scm.org for more information) @@ -1772,7 +1772,7 @@ Prohibit the use of unicode strings as t > test_unicode_default_value = $TESTTMP/test_unicode_default_value.py > EOF $ hg -R $TESTTMP/opt-unicode-default dummy - *** failed to import extension test_unicode_default_value from $TESTTMP/test_unicode_default_value.py: unicode u'value' found in cmdtable.dummy + *** failed to import extension test_unicode_default_value from $TESTTMP/test_unicode_default_value.py: unicode *'value' found in cmdtable.dummy (glob) *** (use b'' to make it byte string) hg: unknown command 'dummy' (did you mean summary?)