diff --git a/Lib/test/test_functools.py b/Lib/test/test_functools.py index 873170116f43cf..cd7b8aac42c5e1 100644 --- a/Lib/test/test_functools.py +++ b/Lib/test/test_functools.py @@ -1756,8 +1756,7 @@ def f(x): time.sleep(.01) return 3 * x def test(i, x): - with self.subTest(thread=i): - self.assertEqual(f(x), 3 * x, i) + self.assertEqual(f(x), 3 * x, i) threads = [threading.Thread(target=test, args=(i, v)) for i, v in enumerate([1, 2, 2, 3, 2])] with threading_helper.start_threads(threads):