summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* #9440: Remove borderline test case that fails based on unpredictable ↵Georg Brandl2010-07-311-4/+0
| | | | conditions such as compiler flags.
* Re-commit r83327 now that the release is done.Georg Brandl2010-07-311-1/+47
|
* Import test_pdb with its full name, so that running python -m test.test_pdb ↵Georg Brandl2010-07-311-8/+8
| | | | succeeds.
* Revert r83327. This will have to wait until after the alpha1 release.Georg Brandl2010-07-311-47/+1
|
* Add functools.lfu_cache() and functools.lru_cache().Raymond Hettinger2010-07-311-1/+47
|
* Avoid triggering DeprecationWarnings in test_smtpd and smtpd.Georg Brandl2010-07-311-26/+27
|
* Fix an oversight in r83294. unquote() should reject bytes. Issue #9301.Florent Xicluna2010-07-311-0/+1
|
* Make urllib tests pass for now. Will figure out what the correct semantics ↵Georg Brandl2010-07-311-4/+4
| | | | should be after release.
* Fix pdb test failures on the buildbots.Georg Brandl2010-07-311-3/+3
|
* Fix issue9301 - handle unquote({}) kind of case.Senthil Kumaran2010-07-301-1/+3
|
* Show the traceback line numbers as well as the current line numbers if an ↵Georg Brandl2010-07-301-0/+62
| | | | exception is being debugged. Courtesy of pdb++ by Antonio Cuni. Also document -> and >> markers for "list".
* Test that "source" with nonexisting things works as expected.Georg Brandl2010-07-301-0/+3
|
* Add "longlist" and "source" commands, ideas borrowed from pdb++ by Antonio Cuni.Georg Brandl2010-07-301-0/+99
|
* Several enhancements to pdb and its test suite.Georg Brandl2010-07-302-79/+204
| | | | | | | * added basic test for basic commands * removed duplication of command docs, and moved them to their implementation * unified and useful display of exceptions * output messages and errors using overridable methods (also fixes #1503502)
* pdb now has its own tests.Georg Brandl2010-07-301-1/+0
|
* #7964 followup: add test case to ensure issue remains fixed.Georg Brandl2010-07-301-0/+24
|
* #809887: improve pdb feedback for breakpoint-related actions. Also add a ↵Georg Brandl2010-07-301-2/+80
| | | | functional test for these commands.
* #5294: Fix the behavior of pdb "continue" command when called in the ↵Georg Brandl2010-07-301-0/+42
| | | | top-level debugged frame.
* Issue #8048: Prevent doctests from failing when sys.displayhook hasGeorg Brandl2010-07-301-0/+29
| | | | been reassigned.
* #1472251: remove addition of "\n" to code given to pdb.run[eval](), the bug ↵Georg Brandl2010-07-301-2/+45
| | | | in exec() that made this necessary has been fixed. Also document that you can give code objects to run() and runeval(), and add some tests to test_pdb.
* #4108: the first default entry (User-agent: *) wins.Georg Brandl2010-07-291-0/+14
|
* Fix #9412: make list of messages an instance attribute instead of class ↵Georg Brandl2010-07-291-1/+3
| | | | attribute.
* #9411: allow selecting an encoding for configparser files. Also adds a new ↵Georg Brandl2010-07-292-1/+114
| | | | test config file to test special cases.
* Update test_os.py according to my last changes on _Environ.__repr__()Victor Stinner2010-07-291-1/+3
|
* Add missing file.Georg Brandl2010-07-281-0/+537
|
* Syntax cleanup.Florent Xicluna2010-07-284-8/+6
|
* Fix Issue6325 - robotparse to honor urls with query strings.Senthil Kumaran2010-07-281-0/+11
|
* #1682942: add some ConfigParser features: alternate delimiters, alternate ↵Georg Brandl2010-07-281-95/+185
| | | | comments, empty lines in values. Also enhance the docs with more examples and mention SafeConfigParser before ConfigParser. Patch by Lukas Langa, review by myself, Eric and Ezio.
* #9354: Provide getsockopt() in asyncore file_wrapper(). Patch by Lukas Langa.Georg Brandl2010-07-281-0/+13
|
* With skipUnless there is no need to add test classes conditionally.Ezio Melotti2010-07-271-6/+3
|
* Use proper skips and assert* methods in test_asyncore.Ezio Melotti2010-07-271-96/+97
|
* Issue #4770: Restrict binascii module to accept only bytes (as specified).Florent Xicluna2010-07-272-13/+14
| | | | And fix the email package to encode to ASCII instead of ``raw-unicode-escape`` before ASCII-to-binary decoding.
* The default size of the re module's compiled regular expression cache hasGregory P. Smith2010-07-271-0/+63
| | | | | | | | been increased from 100 to 500 and the cache replacement policy has changed from simply clearing the entire cache on overflow to randomly forgetting 20% of the existing cached compiled regular expressions. This is a performance win for applications that use a lot of regular expressions and limits the impact of the performance hit anytime the cache is exceeded.
* Make python version of fromtimestamp behave more like C.Alexander Belopolsky2010-07-261-1/+7
|
* Fix #7113. Patch by Łukasz Langa.Brian Curtin2010-07-261-7/+37
| | | | | Changes include using a list of lines instead of patching together using string interpolation, and a multi-line value test cases.
* #777884: make .normalize() do nothing for childless nodes, instead of ↵Andrew M. Kuchling2010-07-251-0/+8
| | | | raising an exception
* Issue #4686 - add .args to exceptions in the configparsermoduleMichael Foord2010-07-251-15/+35
|
* Corrected comments on where settrace and setprofile are tested.Alexander Belopolsky2010-07-251-2/+2
|
* Issue #9315: Renamed test_trace to test_sys_settrace andAlexander Belopolsky2010-07-252-0/+0
| | | | | test_profilehooks to test_sys_setprofile so that test_trace can be used for testing the trace module and for naming consistency.
* Issue #9315: Revert r83005 before renaming test_trace toAlexander Belopolsky2010-07-251-0/+0
| | | | | test_sys_settrace and test_profilehooks to test_sys_setprofile in all three branches.
* Fix for issue 9367: the test code for os.getgroupsRonald Oussoren2010-07-241-1/+5
| | | | | | assumes that the result of getgroups and the output of the id(1) command return groups in the same order. That assumption is both fragile and false.
* Issue #4629: getopt raises an error if an argument ends with = whereas getoptVictor Stinner2010-07-241-0/+6
| | | | | doesn't except a value (eg. --help= is rejected if getopt uses ['help='] long options).
* Issue #7989: Added pure python implementation of the datetime module.Alexander Belopolsky2010-07-232-3662/+3710
|
* Add queue tests for empty, full, put_nowait, and get_nowait.Brett Cannon2010-07-231-0/+23
| | | | Closes issue 9357. Thanks to Brian Brazil for the patch.
* Tab test_repr_daemon over so it's included in ThreadTests.Brian Curtin2010-07-231-5/+5
| | | | Noticed by Amaury.
* Add tests for fnmatch.filter and translate.Brett Cannon2010-07-231-2/+24
| | | | Partially closes issue 9356. Thanks to Brian Brazil for the patch.
* New tests for smtpd module. Has full coverage for SMTPChannel and SMTPServer.Richard Jones2010-07-231-0/+221
|
* Add more tests for the threading.Thread.repr.Brett Cannon2010-07-231-1/+8
| | | | Partially closes issue 9346. Thanks to Brian Brazil for the patch.
* Stop shadowing a test class.Brett Cannon2010-07-231-2/+2
|
* Explicitly test relative imports by reusing importlib tests.Brett Cannon2010-07-231-1/+14
| | | | Closes issue 8392. Thanks Virgil Dupras for the initial patch.