From 492e05960508e0ab725078edf9f60385670fc3b3 Mon Sep 17 00:00:00 2001 From: David Brochart Date: Tue, 29 Nov 2022 17:57:51 +0100 Subject: [PATCH] Allow space after In --- nbclient/tests/test_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nbclient/tests/test_client.py b/nbclient/tests/test_client.py index 353f293..3268bec 100644 --- a/nbclient/tests/test_client.py +++ b/nbclient/tests/test_client.py @@ -35,7 +35,7 @@ # Tracebacks look different in IPython 8, # see: https://github.com/ipython/ipython/blob/master/docs/source/whatsnew/version8.rst#traceback-improvements # noqa ipython8_input_pat = re.compile( - r'((Cell|Input) In\[\d+\]|), (in )?(line \d||\(\))' + r'((Cell|Input) In\s?\[\d+\]|), (in )?(line \d||\(\))' )