summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_shelve.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix this test. How could it ever have worked?!Guido van Rossum2007-08-291-2/+3
|
* applies the better dbm and shelve related unittests. bug 1007 from ↵Gregory P. Smith2007-08-241-9/+11
| | | | larryhastings
* Change shelve to require a bytes-oriented dict asMartin v. Löwis2007-08-111-5/+35
| | | | the underlying storage, and yet provide string keys.
* Use test_support.unlink() instead of os.unlink().Guido van Rossum2007-05-181-4/+3
|
* Fix the cleanup so that we're not left with shelftemp.db.* files.Guido van Rossum2007-05-181-12/+10
| | | | This does nothing to fix the tests though...
* Removed deprecated method arguments from the shelve module.Raymond Hettinger2004-12-051-8/+8
|
* Rename class attribute containing the class to be tested, so the name is theWalter Dörwald2004-06-021-1/+1
| | | | same as for the string and sequence tests.
* Port the dictionary tests from test_types.py to unittest. Collect as muchWalter Dörwald2004-05-311-3/+3
| | | | | | mapping tests as possible in mapping_test.py and reuse the tests in test_dict.py, test_userdict.py, test_weakref.py, test_os.py and test_shelve.py. From SF patch #736962.
* Patch #734231: Update RiscOS support. In particular, correctMartin v. Löwis2003-05-101-1/+1
| | | | riscospath.extsep, and use os.extsep throughout.
* Combine the functionality of test_support.run_unittest()Walter Dörwald2003-05-011-9/+9
| | | | | | | | | | and test_support.run_classtests() into run_unittest() and use it wherever possible. Also don't use "from test.test_support import ...", but "from test import test_support" in a few spots. From SF patch #662807.
* Patch #553171: Add writeback parameter. Also add protocol parameter.Martin v. Löwis2003-04-191-6/+45
|
* SF patch #667730: More DictMixinRaymond Hettinger2003-03-091-2/+47
| | | | | | | | * Adds missing pop() methods to weakref.py * Expands test suite to broaden coverage of objects with a mapping interface. Contributed by Sebastien Keim.
* Whitespace normalization.Tim Peters2002-12-241-1/+1
|
* Add support for binary pickles to the shelve module. In some situationsSkip Montanaro2002-12-081-0/+51
this can result in significantly smaller files. All classes as well as the open function now accept an optional binary parameter, which defaults to False for backward compatibility. Added a small test suite, updated the libref documentation (including documenting the exported classes and fixing a few other nits) and added a note about the change to Misc/NEWS.