tests: optional PEP 657 error location in test-extension.t (issue6781) stable
authorAnton Shestakov <av6@dwimlabs.net>
Mon, 09 Jan 2023 18:09:36 +0400
branchstable
changeset 49628 9c7fb04843b5
parent 49627 fe044ce4bb17
child 49629 a20e3758f53c
tests: optional PEP 657 error location in test-extension.t (issue6781)
tests/test-extension.t
--- a/tests/test-extension.t	Mon Jan 09 18:00:07 2023 +0400
+++ b/tests/test-extension.t	Mon Jan 09 18:09:36 2023 +0400
@@ -598,6 +598,7 @@
       uisetup(ui)
     File "$TESTTMP/baduisetup.py", line 2, in uisetup
       1 / 0
+      ~~^~~ (py311 !)
   ZeroDivisionError: * by zero (glob)
   *** failed to set up extension baduisetup: * by zero (glob)
   Mercurial Distributed SCM (version *) (glob)