From: Debian Python Team Date: Mon, 11 Apr 2022 12:08:09 +0000 (+0100) Subject: _test__deal_with_changed_error_message_on_python_3_10 X-Git-Tag: archive/raspbian/6.1.2-1+rpi1~1^2~7 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=0472b54e7d5b2acce9999f500eaebec4123882a7;p=mercurial.git _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 --- 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 ..