changeset 49870:9c7fb04843b5 stable

tests: optional PEP 657 error location in test-extension.t (issue6781)
author Anton Shestakov <av6@dwimlabs.net>
date Mon, 09 Jan 2023 18:09:36 +0400
parents fe044ce4bb17
children a20e3758f53c
files tests/test-extension.t
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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)