summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Check that 'd' isn't allowed as an exponent specifier in inputs to the float ↵Mark Dickinson2010-02-121-0/+3
| | | | function.
* Adding TextTestResult to unittest.__all__Michael Foord2010-02-111-1/+2
|
* Improve issue 7835 fix per MAL to handle the case that theR. David Murray2010-02-111-4/+5
| | | | module dictionary has also been cleared.
* Issue 5754: tweak shelve doc wording to make it clearer that even whenR. David Murray2010-02-111-0/+11
| | | | | | | writeback=True values are written to the backing store when assigned to the shelf. Add test to confirm that this happens. Doc patch and added test by Robert Lehmann. I also fixed the cross references to the sync and close methods.
* Issue 7835: Shelve's __del__ method calls its close method, and itsR. David Murray2010-02-101-1/+5
| | | | | | | | | close method refers to an identifier in the global module namespace. This means that when __del__ is called during interpreter shutdown (if, for example, the calling program still has a pointer to the shelf), sometimes that global identifier would wind up being None, causing mysterious 'ignored' exceptions. This patch checks for the possible None value first before using the global, thus avoiding the error messages.
* #7712: add a temp_cwd context manager to test_support and use it in regrtest ↵Ezio Melotti2010-02-103-25/+93
| | | | to run all the tests in a temporary directory, saving the original CWD in test_support.SAVEDCWD. Thanks to Florent Xicluna who helped with the patch.
* Fix for unittest tests, to be merged to py3kMichael Foord2010-02-101-3/+3
|
* Remove deprecation on assert_. It is used too frequently.Michael Foord2010-02-101-1/+1
|
* Issue 7893 and Issue 7588Michael Foord2010-02-105-37/+77
|
* Issue #2746: Don't escape ampersands and angle brackets ("&", "<", ">")Antoine Pitrou2010-02-092-2/+19
| | | | | | in XML processing instructions and comments. These raw characters are allowed by the XML specification, and are necessary when outputting e.g. PHP code in a processing instruction. Patch by Neil Muller.
* Convert test failure from output-producing to self.fail().Georg Brandl2010-02-081-6/+5
|
* Make assertMultiLineEqual the default for comparing unicode strings.Michael Foord2010-02-082-2/+4
|
* Fix missing string formatting placeholder.Georg Brandl2010-02-081-1/+1
|
* Fix undefined local.Georg Brandl2010-02-081-1/+1
|
* Fix missing string formatting argument.Georg Brandl2010-02-081-1/+1
|
* Fix exc_value -> exception in docstringEzio Melotti2010-02-081-1/+1
|
* logging: gingerly re-enabling skipped tests after improving thread sync code ↵Vinay Sajip2010-02-082-4/+6
| | | | in configurator.
* Issue #7857: Another attempt to keep the buildbots happy.Vinay Sajip2010-02-081-1/+3
|
* logging: skipped listening tests because they're not working reliably.Vinay Sajip2010-02-081-0/+2
|
* Removed spurious print statement in test.Vinay Sajip2010-02-081-1/+0
|
* Fix test_fnmatch.Georg Brandl2010-02-081-5/+5
|
* Skip test_strtod entirely when correctly-rounded string->float isn't implementedMark Dickinson2010-02-071-2/+4
|
* Issue 6003: ZipFile.writestr "compression_type" argumentRonald Oussoren2010-02-072-1/+19
|
* assertRaises as context manager now allows you to access exception as documentedMichael Foord2010-02-072-3/+8
|
* 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-072-11/+3
|
* 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
|
* logging: Removed some more 1.5.2 support code.Vinay Sajip2010-02-071-24/+3
|
* Add missing global declarations for 'overflowok'; remove 'overflowrequired', ↵Mark Dickinson2010-02-071-9/+7
| | | | which is no longer needed.
* Issue #7869: logging: improved format-time diagnostics and removed some ↵Vinay Sajip2010-02-072-17/+7
| | | | 1.5.2 support code.
* 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.
* Use "regexp" consistently.Georg Brandl2010-02-071-8/+8
|
* Remove call to gestalt('sysu') from platform.py. This gestalt call isRonald Oussoren2010-02-071-19/+1
| | | | | | not available on OSX an appearently causes problems for some users. Fixes issue 7812
* Issue #7868: logging: added loggerClass attribute to Manager.Vinay Sajip2010-02-072-10/+38
|
* Add missing import.Georg Brandl2010-02-061-0/+1
|
* Fix some name errors in Mac modules.Georg Brandl2010-02-063-3/+4
|
* Add missing import when running these tests standalone.Georg Brandl2010-02-061-2/+2
|
* Add missing import when running these tests standalone.Georg Brandl2010-02-069-11/+22
|
* 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
|