From bf8503e07e56bfaf1bd3bcda527590c90a40a546 2024-01-09 10:53:15 From: Matthias Bussonnier Date: 2024-01-09 10:53:15 Subject: [PATCH] now with skip --- diff --git a/IPython/testing/ipunittest.py b/IPython/testing/ipunittest.py index 879b86b..841c3f9 100644 --- a/IPython/testing/ipunittest.py +++ b/IPython/testing/ipunittest.py @@ -53,7 +53,11 @@ def count_failures(runner): if sys.version_info < (3, 13): return [TestResults(f, t) for f, t in runner._name2ft.values() if f > 0] else: - return [TestResults(f, t) for f, t in runner._stats.values() if f > 0] + return [ + TestResults(failure, try_) + for failure, try_, skip in runner._stats.values() + if f > 0 + ] class IPython2PythonConverter(object):