summaryrefslogtreecommitdiffstats
path: root/Lib/test/output
Commit message (Collapse)AuthorAgeFilesLines
* Fixed #1624: Remove output comparison for test_pep277Christian Heimes2007-12-151-3/+0
| | | | I had to modify Brett's patch slightly.
* Port test_class to unittest. Patch #1671298.Georg Brandl2007-08-241-101/+0
|
* Convert test_pkg to use unittest.Collin Winter2007-08-241-45/+0
|
* Convert test_linuxaudiodev to unittest. Fix a wrong finally clause in ↵Georg Brandl2007-08-241-7/+0
| | | | test_ossaudiodev.
* Remove output file for test_ossaudiodev, also properly close the dsp object.Georg Brandl2007-08-241-2/+0
|
* Remove test_rgbimg output file, there is no test_rgbimg.py.Georg Brandl2007-08-241-2/+0
|
* Port test_frozen to unittest.Georg Brandl2007-08-241-4/+0
|
* Patch #1008: port test_signal to unittest.Georg Brandl2007-08-241-2/+0
|
* Patch #1006: port test_winreg to unittest.Georg Brandl2007-08-241-3/+0
|
* Patch #1686487: you can now pass any mapping after '**' in function calls.Georg Brandl2007-05-211-6/+9
|
* Consolidate patches #1690164, 1683397, and 1690169, all of which refactor ↵Collin Winter2007-03-282-474/+0
| | | | | | XML-related test suites. The patches are applied together because they use a common output/xmltests file. Thanks to Jerry Seutter for all three patches.
* Remove test/output/test_popen2 (missed in r54417).Collin Winter2007-03-161-9/+0
|
* Patch #1670993: Refactor test_threadedtempfile.py to use unittest.Collin Winter2007-03-121-5/+0
|
* Patch #1678088: convert test_operations to use unittest, fold the result ↵Collin Winter2007-03-121-21/+0
| | | | into test_dict.
* Patch #1675471: convert test_pty to unittest.Georg Brandl2007-03-071-3/+0
|
* Port test_popen.py to unittest.Walter Dörwald2007-01-241-3/+0
|
* Port test_new.py to unittest.Walter Dörwald2007-01-201-7/+0
|
* Port test_resource.py to unittest.Walter Dörwald2007-01-201-2/+0
|
* Move xdrlib tests from the module into a separate test script,Walter Dörwald2006-12-011-19/+0
| | | | port the tests to unittest and add a few new tests.
* Remove leftover test output file.Georg Brandl2006-10-291-29/+0
|
* Convert test_openpty to unittest.Georg Brandl2006-10-291-2/+0
|
* Convert test_MimeWriter to unittest.Georg Brandl2006-10-291-110/+0
|
* Completely convert test_httplib to unittest.Georg Brandl2006-10-291-13/+0
|
* Convert test_cgi to unittest.Georg Brandl2006-10-291-42/+0
|
* Convert test_cookie to unittest.Georg Brandl2006-10-291-32/+0
|
* Convert test_types to unittest.Georg Brandl2006-10-291-15/+0
|
* Convert test_nis to unittest.Georg Brandl2006-10-291-2/+0
|
* Convert test_poll to unittest.Georg Brandl2006-10-291-19/+0
|
* Convert test_mmap to unittest.Georg Brandl2006-10-291-38/+0
|
* Convert test_opcodes to unittest.Georg Brandl2006-10-281-6/+0
|
* Convert test_math to unittest.Georg Brandl2006-10-281-28/+0
|
* Convert test_global, test_scope and test_grammar to unittest.Georg Brandl2006-10-283-98/+0
| | | | | I tried to enclose all tests which must be run at the toplevel (instead of inside a method) in exec statements.
* Bug fixes large and small for tokenize.Jeremy Hylton2006-08-231-25/+50
| | | | | | | | | | | | | | | | | | | | Small: Always generate a NL or NEWLINE token following a COMMENT token. The old code did not generate an NL token if the comment was on a line by itself. Large: The output of untokenize() will now match the input exactly if it is passed the full token sequence. The old, crufty output is still generated if a limited input sequence is provided, where limited means that it does not include position information for tokens. Remaining bug: There is no CONTINUATION token (\) so there is no way for untokenize() to handle such code. Also, expanded the number of doctests in hopes of eventually removing the old-style tests that compare against a golden file. Bug fix candidate for Python 2.5.1. (Sigh.)
* Chris McDonough's patch to defend against certain DoS attacks on FieldStorage.Guido van Rossum2006-08-101-0/+2
| | | | SF bug #1112549.
* Be a lot smarter about whether this test passes: instead of assumingGreg Ward2006-07-231-2/+1
| | | | | | | that a 2.93 sec audio file will always take 3.1 sec (as it did on the hardware I had when I first wrote the test), expect that it will take 2.93 sec +/- 10%, and only fail if it's outside of that range. Compute the expected
* Increase the small thread stack size to get the testAndrew MacIntyre2006-06-131-2/+2
| | | | | to pass reliably on the one buildbot that insists on more than 32kB of thread stack.
* Patch #1454481: Make thread stack size runtime tunable.Andrew MacIntyre2006-06-131-0/+12
| | | | | | | | | | Heavily revised, comprising revisions: 46640 - original trunk revision (backed out in r46655) 46647 - markup fix (backed out in r46655) 46692:46918 merged from branch aimacintyre-sf1454481 branch tested on buildbots (Windows buildbots had problems not related to these changes).
* Revert revisions:Tim Peters2006-06-041-8/+0
| | | | | | | | | | | | | | | | 46640 Patch #1454481: Make thread stack size runtime tunable. 46647 Markup fix The first is causing many buildbots to fail test runs, and there are multiple causes with seemingly no immediate prospects for repairing them. See python-dev discussion. Note that a branch can (and should) be created for resolving these problems, like svn copy svn+ssh://svn.python.org/python/trunk -r46640 svn+ssh://svn.python.org/python/branches/NEW_BRANCH followed by merging rev 46647 to the new branch.
* Patch #1454481: Make thread stack size runtime tunable.Andrew MacIntyre2006-06-041-0/+8
|
* [ 1497053 ] Let dicts propagate the exceptions in user __eq__().Armin Rigo2006-06-011-2/+17
| | | | [ 1456209 ] dictresize() vulnerability ( <- backport candidate ).
* Convert test_exceptions to unittest.Georg Brandl2006-05-301-52/+0
|
* Conversion of exceptions over from faked-up classes to new-style C types.Richard Jones2006-05-271-3/+3
|
* Convert test_compare to use unittest. Hopefully we can find outNeal Norwitz2006-04-091-101/+0
| | | | why this breaks on openbsd sometimes.
* Make test_augassign pass with -Qnew and convert to unittest.Georg Brandl2006-03-281-51/+0
|
* Make test_coercion pass with -Qnew. Converted to unittest on the occasion.Georg Brandl2006-03-281-1054/+0
|
* PEP 352 implementation. Creates a new base class, BaseException, which has anBrett Cannon2006-03-011-3/+3
| | | | | | | | | added message attribute compared to the previous version of Exception. It is also a new-style class, making all exceptions now new-style. KeyboardInterrupt and SystemExit inherit from BaseException directly. String exceptions now raise DeprecationWarning. Applies patch 1104669, and closes bugs 1012952 and 518846.
* Test case to cover subscription bug from SF 1333982Jeremy Hylton2006-02-281-0/+1
|
* Added the cProfile module.Armin Rigo2006-02-082-7/+150
| | | | | | | | | | | | | | | | | | | | | | | Based on lsprof (patch #1212837) by Brett Rosen and Ted Czotter. With further editing by Michael Hudson and myself. History in svn repo: http://codespeak.net/svn/user/arigo/hack/misc/lsprof * Module/_lsprof.c is the internal C module, Lib/cProfile.py a wrapper. * pstats.py updated to display cProfile's caller/callee timings if available. * setup.py and NEWS updated. * documentation updates in the profiler section: - explain the differences between the three profilers that we have now - profile and cProfile can use a unified documentation, like (c)Pickle - mention that hotshot is "for specialized usage" now - removed references to the "old profiler" that no longer exists * test updates: - extended test_profile to cover delicate cases like recursion - added tests for the caller/callee displays - added test_cProfile, performing the same tests for cProfile * TO-DO: - cProfile gives a nicer name to built-in, particularly built-in methods, which could be backported to profile. - not tested on Windows recently!
* Patch #1407135, bug #1424041, make mmap.mmap(-1, length) work the sameNeal Norwitz2006-02-051-0/+1
| | | | | | | | | | | on both Unix (SVR4 and BSD) and Windows. Restores behaviour of passing -1 for anonymous memory on Unix. Use MAP_ANONYMOUS instead of _ANON since the latter is deprecated according to Linux (gentoo) man pages. Should we continue to allow mmap.mmap(0, length) to work on Windows? 0 is a valid fd. Will backport bugfix portions.
* Added a test for the ability to specify a class attribute in Formatter ↵Vinay Sajip2006-01-201-0/+4
| | | | configuration. Contributed by Shane Hathaway.