summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_bool.py
Commit message (Collapse)AuthorAgeFilesLines
* Whitespace normalization.Tim Peters2003-05-121-1/+0
|
* Combine the functionality of test_support.run_unittest()Walter Dörwald2003-05-011-1/+1
| | | | | | | | | | 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.
* Consistently use test_support.foo everywhere.Walter Dörwald2003-05-011-15/+5
| | | | | | Remove the last use of veris(). Remove now useless imports and functions.
* Factor out common boilerplate for test_supportRaymond Hettinger2003-04-271-3/+1
|
* Port test_bool.py to PyUnit. From SF patch #662807.Walter Dörwald2003-04-251-253/+328
|
* - bool() called without arguments now returns False rather thanGuido van Rossum2003-04-191-0/+1
| | | | | | | raising an exception. This is consistent with calling the constructors for the other builtin types -- called without argument they all return the false value of that type. (SF patch #724135) Thanks to Alex Martelli.
* Get rid of relative imports in all unittests. Now anything thatBarry Warsaw2002-07-231-1/+1
| | | | | | | | | | | 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. :)
* This is my nearly two year old patchMichael W. Hudson2002-06-111-1/+1
| | | | | | | | | [ 400998 ] experimental support for extended slicing on lists somewhat spruced up and better tested than it was when I wrote it. Includes docs & tests. The whatsnew section needs expanding, and arrays should support extended slices -- later.
* More mindless --disable-unicode proofing.Michael W. Hudson2002-05-201-23/+24
|
* Patch #542569: tp_print tp_repr tp_str in test_bool.py.Martin v. Löwis2002-04-141-1/+18
|
* Add tests for binary pickles.Guido van Rossum2002-04-051-0/+12
|
* Implement an idea by Paul Rubin:Guido van Rossum2002-04-051-0/+6
| | | | | | | | Change pickling format for bools to use a backwards compatible encoding. This means you can pickle True or False on Python 2.3 and Python 2.2 or before will read it back as 1 or 0. The code used for pickling bools before would create pickles that could not be read in previous Python versions.
* Oops. Here are the new files. My apologies.Guido van Rossum2002-04-031-0/+228