History log of /external/python/cpython2/Lib/test/test_userdict.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c72e66a0489ee53aaf89c677c5b709d30b359532 02-Nov-2015 Serhiy Storchaka <storchaka@gmail.com> Issue #25523: Backported a-to-an corrections.
/external/python/cpython2/Lib/test/test_userdict.py
cab4566c5a7bda8e26047d439423aa375ca2e317 29-Sep-2015 Serhiy Storchaka <storchaka@gmail.com> Issue #22609: Constructor and the update method of collections.UserDict now
accept the self keyword argument.
/external/python/cpython2/Lib/test/test_userdict.py
07627880813ffaad8d9b90bfe8791ccf588b031b 21-Mar-2010 Florent Xicluna <florent.xicluna@gmail.com> #7092 - Silence more py3k deprecation warnings, using test_support.check_py3k_warnings() helper.
/external/python/cpython2/Lib/test/test_userdict.py
b0f5adc3f4e098b1744eeac65fc830fb1df2b8ab 24-Jan-2010 Ezio Melotti <ezio.melotti@gmail.com> use assert[Not]IsInstance where appropriate
/external/python/cpython2/Lib/test/test_userdict.py
aa98058cc44ba20f35c106d20918c6196b737561 24-Jan-2010 Ezio Melotti <ezio.melotti@gmail.com> use assert[Not]In where appropriate
/external/python/cpython2/Lib/test/test_userdict.py
ce8e33a095030e7af94f58f9da196b240bdf0476 08-Jan-2010 Senthil Kumaran <orsenthil@gmail.com> Reverting the Revision: 77368. I committed Flox's big patch for tests by
mistake. ( It may come in for sure tough)
/external/python/cpython2/Lib/test/test_userdict.py
3ddc435af6873c6304058d7bcbcb19ee4fba7781 08-Jan-2010 Senthil Kumaran <orsenthil@gmail.com> Fixing - Issue7026 - RuntimeError: dictionary changed size during iteration. Patch by flox
/external/python/cpython2/Lib/test/test_userdict.py
5c8da86f3a515ce1a6d5f27fd15e3c5f4d8e931e 01-Jul-2009 Benjamin Peterson <benjamin@python.org> convert usage of fail* to assert*
/external/python/cpython2/Lib/test/test_userdict.py
c5f05e45cffa16f45f1332cec531c045893f928f 23-Feb-2008 Christian Heimes <christian@cheimes.de> Patch #2167 from calvin: Remove unused imports
/external/python/cpython2/Lib/test/test_userdict.py
8905bb10e044b70e1d25f3c83afaf309258fee60 04-Mar-2007 Georg Brandl <georg@python.org> Fix a bug in test_dict and test_userdict, found at the PyPy sprint.
/external/python/cpython2/Lib/test/test_userdict.py
1968ad32cd7f46d9bb64826672ef68cdaee35288 25-Feb-2006 Guido van Rossum <guido@python.org> - Patch 1433928:
- The copy module now "copies" function objects (as atomic objects).
- dict.__getitem__ now looks for a __missing__ hook before raising
KeyError.
- Added a new type, defaultdict, to the collections module.
This uses the new __missing__ hook behavior added to dict (see above).
/external/python/cpython2/Lib/test/test_userdict.py
5a8a03784e56e5931b4cdb3946494f8d15c72bd2 16-Jan-2005 Guido van Rossum <guido@python.org> Use descriptors.
/external/python/cpython2/Lib/test/test_userdict.py
118f931d07de3987958eee51e97b3323c190dbfd 02-Jun-2004 Walter Dörwald <walter@livinglogic.de> Rename class attribute containing the class to be tested, so the name is the
same as for the string and sequence tests.
/external/python/cpython2/Lib/test/test_userdict.py
0a6d0ff8d9ad27d66eb8195b9366e5b49dbb69b6 31-May-2004 Walter Dörwald <walter@livinglogic.de> Port the dictionary tests from test_types.py to unittest. Collect as much
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.
/external/python/cpython2/Lib/test/test_userdict.py
31017aed36a5c5b0e4b16ca58bea09c9ce360134 04-Mar-2004 Raymond Hettinger <python@rcn.com> SF #904720: dict.update should take a 2-tuple sequence like dict.__init_
(Championed by Bob Ippolito.)

The update() method for mappings now accepts all the same argument forms
as the dict() constructor. This includes item lists and/or keyword
arguments.
/external/python/cpython2/Lib/test/test_userdict.py
a690a9967e715663b7a421c9ebdad91381cdf1e4 16-Nov-2003 Raymond Hettinger <python@rcn.com> * Migrate set() and frozenset() from the sandbox.
* Install the unittests, docs, newsitem, include file, and makefile update.
* Exercise the new functions whereever sets.py was being used.

Includes the docs for libfuncs.tex. Separate docs for the types are
forthcoming.
/external/python/cpython2/Lib/test/test_userdict.py
91bbd9a7b9735cba07b06400a7c467aab6facfde 02-May-2003 Raymond Hettinger <python@rcn.com> Used sets.Set() to compare unordered sequences.
Improves clarity and brevity.
/external/python/cpython2/Lib/test/test_userdict.py
21d3a32b99c5763444c34c189ef653ac9745f3c4 01-May-2003 Walter Dörwald <walter@livinglogic.de> Combine the functionality of test_support.run_unittest()
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.
/external/python/cpython2/Lib/test/test_userdict.py
2c2d322884ee72077a256ec3cd0aa9ce3580eedc 09-Mar-2003 Raymond Hettinger <python@rcn.com> SF patch #667730: More DictMixin

