4e41a4b64cb9e69d15ebe0cdf752c5e105318a94 |
|
03-Aug-2005 |
Walter Dörwald <walter@livinglogic.de> |
Disable a few other tests, that can't work if Python is compiled without Unicode support.
/external/python/cpython2/Lib/test/test_isinstance.py
|
27f883687ba01f571ff7cc03a3f03b94030f92ad |
|
08-Jul-2004 |
Tim Peters <tim.peters@gmail.com> |
Whitespace normalization.
/external/python/cpython2/Lib/test/test_isinstance.py
|
4f65331483197a9909b19694688c55fdf9ca7a37 |
|
20-Mar-2004 |
Brett Cannon <bcannon@gmail.com> |
Limit the nesting depth of a tuple passed as the second argument to isinstance() or issubclass() to the recursion limit of the interpreter.
/external/python/cpython2/Lib/test/test_isinstance.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_isinstance.py
|
7e5c6a02eba1a6f5e93bfa1241ceff39bec9f3c9 |
|
12-Dec-2002 |
Walter Dörwald <walter@livinglogic.de> |
Change issubclass() so that recursive tuples (directly or indirectly containing class objects) are allowed as the second argument. This makes issubclass() more similar to isinstance() where recursive tuples are allowed too.
/external/python/cpython2/Lib/test/test_isinstance.py
|
d9a6ad3bebc2b451482db152171fca3144b2cd97 |
|
12-Dec-2002 |
Walter Dörwald <walter@livinglogic.de> |
Enhance issubclass() and PyObject_IsSubclass() so that a tuple is supported as the second argument. This has the same meaning as for isinstance(), i.e. issubclass(X, (A, B)) is equivalent to issubclass(X, A) or issubclass(X, B). Compared to isinstance(), this patch does not search the tuple recursively for classes, i.e. any entry in the tuple that is not a class, will result in a TypeError. This closes SF patch #649608.
/external/python/cpython2/Lib/test/test_isinstance.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_isinstance.py
|
8ac1495a6a1d18111a626cec0c7f2eb67df3edb3 |
|
23-May-2002 |
Tim Peters <tim.peters@gmail.com> |
Whitespace normalization.
/external/python/cpython2/Lib/test/test_isinstance.py
|
3b04d635a250c82b03d9c477d38fd640daf386c2 |
|
24-Apr-2002 |
Neil Schemenauer <nascheme@enme.ucalgary.ca> |
Add more tests for abstract isinstance() and issubclass().
/external/python/cpython2/Lib/test/test_isinstance.py
|
906569de2484fd9962b6e052cce5bb791e72cd86 |
|
24-Apr-2002 |
Barry Warsaw <barry@python.org> |
Unit tests for the changes in abstract.c version 2.101. The debug build's "undetected error" problems were originally detected with extension types, but we can whitebox test the same situations with new-style classes.
/external/python/cpython2/Lib/test/test_isinstance.py
|