Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Check that 'd' isn't allowed as an exponent specifier in inputs to the float ↵ | Mark Dickinson | 2010-02-12 | 1 | -0/+3 |
| | | | | function. | ||||
* | Adding TextTestResult to unittest.__all__ | Michael Foord | 2010-02-11 | 1 | -1/+2 |
| | |||||
* | Improve issue 7835 fix per MAL to handle the case that the | R. David Murray | 2010-02-11 | 1 | -4/+5 |
| | | | | module dictionary has also been cleared. | ||||
* | Issue 5754: tweak shelve doc wording to make it clearer that even when | R. David Murray | 2010-02-11 | 1 | -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 its | R. David Murray | 2010-02-10 | 1 | -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 Melotti | 2010-02-10 | 3 | -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 py3k | Michael Foord | 2010-02-10 | 1 | -3/+3 |
| | |||||
* | Remove deprecation on assert_. It is used too frequently. | Michael Foord | 2010-02-10 | 1 | -1/+1 |
| | |||||
* | Issue 7893 and Issue 7588 | Michael Foord | 2010-02-10 | 5 | -37/+77 |
| | |||||
* | Issue #2746: Don't escape ampersands and angle brackets ("&", "<", ">") | Antoine Pitrou | 2010-02-09 | 2 | -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 Brandl | 2010-02-08 | 1 | -6/+5 |
| | |||||
* | Make assertMultiLineEqual the default for comparing unicode strings. | Michael Foord | 2010-02-08 | 2 | -2/+4 |
| | |||||
* | Fix missing string formatting placeholder. | Georg Brandl | 2010-02-08 | 1 | -1/+1 |
| | |||||
* | Fix undefined local. | Georg Brandl | 2010-02-08 | 1 | -1/+1 |
| | |||||
* | Fix missing string formatting argument. | Georg Brandl | 2010-02-08 | 1 | -1/+1 |
| | |||||
* | Fix exc_value -> exception in docstring | Ezio Melotti | 2010-02-08 | 1 | -1/+1 |
| | |||||
* | logging: gingerly re-enabling skipped tests after improving thread sync code ↵ | Vinay Sajip | 2010-02-08 | 2 | -4/+6 |
| | | | | in configurator. | ||||
* | Issue #7857: Another attempt to keep the buildbots happy. | Vinay Sajip | 2010-02-08 | 1 | -1/+3 |
| | |||||
* | logging: skipped listening tests because they're not working reliably. | Vinay Sajip | 2010-02-08 | 1 | -0/+2 |
| | |||||
* | Removed spurious print statement in test. | Vinay Sajip | 2010-02-08 | 1 | -1/+0 |
| | |||||
* | Fix test_fnmatch. | Georg Brandl | 2010-02-08 | 1 | -5/+5 |
| | |||||
* | Skip test_strtod entirely when correctly-rounded string->float isn't implemented | Mark Dickinson | 2010-02-07 | 1 | -2/+4 |
| | |||||
* | Issue 6003: ZipFile.writestr "compression_type" argument | Ronald Oussoren | 2010-02-07 | 2 | -1/+19 |
| | |||||
* | assertRaises as context manager now allows you to access exception as documented | Michael Foord | 2010-02-07 | 2 | -3/+8 |
| | |||||
* | Remove unused imports in test modules. | Georg Brandl | 2010-02-07 | 74 | -135/+40 |
| | |||||
* | Rename "exc_value" attribute on assertRaises context manager to "exception". | Georg Brandl | 2010-02-07 | 2 | -11/+3 |
| | |||||
* | Issue #7870: Remove duplicate test methods. Reported by Georg Brandl. | Antoine Pitrou | 2010-02-07 | 1 | -19/+0 |
| | |||||
* | Actually raise on failure, instead of doing nothing. | Mark Dickinson | 2010-02-07 | 1 | -2/+2 |
| | |||||
* | logging: Removed some more 1.5.2 support code. | Vinay Sajip | 2010-02-07 | 1 | -24/+3 |
| | |||||
* | Add missing global declarations for 'overflowok'; remove 'overflowrequired', ↵ | Mark Dickinson | 2010-02-07 | 1 | -9/+7 |
| | | | | which is no longer needed. | ||||
* | Issue #7869: logging: improved format-time diagnostics and removed some ↵ | Vinay Sajip | 2010-02-07 | 2 | -17/+7 |
| | | | | 1.5.2 support code. | ||||
* | Remove duplicate test method. | Georg Brandl | 2010-02-07 | 1 | -6/+1 |
| | |||||
* | Add a minimal test for fnmatchcase(). | Georg Brandl | 2010-02-07 | 1 | -0/+5 |
| | |||||
* | Fix a redefined test method. | Georg Brandl | 2010-02-07 | 1 | -9/+8 |
| | |||||
* | Fix two redefined test methods. | Georg Brandl | 2010-02-07 | 1 | -2/+2 |
| | |||||
* | Fix wrong usage of "except X, Y:". | Georg Brandl | 2010-02-07 | 1 | -1/+1 |
| | |||||
* | Fix another duplicated test method. | Georg Brandl | 2010-02-07 | 1 | -7/+6 |
| | |||||
* | A number of APIs in macostools cannot work in 64-bit mode because they | Ronald Oussoren | 2010-02-07 | 1 | -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 Brandl | 2010-02-07 | 1 | -8/+8 |
| | |||||
* | Remove call to gestalt('sysu') from platform.py. This gestalt call is | Ronald Oussoren | 2010-02-07 | 1 | -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 Sajip | 2010-02-07 | 2 | -10/+38 |
| | |||||
* | Add missing import. | Georg Brandl | 2010-02-06 | 1 | -0/+1 |
| | |||||
* | Fix some name errors in Mac modules. | Georg Brandl | 2010-02-06 | 3 | -3/+4 |
| | |||||
* | Add missing import when running these tests standalone. | Georg Brandl | 2010-02-06 | 1 | -2/+2 |
| | |||||
* | Add missing import when running these tests standalone. | Georg Brandl | 2010-02-06 | 9 | -11/+22 |
| | |||||
* | Fix more unbound locals in code paths that do not seem to be used. | Georg Brandl | 2010-02-06 | 3 | -4/+8 |
| | |||||
* | Fix import/access for some identifiers. _TestSharedCTypes does not seem to ↵ | Georg Brandl | 2010-02-06 | 1 | -3/+3 |
| | | | | be executed? | ||||
* | We heard you like test failures so we put unbound locals in your test so ↵ | Georg Brandl | 2010-02-06 | 1 | -8/+8 |
| | | | | that you can fail while you fail. | ||||
* | Fix various missing import/unbound name errors. | Georg Brandl | 2010-02-06 | 4 | -10/+11 |
| | |||||
* | Remove duplicate test method. | Georg Brandl | 2010-02-06 | 1 | -8/+0 |
| |