# HG changeset patch # User Julien Cristau # Date 2022-04-11 09:14:55 # Node ID 34cdad07d06da49b109ea18fa8899df92573db2d # Parent 1d6c6ad645e1cfd16be473b376a9e18aaa7d06cd test: deal with changed error message on python 3.10 Differential Revision: https://phab.mercurial-scm.org/D12493 diff --git a/tests/test-parseindex.t b/tests/test-parseindex.t --- a/tests/test-parseindex.t +++ b/tests/test-parseindex.t @@ -111,7 +111,7 @@ Test SEGV caused by bad revision passed 10000: head out of range -2: head out of range -10000: head out of range - None: an integer is required( .got type NoneType.)? (re) + None: (an integer is required( .got type NoneType.)?|'NoneType' object cannot be interpreted as an integer) (re) good roots: 0: [0] 1: [1] @@ -122,7 +122,7 @@ Test SEGV caused by bad revision passed -2: [] -10000: [] bad roots: - None: an integer is required( .got type NoneType.)? (re) + None: (an integer is required( .got type NoneType.)?|'NoneType' object cannot be interpreted as an integer) (re) $ cd ..