mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
Rename class attribute containing the class to be tested, so the name is the
same as for the string and sequence tests.
This commit is contained in:
parent
b4541c2653
commit
118f931d07
5 changed files with 16 additions and 16 deletions
|
@ -12,7 +12,7 @@ d4 = {"one": None, "two": None}
|
|||
d5 = {"one": 1, "two": 1}
|
||||
|
||||
class UserDictTest(mapping_tests.TestHashMappingProtocol):
|
||||
_tested_class = UserDict.IterableUserDict
|
||||
type2test = UserDict.IterableUserDict
|
||||
|
||||
def test_all(self):
|
||||
# Test constructors
|
||||
|
@ -199,7 +199,7 @@ class SeqDict(UserDict.DictMixin):
|
|||
fromkeys = classmethod(fromkeys)
|
||||
|
||||
class UserDictMixinTest(mapping_tests.TestMappingProtocol):
|
||||
_tested_class = SeqDict
|
||||
type2test = SeqDict
|
||||
|
||||
def test_all(self):
|
||||
## Setup test and verify working of the test class
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue