diff options
author | Walter Dörwald <walter@livinglogic.de> | 2004-06-02 18:42:25 (GMT) |
---|---|---|
committer | Walter Dörwald <walter@livinglogic.de> | 2004-06-02 18:42:25 (GMT) |
commit | 118f931d07de3987958eee51e97b3323c190dbfd (patch) | |
tree | a839d4dd7f23706722fc0026ec2ea1b4bdaf8314 /Lib/test/test_shelve.py | |
parent | b4541c2653ff3307325371e0c07266b4f988ce65 (diff) | |
download | cpython-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_shelve.py')
-rw-r--r-- | Lib/test/test_shelve.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_shelve.py b/Lib/test/test_shelve.py index fda02da..e3f237d 100644 --- a/Lib/test/test_shelve.py +++ b/Lib/test/test_shelve.py @@ -82,7 +82,7 @@ class TestShelveBase(mapping_tests.BasicTestMappingProtocol): def __init__(self, *args, **kw): self._db = [] mapping_tests.BasicTestMappingProtocol.__init__(self, *args, **kw) - _tested_class = shelve.Shelf + type2test = shelve.Shelf def _reference(self): return {"key1":"value1", "key2":2, "key3":(1,2,3)} def _empty_mapping(self): |