summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_userdict.py
diff options
context:
space:
mode:
authorWalter Dörwald <walter@livinglogic.de>2004-06-02 18:42:25 (GMT)
committerWalter Dörwald <walter@livinglogic.de>2004-06-02 18:42:25 (GMT)
commit118f931d07de3987958eee51e97b3323c190dbfd (patch)
treea839d4dd7f23706722fc0026ec2ea1b4bdaf8314 /Lib/test/test_userdict.py
parentb4541c2653ff3307325371e0c07266b4f988ce65 (diff)
downloadcpython-118f931d07de3987958eee51e97b3323c190dbfd.zip
cpython-118f931d07de3987958eee51e97b3323c190dbfd.tar.gz
cpython-118f931d07de3987958eee51e97b3323c190dbfd.tar.bz2
Rename class attribute containing the class to be tested, so the name is the
same as for the string and sequence tests.
Diffstat (limited to 'Lib/test/test_userdict.py')
-rw-r--r--Lib/test/test_userdict.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_userdict.py b/Lib/test/test_userdict.py
index f67e55b..cc5b0ed 100644
--- a/Lib/test/test_userdict.py
+++ b/Lib/test/test_userdict.py
@@ -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