_test__deal_with_changed_error_message_on_python_3_10
authorDebian Python Team <team+python@tracker.debian.org>
Mon, 23 May 2022 10:21:07 +0000 (11:21 +0100)
committerJulien Cristau <jcristau@debian.org>
Mon, 23 May 2022 10:21:07 +0000 (11:21 +0100)
# HG changeset patch
# User Julien Cristau <jcristau@debian.org>
# Date 1649668495 -7200
#      Mon Apr 11 11:14:55 2022 +0200
# Node ID 49aa7c550e8c05d537dbb4d78b1d3e541754dcb6
# Parent  36b3fa18a82ba359f6c707f583ec26596d8ee479
test: deal with changed error message on python 3.10

Gbp-Pq: Topic py310
Gbp-Pq: Name 8_test__deal_with_changed_error_message_on_python_3_10.patch

tests/test-parseindex.t

index 91c8dca6a7b1ff3cad00287cbfed30619a1b67c5..84cf1126a8694970bdf3cc34c61647bce5c01c3a 100644 (file)
@@ -113,7 +113,7 @@ Test SEGV caused by bad revision passed to reachableroots() (issue4775):
   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]
@@ -124,7 +124,7 @@ Test SEGV caused by bad revision passed to reachableroots() (issue4775):
   -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 ..