# HG changeset patch # User Julien Cristau # Date 1649668495 -7200 # Node ID 34cdad07d06da49b109ea18fa8899df92573db2d # Parent 1d6c6ad645e1cfd16be473b376a9e18aaa7d06cd test: deal with changed error message on python 3.10 Differential Revision: https://phab.mercurial-scm.org/D12493 diff -r 1d6c6ad645e1 -r 34cdad07d06d tests/test-parseindex.t --- a/tests/test-parseindex.t Mon Dec 02 14:45:00 2019 +0100 +++ b/tests/test-parseindex.t Mon Apr 11 11:14:55 2022 +0200 @@ -111,7 +111,7 @@ 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 @@ -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 ..