summaryrefslogtreecommitdiffstats
path: root/Lib/test/output
Commit message (Collapse)AuthorAgeFilesLines
* verify that warnings are issued for bogus uses of globalJeremy Hylton2001-02-281-0/+4
|
* Patch #403985: Add support for weak-keyed dictionariesMartin v. Löwis2001-02-271-0/+4
|
* inspect: a module for getting information out of live Python objectsKa-Ping Yee2001-02-271-0/+1
|
* Make sure ConfigParser uses .optionxform() consistently; this affectsFred Drake2001-02-261-0/+1
| | | | | | .has_option(), .remove_option(), and .set(). This closes SF tracker #232913.
* Add __future__.py to std library, + dull test to verify that assignmentsTim Peters2001-02-261-0/+1
| | | | therein are of the proper form.
* Add test case from bug #124981: zlib decompress of sync-flushed dataAndrew M. Kuchling2001-02-211-0/+1
| | | | fails
* Added test for patch #103473: test an unquoted cookie value containing '='Andrew M. Kuchling2001-02-211-0/+4
|
* SF patch #103749: implicit tuple + default argJeremy Hylton2001-02-191-0/+7
|
* Add simple section for assert, including assert w/ lambdasJeremy Hylton2001-02-191-0/+1
|
* Add test for syntax error on "x = 1 + 1".Jeremy Hylton2001-02-191-5/+0
| | | | Move check_syntax() function into test_support.
* 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-121-46/+1
| | | | | | | | 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.
* Moved SequenceMatcher from ndiff into new std library module difflib.py.Tim Peters2001-02-101-0/+280
| | | | | | | | | 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-101-0/+299
|
* In O_writelines: Replace use of string.joinfields with "".join.Jeremy Hylton2001-02-091-0/+2
|
* update test cases for recent compiler changes: exec/import * in nestedJeremy Hylton2001-02-092-1/+1
| | | | functinos and cell vars with */** parameters
* Fix test 9 (caught by ?!ng)Jeremy Hylton2001-02-051-0/+1
| | | | Add tests for unbound locals (Nick Mathewson)
* Add minimal interface to symtable: _symtable module.Jeremy Hylton2001-02-021-0/+1
|
* Patch derived from Trent's 101162: a Python/C API testing framework.Tim Peters2001-02-021-0/+1
| | | | STILL NEEDS UNIX BUILD CHANGES.
* Allow 'continue' inside 'try' clauseJeremy Hylton2001-02-012-5/+3
| | | | SF patch 102989 by Thomas Wouters
* Undo recent change that banned using import to bind a global, as perJeremy Hylton2001-02-011-1/+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
* PEP 205, Weak References -- initial checkin.Fred Drake2001-02-011-0/+21
|
* add test for illegal importsJeremy Hylton2001-01-301-0/+2
|
* PEP 227 implementationJeremy Hylton2001-01-251-0/+2
| | | | | test_new: new.code() noew takes two more arguments test_grammer: Add a bunch of test cases for lambda (not really PEP 227 related)
* PEP 227 implementationJeremy Hylton2001-01-251-0/+13
| | | | New tests cases for nested scopes.
* add extra tests to verify that co_varnames is being set up properlyJeremy Hylton2001-01-251-2/+4
| | | | | also normalize checks for syntax errors and delete commented out definition of verify.
* Fix the test output, now that escapes in repr() of string and UnicodeGuido van Rossum2001-01-242-6/+6
| | | | are different (Ping didn't test this).
* Fix the test output, now that escapes in repr() of string and UnicodeGuido van Rossum2001-01-241-3/+3
| | | | are different (Ping couldn't test this).
* Show '\011', '\012', and '\015' as '\t', '\n', '\r' in strings.Ka-Ping Yee2001-01-243-162/+162
| | | | Switch from octal escapes to hex escapes for other nonprintable characters.
* Add simple test of list comprehension that uses a name that isn'tJeremy Hylton2001-01-231-0/+1
| | | | | otherwise used in the same code block. (Not sure this is the right place, but there is no test_list_comprehensions.py.)
* Reorganize pickle/cPickle testing so the tests pass regardless of the orderTim Peters2001-01-221-12/+0
| | | | they're run.
* Patch #103343: Allow the important test_pkg to succeed under Jython.Tim Peters2001-01-211-3/+3
|
* Patch #103344: Sort dicts from extcall for easier comparison with Jython.Tim Peters2001-01-211-36/+36
|
* added __all__ lists to a number of Python modulesSkip Montanaro2001-01-201-0/+1
| | | | | | | | added test script and expected output file as well this closes patch 103297. __all__ attributes will be added to other modules without first submitting a patch, just adding the necessary line to the test script to verify more-or-less correct implementation.
* Now that Marc-Andre has retracted unistr(), remove the tests.Guido van Rossum2001-01-191-1/+0
|
* improved the ucnhash test a bitFredrik Lundh2001-01-191-0/+3
|
* Jeremy's patch #103323: trivial tests of all untested modules.Tim Peters2001-01-191-0/+1
|
* add test of bastion and rexec to std regression test suiteJeremy Hylton2001-01-191-0/+10
|
* A dumb test for the dumdbm module.Guido van Rossum2001-01-181-0/+1
|
* Rich comparison testsGuido van Rossum2001-01-181-0/+187
|
* This patch adds a new builtin unistr() which behaves like str()Marc-André Lemburg2001-01-171-0/+1
| | | | | | | | | | except that it always returns Unicode objects. A new C API PyObject_Unicode() is also provided. This closes patch #101664. Written by Marc-Andre Lemburg. Copyright assigned to Guido van Rossum.
* Ugh. Sorry. Checked in the wrong file. Please ignore revision 1.3;Ka-Ping Yee2001-01-151-154/+154
| | | | it anticipates another patch i was about to propose.
* better format names and error messagesKa-Ping Yee2001-01-151-2/+2
|
* This patch makes sure that the function name always appears in the errorKa-Ping Yee2001-01-152-11/+86
| | | | | | | message, and tries to make the messages more consistent and helpful when the wrong number of arguments or duplicate keyword arguments are supplied. Comes with more tests for test_extcall.py and and an update to an error message in test/output/test_pyexpat.
* Add tokenizer support and tests for u'', U"", uR'', Ur"", etc.Ka-Ping Yee2001-01-151-365/+421
|
* Committing PEP 232, function attribute feature, approved by Guido.Barry Warsaw2001-01-151-0/+1
| | | | | | Closes SF patch #103123. Regression test for function attributes, with output file.
* SF bug 128713: type(mmap_object) blew up on Linux.Tim Peters2001-01-141-0/+1
|
* Guido found a brand new race in tempfile on Linux, due to Linux changingTim Peters2001-01-131-0/+5
| | | | | | | | | | | | pid across threads (but in that case, it's still the same process, and so still sharing the "template" cache in tempfile.py). Repaired that, and added a new std test. On Linux, someone please run that standalone with more files and/or more threads; e.g., python lib/test/test_threadedtempfile.py -f 1000 -t 10 to run with 10 threads each creating (and deleting) 1000 temp files.
* Moved the test codec definition to a new module and updated the test andMarc-André Lemburg2001-01-101-0/+15
| | | | | | | codec to test all charmap codec features. As side-effect of moving the test codec into a new module, the encodings package codec import mechanism is checked as well.