D8329: tests: update test-debugcommands.t stack trace checks for python3.9

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

D8329: tests: update test-debugcommands.t stack trace checks for python3.9

martinvonz (Martin von Zweigbergk)
durin42 created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  Python 3.9 prints a complete filepath in more cases, so we need to handle that
  in our test output. Since we don't really care *that* much about the specific
  path formatting here, just use globbing.

REPOSITORY
  rHG Mercurial

BRANCH
  default

REVISION DETAIL
  https://phab.mercurial-scm.org/D8329

AFFECTED FILES
  tests/test-debugcommands.t

CHANGE DETAILS

diff --git a/tests/test-debugcommands.t b/tests/test-debugcommands.t
--- a/tests/test-debugcommands.t
+++ b/tests/test-debugcommands.t
@@ -588,15 +588,15 @@
   > EOF
   $ "$PYTHON" debugstacktrace.py
   stacktrace at:
-   debugstacktrace.py:14 in * (glob)
-   debugstacktrace.py:7  in f
+   *debugstacktrace.py:14 in * (glob)
+   *debugstacktrace.py:7  in f (glob)
   hello from g at:
-   debugstacktrace.py:14 in * (glob)
-   debugstacktrace.py:8  in f
+   *debugstacktrace.py:14 in * (glob)
+   *debugstacktrace.py:8  in f (glob)
   hi ...
   from h hidden in g at:
-   debugstacktrace.py:8  in f
-   debugstacktrace.py:11 in g
+   *debugstacktrace.py:8  in f (glob)
+   *debugstacktrace.py:11 in g (glob)
 
 Test debugcapabilities command:
 



To: durin42, #hg-reviewers
Cc: mercurial-devel
_______________________________________________
Mercurial-devel mailing list
[hidden email]
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel
Reply | Threaded
Open this post in threaded view
|

D8329: tests: update test-debugcommands.t stack trace checks for python3.9

martinvonz (Martin von Zweigbergk)
Closed by commit rHGa7b7a67b79c1: tests: update test-debugcommands.t stack trace checks for python3.9 (authored by durin42).
This revision was automatically updated to reflect the committed changes.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D8329?vs=20876&id=20892

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D8329/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D8329

AFFECTED FILES
  tests/test-debugcommands.t

CHANGE DETAILS

diff --git a/tests/test-debugcommands.t b/tests/test-debugcommands.t
--- a/tests/test-debugcommands.t
+++ b/tests/test-debugcommands.t
@@ -588,15 +588,15 @@
   > EOF
   $ "$PYTHON" debugstacktrace.py
   stacktrace at:
-   debugstacktrace.py:14 in * (glob)
-   debugstacktrace.py:7  in f
+   *debugstacktrace.py:14 in * (glob)
+   *debugstacktrace.py:7  in f (glob)
   hello from g at:
-   debugstacktrace.py:14 in * (glob)
-   debugstacktrace.py:8  in f
+   *debugstacktrace.py:14 in * (glob)
+   *debugstacktrace.py:8  in f (glob)
   hi ...
   from h hidden in g at:
-   debugstacktrace.py:8  in f
-   debugstacktrace.py:11 in g
+   *debugstacktrace.py:8  in f (glob)
+   *debugstacktrace.py:11 in g (glob)
 
 Test debugcapabilities command:
 



To: durin42, #hg-reviewers, Alphare, pulkit
Cc: mercurial-devel
_______________________________________________
Mercurial-devel mailing list
[hidden email]
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel