bpo-46198: rename duplicate tests and remove unused code (GH-30297)

This commit is contained in:
Nikita Sobolev 2022-03-10 19:20:11 +03:00 committed by GitHub
parent f537b2a4fb
commit 6c83c8e6b5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 8 additions and 15 deletions

View file

@ -1455,7 +1455,7 @@ class DictTest(unittest.TestCase):
self.assertTrue(gc.is_tracked(next(it)))
@support.cpython_only
def test_dict_items_result_gc(self):
def test_dict_items_result_gc_reversed(self):
# Same as test_dict_items_result_gc above, but reversed.
it = reversed({None: []}.items())
gc.collect()