changeset 49052:34cdad07d06d

test: deal with changed error message on python 3.10 Differential Revision: https://phab.mercurial-scm.org/D12493
author Julien Cristau <jcristau@debian.org>
date Mon, 11 Apr 2022 11:14:55 +0200
parents 1d6c6ad645e1
children 7d1daa1ef286
files tests/test-parseindex.t
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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 ..