Mercurial > hg
comparison tests/test-parseindex.t @ 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 | 42d2b31cee0b |
children | 75d0775dce7f |
comparison
equal
deleted
inserted
replaced
49051:1d6c6ad645e1 | 49052:34cdad07d06d |
---|---|
109 bad heads: | 109 bad heads: |
110 2: head out of range | 110 2: head out of range |
111 10000: head out of range | 111 10000: head out of range |
112 -2: head out of range | 112 -2: head out of range |
113 -10000: head out of range | 113 -10000: head out of range |
114 None: an integer is required( .got type NoneType.)? (re) | 114 None: (an integer is required( .got type NoneType.)?|'NoneType' object cannot be interpreted as an integer) (re) |
115 good roots: | 115 good roots: |
116 0: [0] | 116 0: [0] |
117 1: [1] | 117 1: [1] |
118 -1: [-1] | 118 -1: [-1] |
119 out-of-range roots are ignored: | 119 out-of-range roots are ignored: |
120 2: [] | 120 2: [] |
121 10000: [] | 121 10000: [] |
122 -2: [] | 122 -2: [] |
123 -10000: [] | 123 -10000: [] |
124 bad roots: | 124 bad roots: |
125 None: an integer is required( .got type NoneType.)? (re) | 125 None: (an integer is required( .got type NoneType.)?|'NoneType' object cannot be interpreted as an integer) (re) |
126 | 126 |
127 $ cd .. | 127 $ cd .. |
128 | 128 |
129 Test corrupted p1/p2 fields that could cause SEGV at parsers.c: | 129 Test corrupted p1/p2 fields that could cause SEGV at parsers.c: |
130 | 130 |