summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* improve several corner cases related with argument names in parenthesisBenjamin Peterson2009-11-192-1/+17
| | | | | | | | | - Fix #7362: give a good error message for parenthesized arguments with defaults. - Add a py3k warning for any parenthesized arguments since those are not allowed in Py3. This warning is not given in tuple unpacking, since that incurs the tuple unpacking warning.
* #5037 proxy __unicode__ correctlyBenjamin Peterson2009-11-191-0/+11
|
* Issue #7117, continued: Change round implementation to use the ↵Mark Dickinson2009-11-181-1/+139
| | | | | | | | correctly-rounded string <-> float conversions; this makes sure that the result of the round operation is correctly rounded, and hence displays nicely using the new float repr.
* Correctly escape arbitrary error message text in the runpy unit testsNick Coghlan2009-11-181-2/+2
|
* Allow for backslashes in file paths passed to the regex engineNick Coghlan2009-11-161-0/+2
|
* Account for another cache when hunting ref leaksNick Coghlan2009-11-161-3/+16
|
* Issue #2054: ftplib now provides an FTP_TLS class to do secure FTP usingAntoine Pitrou2009-11-151-5/+213
| | | | TLS or SSL. Patch by Giampaolo Rodola'.
* Issue #4969: The mimetypes module now reads the MIME database fromAntoine Pitrou2009-11-151-1/+25
| | | | the registry under Windows. Patch by Gabriel Genellina.
* Avoid signed overflow in some xrange calculations, and extendMark Dickinson2009-11-151-0/+68
| | | | | | xrange tests to cover some special cases that caused problems in py3k. This is a partial backport of r76292-76293 (see issue #7298.)
* Issue #6816: expose the zipfile and directory execution mechanism to Python ↵Nick Coghlan2009-11-155-163/+309
| | | | code via the runpy module. Also consolidated some script execution functionality in the test harness into a helper module and removed some implementation details from the runpy module documentation.
* Remove 'g' from regrtest getopt argument string, since there's noR. David Murray2009-11-151-1/+1
| | | | handler for it.
* Issue 7324: add a sanity check to regrtest argument parsing toR. David Murray2009-11-151-0/+4
| | | | catch the case of an option with no handler.
* Issue #7312 (new feature): Add a -F flag to run the selected tests inR. David Murray2009-11-141-27/+50
| | | | | a loop until a test fails. Can be combined with -j. Patch by Antoine Pitrou.
* fix several compile() issues by translating newlines in the tokenizerBenjamin Peterson2009-11-123-7/+16
|
* Issue #7295: Do not use a hardcoded file name in test_tarfile.Antoine Pitrou2009-11-111-7/+3
|
* Issue #7197: Allow unittest.TextTestRunner objects to be pickled andAntoine Pitrou2009-11-101-1/+15
| | | | | | | unpickled. This fixes crashes under Windows when trying to run test_multiprocessing in verbose mode. Additionally, Test_TextTestRunner hadn't been enabled in test_unittest.
* Add extra information to a test_signal failure message to aid diagnosis of ↵Mark Dickinson2009-11-091-1/+3
| | | | buildbot failure.
* Issue #7251: Break out round tests for large values into a separateMark Dickinson2009-11-091-3/+22
| | | | | | | test function, and skip that test on Linux/alpha systems with a broken system round function. This should turn the Debian/alpha buildbot green.
* Issue #7282: Fix a memory leak when an RLock was used in a thread otherAntoine Pitrou2009-11-092-4/+15
| | | | | than those started through `threading.Thread` (for example, using `thread.start_new_thread()`.
* Kill a small potential leak in test_threading.Antoine Pitrou2009-11-081-0/+2
| | | | | The leak may not manifest itself if the OS re-uses the same thread ids (I suppose Neal's machine doesn't :-))
* Add test for runpy.run_module package execution and use something other than ↵Nick Coghlan2009-11-071-5/+32
| | | | logging as the example of a non-executable package
* Issue #7270: Add some dedicated unit tests for multi-thread synchronizationAntoine Pitrou2009-11-063-18/+568
| | | | primitives such as Lock, RLock, Condition, Event and Semaphore.
* Issue #7211: Allow 64-bit values for the `ident` and `data` fields of keventAntoine Pitrou2009-11-041-0/+11
| | | | | | objects on 64-bit systems. Patch by Michael Broghton. I will revert this checkin if it causes problems on our BSD buildbots.
* Make test_shutil clean up after itselfAntoine Pitrou2009-11-041-53/+57
|
* Try to make test_wsgiref less fragile against environment changes by other testsAntoine Pitrou2009-11-031-1/+8
|
* Add acceptance of long ints to test_memoryio.pyAntoine Pitrou2009-11-021-3/+11
| | | | (in preparation for fix of #7249 in 2.6)
* enable test_parser in lib2to3Benjamin Peterson2009-11-021-2/+3
|
* add spaceBenjamin Peterson2009-11-021-1/+1
|
* Fix and improve some assertions in test_siteAntoine Pitrou2009-11-011-8/+9
|
* Use a custom timeout in test_support.open_urlresource.Antoine Pitrou2009-11-011-2/+10
|
* This should finally fix #6896. Let's watch the buildbots.Antoine Pitrou2009-11-011-0/+3
|
* test_normalization should skip and not crash when the resource isn't availableAntoine Pitrou2009-11-011-2/+5
|
* Fix exception handling in itertools.izip_longest().Raymond Hettinger2009-11-011-0/+40
|
* Hum, test skipping when the URL isn't reachable hadn't been applied to trunk.Antoine Pitrou2009-11-011-1/+4
|
* Use richer assertions in test_mailbox (for better failure messages).Antoine Pitrou2009-10-311-373/+373
|
* Improved test for a deprecation warning.Eric Smith2009-10-311-2/+1
|
* Issue #7042: Use a better mechanism for testing timers in test_signal.Mark Dickinson2009-10-311-2/+10
|
* add some checks for evaluation order with parenthesis #7210Benjamin Peterson2009-10-311-0/+8
|
* Try to fix transient refleaks in test_pydoc.Antoine Pitrou2009-10-301-3/+7
|
* Try to fix transient refleaks in test_xmlrpc.Antoine Pitrou2009-10-301-0/+1
|
* Try to fix transient refleaks in test_asynchat.Antoine Pitrou2009-10-301-2/+2
|
* Fix transient refleaks in test_docxmlrpc.Antoine Pitrou2009-10-301-0/+2
|
* Issue #7222: Make thread "reaping" more reliable so that referenceAntoine Pitrou2009-10-302-12/+44
| | | | | | | leak-chasing test runs give sensible results. The previous method of reaping threads could return successfully while some Thread objects were still referenced. This also introduces a new private function: :func:hread._count().
* Fix constant name.Georg Brandl2009-10-291-1/+1
|
* Use constants instead of magic integers for test result. Do not re-run with ↵Georg Brandl2009-10-291-30/+37
| | | | --verbose3 for environment changing tests.
* Issue #7233: Fix Decimal.shift and Decimal.rotate methods forMark Dickinson2009-10-291-0/+29
| | | | | arguments with more digits than the current context precision. Bug reported by Stefan Krah.
* Issue #7233: A number of two-argument Decimal methods were failing toMark Dickinson2009-10-291-0/+47
| | | | accept ints and longs for the second argument.
* Fix duplicate test numbers in extra.decTestMark Dickinson2009-10-291-16/+15
|
* do a backport of r75928Benjamin Peterson2009-10-291-0/+7
| | | | | The added test does not fail without the patch, but we still fix the issue of surrogates being used in wide builds where they should not be.
* Remove variable that is no longer used.R. David Murray2009-10-281-1/+1
|