-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
Closed
Labels
stdlibPython modules in the Lib dirPython modules in the Lib dirtestsTests in the Lib/test dirTests in the Lib/test dir
Description
There are places where it is either not complete:
cpython/Lib/test/test_dictviews.py
Lines 338 to 340 in 49f6106
self.assertIsInstance(d.values(), collections.abc.ValuesView) | |
self.assertIsInstance(d.values(), collections.abc.MappingView) | |
self.assertIsInstance(d.values(), collections.abc.Sized) |
Not base classes are covered here. But, I guess it should be.
Or there are places where it is not tested at all:
cpython/Lib/test/test_collections.py
Lines 1866 to 1869 in 49f6106
self.assertIsInstance(mymap.keys(), Set) | |
self.assertIsInstance(mymap.keys(), KeysView) | |
self.assertIsInstance(mymap.items(), Set) | |
self.assertIsInstance(mymap.items(), ItemsView) |
I will go through places like this and cover ValuesView
.
Noticed while working on #98511
Metadata
Metadata
Assignees
Labels
stdlibPython modules in the Lib dirPython modules in the Lib dirtestsTests in the Lib/test dirTests in the Lib/test dir