* Adds missing pop() methods to weakref.py
* Expands test suite to broaden coverage of objects with
a mapping interface.

Contributed by Sebastien Keim.
/external/python/cpython2/Lib/test/test_userdict.py
a3e1e4cd79abe7069c8bc20db65161dd8c68b305 07-Mar-2003 Raymond Hettinger <python@rcn.com> SF patch #693753: fix for bug 639806: default for dict.pop
(contributed by Michael Stone.)
/external/python/cpython2/Lib/test/test_userdict.py
e28be5968683241e4a785108a0023fc49ecbb03a 20-Jan-2003 Walter Dörwald <walter@livinglogic.de> Port test_userdict.py to PyUnit. From SF patch #662807,
with additional tests for setdefault(), pop() and popitem().
/external/python/cpython2/Lib/test/test_userdict.py
0efa17c94386c957cf63aad7d2d513c14cd8fd4a 11-Dec-2002 Raymond Hettinger <python@rcn.com> Clean-up test class for DictMixin.
/external/python/cpython2/Lib/test/test_userdict.py
e4827eb2a2c9eed8911a6874866a224972ff40ab 27-Nov-2002 Raymond Hettinger <python@rcn.com> Bring UserDict in-sync with changes to dict.

Constructor accepts optional keyword arguments after a optional items list.
Add fromkeys() as an alternate constructor from an iterable over keys.
Expand related unittests.
/external/python/cpython2/Lib/test/test_userdict.py
54405456e5c2b76879472051c23e6c1c9f433beb 22-Nov-2002 Raymond Hettinger <python@rcn.com> Implement dict() style constructor.
Already supported dict() and dict(mapping).
Now supports dict(itemsequence) and
Just van Rossum's new syntax for dict(keywordargs).

Also, added related unittests.

The docs already promise dict-like behavior
so no update is needed there.
/external/python/cpython2/Lib/test/test_userdict.py
8ddc176e2e7ef11b2c46062b29563bc776f177b8 18-Nov-2002 Raymond Hettinger <python@rcn.com> Improve DictMixin.
Replaced docstring with comments. Prevents subclass contamination.
Added the missing __cmp__() method and a test for __cmp__().
Used try/except style in preference to has_key() followed by a look-up.
Used iteritem() where possible to save creating a long key list and
to save redundant lookups.
Expanded .update() to look for the most helpful methods first and gradually
work down to a mininum expected interface.
Expanded documentation to be more clear on how to use the class.
/external/python/cpython2/Lib/test/test_userdict.py
903bf907234814e70ff925916adfc7850930361b 15-Nov-2002 Raymond Hettinger <python@rcn.com> SF patch #520382: Expand shelve.py to have a full dictionary interface
and add a mixin to UserDict.py to make it easier to implement a full
dictionary interface.
/external/python/cpython2/Lib/test/test_userdict.py
04f357cffef6d764f2f0ff2671dabde75ec250d1 23-Jul-2002 Barry Warsaw <barry@python.org> Get rid of relative imports in all unittests. Now anything that
imports e.g. test_support must do so using an absolute package name
such as "import test.test_support" or "from test import test_support".

This also updates the README in Lib/test, and gets rid of the
duplicate data dirctory in Lib/test/data (replaced by
Lib/email/test/data).

Now Tim and Jack can have at it. :)
/external/python/cpython2/Lib/test/test_userdict.py
526286725d3fae0d9ebea9b32308e07b701afec6 05-Nov-2001 Fred Drake <fdrake@acm.org> Add regression test for SF bug #476616 -- make sure copy of a derived class
does not share data with the original.
/external/python/cpython2/Lib/test/test_userdict.py
288cd2cb69dc61d3fe1b18564d62ddb280a6568a 07-Aug-2001 Guido van Rossum <guido@python.org> Fix the test so it uses IterableUserDict for the "for x in dict" test.
/external/python/cpython2/Lib/test/test_userdict.py
a3f98d6bac3fbfc0e010360b11793bbd8a8f4c85 21-Apr-2001 Tim Peters <tim.peters@gmail.com> Give UserDict new __contains__ and __iter__ methods.
/external/python/cpython2/Lib/test/test_userdict.py
3661908a6ac75026e4504d9f62a6ac2e2fb2ec5e 17-Jan-2001 Marc-André Lemburg <mal@egenix.com> This patch removes all uses of "assert" in the regression test suite
and replaces them with a new API verify(). As a result the regression
suite will also perform its tests in optimization mode.

Written by Marc-Andre Lemburg. Copyright assigned to Guido van Rossum.
/external/python/cpython2/Lib/test/test_userdict.py
3eccc48b5b798c879533acb2611efebca5348bfe 26-Mar-1999 Guido van Rossum <guido@python.org> Test suite for UserDict
/external/python/cpython2/Lib/test/test_userdict.py