From c407cea8cac06f9eda9a26c43826d0b0c18372d5 Mon Sep 17 00:00:00 2001 From: Debian Python Team Date: Tue, 7 Jun 2022 19:53:46 +0100 Subject: [PATCH] _test__deal_with_changed_error_message_on_python_3_10 # HG changeset patch # User Julien Cristau # 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test-parseindex.t b/tests/test-parseindex.t index 91c8dca..84cf112 100644 --- a/tests/test-parseindex.t +++ b/tests/test-parseindex.t @@ -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 .. -- 2.30.2