diff --git a/Lib/test/test_typing.py b/Lib/test/test_typing.py index eb7617737b8..83f25402d87 100644 --- a/Lib/test/test_typing.py +++ b/Lib/test/test_typing.py @@ -550,7 +550,7 @@ class TypeVarTests(BaseTestCase): with self.subTest(cls=cls): vals = weakref.WeakValueDictionary() - for x in range(100000): + for x in range(10): vals[x] = cls(str(x)) del vals