summaryrefslogtreecommitdiff
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* Remove unused imports in test modules.Georg Brandl2010-02-0774-135/+40
|
* Rename "exc_value" attribute on assertRaises context manager to "exception".Georg Brandl2010-02-071-9/+1
|
* Issue #7870: Remove duplicate test methods. Reported by Georg Brandl.Antoine Pitrou2010-02-071-19/+0
|
* Actually raise on failure, instead of doing nothing.Mark Dickinson2010-02-071-2/+2
|
* Add missing global declarations for 'overflowok'; remove 'overflowrequired', ↵Mark Dickinson2010-02-071-9/+7
| | | | which is no longer needed.
* Remove duplicate test method.Georg Brandl2010-02-071-6/+1
|
* Add a minimal test for fnmatchcase().Georg Brandl2010-02-071-0/+5
|
* Fix a redefined test method.Georg Brandl2010-02-071-9/+8
|
* Fix two redefined test methods.Georg Brandl2010-02-071-2/+2
|
* Fix wrong usage of "except X, Y:".Georg Brandl2010-02-071-1/+1
|
* Fix another duplicated test method.Georg Brandl2010-02-071-7/+6
|
* A number of APIs in macostools cannot work in 64-bit mode because theyRonald Oussoren2010-02-071-29/+31
| | | | | | | | | | | use Carbon APIs that aren't available there. This patch disables tests for the affected entrypoints in macostools and mentions this in the documentation. In theory it is possible to replace the implementation by code that does work in 64-bit mode, but that would require further updates to the Carbon wrappers because the modern APIs aren't wrapped properly.
* Issue #7868: logging: added loggerClass attribute to Manager.Vinay Sajip2010-02-071-5/+22
|
* Add missing import.Georg Brandl2010-02-061-0/+1
|
* Fix more unbound locals in code paths that do not seem to be used.Georg Brandl2010-02-063-4/+8
|
* Fix import/access for some identifiers. _TestSharedCTypes does not seem to ↵Georg Brandl2010-02-061-3/+3
| | | | be executed?
* We heard you like test failures so we put unbound locals in your test so ↵Georg Brandl2010-02-061-8/+8
| | | | that you can fail while you fail.
* Fix various missing import/unbound name errors.Georg Brandl2010-02-064-10/+11
|
* Remove duplicate test method.Georg Brandl2010-02-061-8/+0
|
* Add missing import.Georg Brandl2010-02-061-0/+1
|
* testCopysign was defined twice in test_math; combine the definitionsMark Dickinson2010-02-061-25/+24
|
* Fix a few UnboundLocalErrors in test_long.Georg Brandl2010-02-061-4/+3
|
* Add missing imports.Georg Brandl2010-02-062-0/+2
|
* Add a missing import.Georg Brandl2010-02-061-0/+1
|
* make waiting for the server to start robustBenjamin Peterson2010-02-061-1/+1
|
* Remove unused imports from test_logging.Georg Brandl2010-02-061-3/+0
|
* Issue #7857: Gave server thread more time to get ready, and re-enabled a ↵Vinay Sajip2010-02-061-1/+2
| | | | skipped test.
* check type_getattro for correctness in a descriptor corner caseBenjamin Peterson2010-02-061-0/+9
|
* Issue #7857: Tentatively re-enabling one test to see effect on buildbots.Vinay Sajip2010-02-061-1/+1
|
* issue #7728: test_timeout was using a hardcoded port, which wasR. David Murray2010-02-061-3/+5
| | | | | causing buildbot failures. Changed to use test_support.bind_port. Patch by Florent Xicluna.
* unittest.TestLoader creates a TestSuite before calling load_tests. Issue 7799.Michael Foord2010-02-061-0/+2
|
* test_logging: minor tweaks to timeouts, listening tests marked as skipped.Vinay Sajip2010-02-051-3/+6
|
* Issue #5677: Explicitly forbid write operations on read-only file objects,Antoine Pitrou2010-02-052-1/+37
| | | | | | and read operations on write-only file objects. On Windows, the system C library would return a bogus result; on Solaris, it was possible to crash the interpreter. Patch by Stefan Krah.
* Issue #7857: test_logging: listener tests disabled for now.Vinay Sajip2010-02-051-2/+2
|
* Issue #7857: test_logging: listener test now uses find_unused_port().Vinay Sajip2010-02-051-18/+20
|
* normalize exceptions passed to the __exit__ method #7853Benjamin Peterson2010-02-052-1/+11
| | | | | | | | | In Python 2.x, exceptions in finally blocks are not normalized. Since with statements are implemented using finally blocks, ceval.c had to be tweaked to distinguish between with finally blocks and normal ones. A test for the finalization of generators containing with statements was also added.
* add a test for #7853; the exception must be normalized for withBenjamin Peterson2010-02-051-3/+20
|
* Added unit test for cfg:// resolution.Vinay Sajip2010-02-041-0/+33
|
* Logging: Implemented PEP 391.Vinay Sajip2010-02-041-9/+664
|
* Fix a typo in a docstring introduced in r77956.Brett Cannon2010-02-031-1/+1
|
* Update a docstring to suggest using importlib.import_module instead of ↵Brett Cannon2010-02-031-1/+1
| | | | calling __import__ directly.
* Fix test_inspect.py data to match recent change to inspect_fodder.py (r77942).Mark Dickinson2010-02-031-1/+1
|
* #7092: Silence more py3k warnings. Patch by Florent Xicluna.Ezio Melotti2010-02-0334-74/+91
|
* sysconfig.get_scheme_names now returns a sorted tupleTarek Ziadé2010-02-021-1/+7
|
* #7092: Silence py3k warnings in test_exceptions and test_pep352. Patch by ↵Ezio Melotti2010-02-022-69/+78
| | | | Florent Xicluna.
* Fix idioms and a couple of py3k warnings. Patch by Florent Xicluna.Ezio Melotti2010-02-021-2/+1
|
* Silence a couple of -3 warningsEzio Melotti2010-02-021-2/+5
|
* #7092: silence py3k warnings for bsddb. Patch by Florent Xicluna.Ezio Melotti2010-02-021-0/+2
|
* Issue #7819: Check sys.call_tracing() arguments types.Victor Stinner2010-01-311-0/+4
| | | | py3k was already patched by issue #3661.
* - Issue #6939: Fix file I/O objects in the `io` module to keep the originalAntoine Pitrou2010-01-314-7/+33
| | | | | | file position when calling `truncate()`. It would previously change the file position to the given argument, which goes against the tradition of ftruncate() and other truncation APIs. Patch by Pascal Chambon.