summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* Describe -s a little more generically.Barry Warsaw2001-02-231-5/+6
|
* Whitespace normalization.Tim Peters2001-02-214-5/+4
|
* Add test case from bug #124981: zlib decompress of sync-flushed dataAndrew M. Kuchling2001-02-212-0/+27
| | | | fails
* Patch #103854: raises an exception if a non-Attr node is passed toAndrew M. Kuchling2001-02-211-0/+11
| | | | | | NamedNodeMap.setNamedItem(). Martin, should I sync the PyXML tree, too, or do you want to do it? (I don't know if you're wrapping the 0.6.4 release right now.)
* Added test for patch #103473: test an unquoted cookie value containing '='Andrew M. Kuchling2001-02-212-0/+7
|
* SF patch #103749: implicit tuple + default argJeremy Hylton2001-02-192-3/+40
|
* Add simple section for assert, including assert w/ lambdasJeremy Hylton2001-02-192-0/+7
|
* Add test for syntax error on "x = 1 + 1".Jeremy Hylton2001-02-194-22/+13
| | | | Move check_syntax() function into test_support.
* detect attempts to repeat anchors (fixes bug #130748)Fredrik Lundh2001-02-181-0/+2
|
* sre_{parse, compile} no longer define __all__.Tim Peters2001-02-181-2/+0
|
* - restored 1.5.2 compatibility (sorry, eric)Fredrik Lundh2001-02-181-1/+1
| | | | | - removed __all__ cruft from internal modules (sorry, skip) - don't assume ASCII for string escapes (sorry, per)
* removed __all__ from several modulesSkip Montanaro2001-02-181-17/+0
|
* Whitespace normalization.Tim Peters2001-02-152-5/+4
|
* bunch more __all__ listsSkip Montanaro2001-02-151-0/+29
| | | | | | also modified check_all function to suppress all warnings since they aren't relevant to what this test is doing (allows quiet checking of regsub, for instance)
* Patch #103748 from Toby Dickenson: fix typo in test_zlib that turns oneAndrew M. Kuchling2001-02-141-1/+1
| | | | test case into a no-op because ''.join('hello world') == 'hello world'
* Test section name using some strange characters, including a backslashFred Drake2001-02-141-2/+7
| | | | (SF bug #132288).
* Change doctest exception example to one whose detail hasn't changed since 1.5.2.Tim Peters2001-02-141-2/+2
|
* Teach doctest about newer "(most recent call last)" traceback spelling.Tim Peters2001-02-131-1/+1
|
* Added options that use square brackets in their names; this ensures thatFred Drake2001-02-122-89/+50
| | | | | | | | GNOME-style internationalized options can be parsed using ConfigParser (SF bug #131635). Converted the tests to use test_support.verify() instead of output comparison to work.
* test_pty started failing on Windows, but if and only if test___all__ wasTim Peters2001-02-121-2/+16
| | | | | | | | | | | | run first. Indirectly due to Skip adding check_all("pty") to test___all__: that caused the expected ImportError due to pty.py trying to import the non-existent FCNTL to get handled by test___all__, leaving a partial module object for pty in sys.modules, which caused the later import of pty via test_pty to succeed. Then test_tpy died with an AttributeError, due to trying to access attributes of pty that didn't exist. regrtest viewed that as a failure rather than the appropriate "test skipped". Fixed by deleting partial module objects in test___all__ when test___all__ handles an ImportError.
* __all__ for several more modulesSkip Montanaro2001-02-121-0/+11
|
* Patch by Finn Bock to make test_unicode.py work for Jython.Marc-André Lemburg2001-02-101-5/+10
|
* Moved SequenceMatcher from ndiff into new std library module difflib.py.Tim Peters2001-02-102-0/+282
| | | | | | | | | Guido told me to do this <wink>. Greatly expanded docstrings, and fleshed out with examples. New std test. Added new get_close_matches() function for ESR. Needs docs, but LaTeXification of the module docstring is all it needs. \CVS: ----------------------------------------------------------------------
* Add std test for doctest.Tim Peters2001-02-102-0/+301
|
* In O_writelines: Replace use of string.joinfields with "".join.Jeremy Hylton2001-02-092-1/+9
|
* update to use new symtable interfaceJeremy Hylton2001-02-091-3/+4
|
* update test cases for recent compiler changes: exec/import * in nestedJeremy Hylton2001-02-094-23/+65
| | | | functinos and cell vars with */** parameters
* Whitespace normalization.Tim Peters2001-02-094-13/+11
|
* joinfields -> join.Eric S. Raymond2001-02-091-1/+1
|
* String method conversion.Eric S. Raymond2001-02-093-7/+5
|
* String method conversion.Eric S. Raymond2001-02-096-7/+5
| | | | (This one was trivial -- no actual string. references in it!)
* String method conversion.Eric S. Raymond2001-02-099-23/+17
|
* String method conversion.Eric S. Raymond2001-02-091-1/+1
| | | | (This one was trivial -- no actual string. references in it!)
* a few more __all__ listsSkip Montanaro2001-02-071-0/+4
|
* test for presence of __builtins__ in names before deleting it, enabling thisSkip Montanaro2001-02-071-1/+2
| | | | to work with Jython (ugh! I hate that name!). This closes patch 103665.
* Add xml declaration into toxml testcase.Martin v. Löwis2001-02-061-1/+1
|
* added several more __all__ listsSkip Montanaro2001-02-061-0/+7
|
* Fix test 9 (caught by ?!ng)Jeremy Hylton2001-02-052-1/+31
| | | | Add tests for unbound locals (Nick Mathewson)
* Renamed _testXXX to _testcapiXXX. Jack is my hero -- good call!Tim Peters2001-02-041-6/+6
|
* Add minimal interface to symtable: _symtable module.Jeremy Hylton2001-02-022-0/+9
|
* Patch derived from Trent's 101162: a Python/C API testing framework.Tim Peters2001-02-022-0/+17
| | | | STILL NEEDS UNIX BUILD CHANGES.
* Allow 'continue' inside 'try' clauseJeremy Hylton2001-02-014-24/+24
| | | | SF patch 102989 by Thomas Wouters
* Undo recent change that banned using import to bind a global, as perJeremy Hylton2001-02-012-2/+0
| | | | | | | | | | | discussion on python-dev. 'from mod import *' is still banned except at the module level. Fix value for special NOOPT entry in symtable. Initialze to 0 instead of None, so that later uses of PyInt_AS_LONG() are valid. (Bug reported by Donn Cave.) replace local REPR macros with PyObject_REPR in object.h
* move extra arguments to the back of the new.code() arglistJeremy Hylton2001-02-011-1/+4
|
* Revise the driver code to be more informative in the final report.Fred Drake2001-02-011-7/+10
|
* PEP 205, Weak References -- initial checkin.Fred Drake2001-02-012-0/+239
|
* Checking in patch #103478 -- makes popen2 and fork1 tested on BeOS.Moshe Zadka2001-01-302-9/+9
| | | | Tested for not breaking builds on Linux.
* Fix test for free ref to global. This test should have caught aJeremy Hylton2001-01-301-1/+1
| | | | recently fixed bug, but it checked for the wrong answer.
* add test for illegal importsJeremy Hylton2001-01-302-0/+4
|
* Fixed .capitalize() method of Unicode objects to work like theMarc-André Lemburg2001-01-292-0/+4
| | | | | | corresponding string method. Added tests for this too. Patch written by Marc-Andre Lemburg. Copyright assigned to Guido van Rossum.