summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Test calendar.monthrange.Brett Cannon2010-07-231-0/+29
| | | | Closes issue 9342. Thanks John Chandler for the patch.
* This fixes issue7900 by adding code that dealsRonald Oussoren2010-07-231-1/+52
| | | | | | | | | with the fact that getgroups(2) might return more that MAX_GROUPS on OSX. See the issue (and python-dev archives) for the gory details. Summarized: OSX behaves rather oddly and Apple says this is intentional.
* Issue #6095: Make directory argument to os.listdir optional.Martin v. Löwis2010-07-231-3/+8
| | | | Patch by Virgil Dupras.
* Fix for issue 7895. Avoid crashing the interpreterRonald Oussoren2010-07-231-0/+19
| | | | | | when calling platform.mac_ver after calling os.fork by reading from a system configuration file instead of using OSX APIs.
* Minor tweak of test_osx_env toRonald Oussoren2010-07-231-1/+1
| | | | | avoid failing when the framework is not yet installed.
* Workaround for issue 4047: in some configurations ofRonald Oussoren2010-07-231-0/+15
| | | | | | | | | the Crash Reporter on OSX test_subprocess will trigger the reporter. This patch prints a warning when the Crash Reporter will get triggered intentionally, which should avoid confusing people.
* Skip this test as it doesn't apply to Windows. It was added forBrian Curtin2010-07-221-0/+1
| | | | #9189 for some GCC flags.
* Issue #5395: check that array.fromfile() re-raises an IOError instead of ↵Antoine Pitrou2010-07-211-0/+11
| | | | | | | replacing it with EOFError. (this is only an added test, but 2.x will get a fix too)
* revert unintended changesBenjamin Peterson2010-07-201-8/+0
|
* move test_trace.py so as not to conflict with future tests for the trace moduleBenjamin Peterson2010-07-202-0/+8
|
* Fixes Issue #3704: http.cookiejar was not properly handling URLs with a / inGregory P. Smith2010-07-191-26/+38
| | | | the parameters. (This is jjlee's issue3704.patch ported to py3k)
* Fix Issue9301 - urllib.parse.unquote and unquote_to_byte to raise TypeError ↵Senthil Kumaran2010-07-191-0/+3
| | | | for None.
* Sub-issue of #9036: Fix incorrect use of Py_CHARMASK.Stefan Krah2010-07-191-0/+1
|
* Issue #9265: Incorrect name passed as arg[0] when shell=TrueStefan Krah2010-07-191-0/+19
| | | | and executable specified.
* This patch adds a testcase that demonstrates a problemRonald Oussoren2010-07-191-0/+6
| | | | | | | | | with the expansion of LDSHARED when accessing that value through sysconfig. The problem is probably caused by the 9189. A fix will follow shortly.
* Issue #5180: Fixed a bug that prevented loading 2.x pickles in 3.xAlexander Belopolsky2010-07-171-0/+69
| | | | python when they contain instances of old-style classes.
* Fix possible failure in pickling tests due to different instantiationsAntoine Pitrou2010-07-161-0/+10
| | | | of the random module being around.
* Issue #9251: test_threaded_import didn't fail when run through regrtestAntoine Pitrou2010-07-141-55/+50
| | | | if the import lock was disabled.
* Fix Issue5842 - Moving the tests out of urllib.parse moduleSenthil Kumaran2010-07-141-0/+32
|
* Woops, test_sndhdr.py contains the same code twice: fix itVictor Stinner2010-07-131-24/+0
|
* Issue #9243: Fix sndhdr module and add unit tests, contributed by James Lee.Victor Stinner2010-07-1310-0/+59
|
* Set sys.modules[name] to None instead of 0 to block module import.Alexander Belopolsky2010-07-131-1/+1
|
* Yield more information on failure in test_struct boolean test.Mark Dickinson2010-07-121-2/+7
|