Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #8576: logging updated to remove usage of find_unused_port(). | Vinay Sajip | 2010-05-03 | 1 | -4/+5 |
| | |||||
* | Issue #7449, last part (11): fix many tests if thread support is disabled | Victor Stinner | 2010-04-27 | 1 | -2/+6 |
| | | | | | | * Use try/except ImportError or test_support.import_module() to import thread and threading modules * Add @unittest.skipUnless(threading, ...) to testcases using threads | ||||
* | logging: Added getChild utility method to Logger and added isEnabledFor ↵ | Vinay Sajip | 2010-03-22 | 1 | -1/+19 |
| | | | | method to LoggerAdapter. | ||||
* | Issue #8201: logging: Handle config errors when non-ASCII and Unicode logger ↵ | Vinay Sajip | 2010-03-22 | 1 | -0/+6 |
| | | | | names exist at the same time. | ||||
* | Added schema version test in dictConfig. | Vinay Sajip | 2010-03-06 | 1 | -0/+84 |
| | |||||
* | logging: gingerly re-enabling skipped tests after improving thread sync code ↵ | Vinay Sajip | 2010-02-08 | 1 | -2/+0 |
| | | | | 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 |
| | |||||
* | Remove unused imports in test modules. | Georg Brandl | 2010-02-07 | 1 | -1/+0 |
| | |||||
* | Issue #7868: logging: added loggerClass attribute to Manager. | Vinay Sajip | 2010-02-07 | 1 | -5/+22 |
| | |||||
* | make waiting for the server to start robust | Benjamin Peterson | 2010-02-06 | 1 | -1/+1 |
| | |||||
* | Remove unused imports from test_logging. | Georg Brandl | 2010-02-06 | 1 | -3/+0 |
| | |||||
* | Issue #7857: Gave server thread more time to get ready, and re-enabled a ↵ | Vinay Sajip | 2010-02-06 | 1 | -1/+2 |
| | | | | skipped test. | ||||
* | Issue #7857: Tentatively re-enabling one test to see effect on buildbots. | Vinay Sajip | 2010-02-06 | 1 | -1/+1 |
| | |||||
* | test_logging: minor tweaks to timeouts, listening tests marked as skipped. | Vinay Sajip | 2010-02-05 | 1 | -3/+6 |
| | |||||
* | Issue #7857: test_logging: listener tests disabled for now. | Vinay Sajip | 2010-02-05 | 1 | -2/+2 |
| | |||||
* | Issue #7857: test_logging: listener test now uses find_unused_port(). | Vinay Sajip | 2010-02-05 | 1 | -18/+20 |
| | |||||
* | Added unit test for cfg:// resolution. | Vinay Sajip | 2010-02-04 | 1 | -0/+33 |
| | |||||
* | Logging: Implemented PEP 391. | Vinay Sajip | 2010-02-04 | 1 | -9/+664 |
| | |||||
* | More yearly updates. | Georg Brandl | 2010-01-01 | 1 | -2/+2 |
| | |||||
* | fix a few cases where automated fail -> assert translation messed up | Benjamin Peterson | 2009-07-01 | 1 | -23/+23 |
| | | | | Thanks Joe Amenta | ||||
* | convert usage of fail* to assert* | Benjamin Peterson | 2009-06-30 | 1 | -26/+26 |
| | |||||
* | Issue #5768: Change to Unicode output logic and test case for same. | Vinay Sajip | 2009-04-16 | 1 | -0/+1 |
| | |||||
* | Issue #5695: Minor tweak to improve the code as suggested by Brett Cannon ↵ | Vinay Sajip | 2009-04-07 | 1 | -1/+1 |
| | | | | and as implemented in the Py3K branch. | ||||
* | Issue #5695: Moved logging.captureWarnings() call inside with statement in ↵ | Vinay Sajip | 2009-04-05 | 1 | -1/+1 |
| | | | | WarningsTest.test_warnings. | ||||
* | test_logging was blindly clearing the warnings filter. This caused | Brett Cannon | 2009-04-01 | 1 | -22/+24 |
| | | | | | PendingDeprecationWarnings to be spewed all over by unittest.failIf*(). Fix moves over to using warnings.catch_warning to protect the warnings filter. | ||||
* | Issue #5170: Fixed Unicode output bug in logging and added test case. This ↵ | Vinay Sajip | 2009-02-08 | 1 | -2/+25 |
| | | | | is a regression which did not occur in 2.5. | ||||
* | Issue #4384: Added logging integration with warnings module using ↵ | Vinay Sajip | 2008-12-03 | 1 | -2/+29 |
| | | | | captureWarnings(). This change includes a NullHandler which does nothing; it will be of use to library developers who want to avoid the "No handlers could be found for logger XXX" message which can appear if the library user doesn't configure logging. | ||||
* | Issue #3809: Fixed spurious 'test.blah' file left behind by test_logging. | Vinay Sajip | 2008-09-09 | 1 | -2/+2 |
| | |||||
* | Issue #3772: Fixed regression problem in StreamHandler.emit(). | Vinay Sajip | 2008-09-04 | 1 | -1/+27 |
| | |||||
* | Issue #3726: Allowed spaces in separators in logging configuration files. | Vinay Sajip | 2008-09-03 | 1 | -0/+45 |
| | |||||
* | Issue #3389: Allow resolving dotted names for handlers in logging ↵ | Vinay Sajip | 2008-07-18 | 1 | -2/+7 |
| | | | | configuration files. Thanks to Philip Jenvey for the patch. | ||||
* | socketserver renaming reversal part 3: move the module into the right | Georg Brandl | 2008-05-24 | 1 | -1/+1 |
| | | | | place and fix all references to it. Closes #2926. | ||||
* | Updated all import statements to use the new socketserver module name. | Alexandre Vassalotti | 2008-05-12 | 1 | -1/+1 |
| | | | | | Renamed socketserver module in its own documentation. Renamed documentation references. | ||||
* | Correctly call the base class tearDown(); | Amaury Forgeot d'Arc | 2008-03-29 | 1 | -0/+1 |
| | | | | otherwise running test_logging twice produce the errors we see on all buildbots | ||||
* | Refactor test_logging to use unittest. This should finally solve the flakiness | Brett Cannon | 2008-03-03 | 1 | -2163/+751 |
| | | | | | | issues. Thanks to Antoine Pitrou for the patch. | ||||
* | Patch #2167 from calvin: Remove unused imports | Christian Heimes | 2008-02-23 | 1 | -2/+2 |
| | |||||
* | #2165: fix test_logging failure on some machines. | Georg Brandl | 2008-02-23 | 1 | -23/+13 |
| | |||||
* | Move test_logging over to doctest. | Brett Cannon | 2008-02-17 | 1 | -446/+2005 |
| | | | | Thanks to Christopher White from GHOP. | ||||
* | Fix resource leak reported in SF #1516995. | Vinay Sajip | 2007-03-11 | 1 | -0/+2 |
| | |||||
* | Repair logging test spew caused by rev. 51206. | Georg Brandl | 2006-08-12 | 1 | -2/+2 |
| | |||||
* | Added duplicate call to fileConfig() to ensure that it cleans up after ↵ | Vinay Sajip | 2006-07-01 | 1 | -0/+2 |
| | | | | itself correctly. | ||||
* | Bug #1473625: stop cPickle making float dumps locale dependent in protocol 0. | Georg Brandl | 2006-04-30 | 1 | -14/+5 |
| | | | | | On the way, add a decorator to test_support to facilitate running single test functions in different locales with automatic cleanup. | ||||
* | Backout the last hack and add in this new one. | Neal Norwitz | 2006-03-05 | 1 | -14/+8 |
| | | | | | | | | | | | | | | | The failure definitely seems timing related. This change *seems* to work. Since the failure isn't doesn't occur consistently, it's hard to tell. Running these tests on Solaris in this order: test_urllibnet test_operator test_cgi \ test_isinstance test_future test_ast test_logging generally caused a failure (about 50% of the time) before the sleep. I couldn't provoke the failure with the sleep. This should really be cleaned up by using threading.Events or something so it is not timing dependent and doesn't hang forever on failure. | ||||
* | I think the test_logging failure on Solaris is timing related. We don't | Neal Norwitz | 2006-03-03 | 1 | -5/+14 |
| | | | | | | | want to wait forever if we don't receive the last message. But we also don't want the test to fail if we shutdown too quickly. I can't reliably reproduce this failure, so I'm kinda guessing this is the problem. We'll see if this band-aid helps. | ||||
* | Added lock acquisition/release around shared data structure manipulation | Vinay Sajip | 2006-02-09 | 1 | -19/+34 |
| | |||||
* | Saved and restored logging._handlerList at the same time as saving/restoring ↵ | Vinay Sajip | 2006-02-07 | 1 | -0/+4 |
| | | | | logging._handlers. | ||||
* | Get test_logging to not hang when running under regrtest.py -R :: | Neal Norwitz | 2006-02-05 | 1 | -4/+4 |
| | | | | | | | | | | | | | | Not sure why/how _handlers/_handlerList is out of sync. This could indicate a deeper problem. In test_logging, the only absolutely necessary change to get working was tcpserver.abort = 1. But we don't want to wait infinitely to join the threads, so give a 2.0 second timeout. There doesn't appear to be a need for a local abort variable in serve_until_stopped, so just use the instance member. Note the problem is only on HEAD, not in 2.4. | ||||
* | Whitespace normalization. | Tim Peters | 2006-01-29 | 1 | -1/+1 |
| |