Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Updating for 2.6a2v2.6a2 | Barry Warsaw | 2008-04-03 | 2 | -2/+5 |
| | |||||
* | Remove debug prints; the buildbot now passes the tests | Amaury Forgeot d'Arc | 2008-04-02 | 1 | -14/+0 |
| | |||||
* | Fix: #2315, #2316, #2317: TimedRotatingFileHandler - changed logic to better ↵ | Vinay Sajip | 2008-04-02 | 1 | -10/+62 |
| | | | | handle daylight savings time, deletion of old log files, and fixed a bug in calculating rollover when no logging occurs for a longer interval than the rollover period. | ||||
* | Apply same patch from 3k branch to try and prevent this test from hanging | Neal Norwitz | 2008-04-02 | 1 | -0/+1 |
| | | | | on various platforms, most recently the Alpha Tru64. | ||||
* | Try to make test_signal less flaky. I still see some flakiness in | Jeffrey Yasskin | 2008-04-02 | 1 | -6/+24 |
| | | | | test_itimer_prof. | ||||
* | A DocTestSuite cannot run multiple times: it clears its globals dictionary ↵ | Amaury Forgeot d'Arc | 2008-04-02 | 1 | -3/+2 |
| | | | | | | after the first run. Rebuild the DocTestSuite on each iteration. | ||||
* | Correct the apparent refleak in test_io: | Amaury Forgeot d'Arc | 2008-04-02 | 1 | -12/+10 |
| | | | | | | | | | | | | | | | When cls is an ABCMeta, every call to isinstance(x, cls) records type(x) in the cls._abc_cache of cls_abc_negative_cache. So we clear these caches at the end of the test. inspect.isabstract() is not the correct test for all ABCs, because there is no @abstractmethod in io.py (why?) isinstance(cls, ABCMeta) would be more exact, but it fails with an infinite recursion. So I used a hack to determine whether a class is an ABCMeta. The true correction would be to turn cls._abc_cache &co into a WeakSet, as py3k does. But classic classes are not weak referenceable... Of course, this change should not be merged into the py3k branch. | ||||
* | Newly enabled test appears to leak: | Amaury Forgeot d'Arc | 2008-04-01 | 1 | -12/+19 |
| | | | | | it registers the same codec on each iteration. Do it only once at load time. | ||||
* | Fix and enable a skipped test: | Amaury Forgeot d'Arc | 2008-04-01 | 1 | -5/+4 |
| | | | | | | with python 2.6, enumerating bytes yields 1-char strings, not numbers. Don't merge this into the py3k branch. | ||||
* | Add ``if __name__ == '__main__'`` to some test files where it didn't take a lot | Brett Cannon | 2008-04-01 | 4 | -18/+36 |
| | | | | of effort to do so. | ||||
* | Generalize test.test_support.test_stdout() with a base context manager so that | Brett Cannon | 2008-04-01 | 1 | -7/+11 |
| | | | | it is easy to capture stderr if desired. | ||||
* | Be sure to close the file. 2 places were deleting the file, so it was probably | Neal Norwitz | 2008-04-01 | 1 | -1/+3 |
| | | | | | fine, but the last change may be required for the test to pass on Windows. Should we always close the mmap too? | ||||
* | Merged revisions 61990-62079 via svnmerge from | Martin v. Löwis | 2008-03-31 | 1 | -1/+1 |
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3 ........ r62017 | david.wolever | 2008-03-28 21:54:37 +0100 (Fr, 28 Mär 2008) | 1 line Fixed an out-of-date comment. ........ | ||||
* | Block the sys.exc_clear -3 warning from threading.py. | Jeffrey Yasskin | 2008-03-31 | 1 | -0/+7 |
| | |||||
* | Make AST nodes pickleable. | Georg Brandl | 2008-03-30 | 1 | -0/+14 |
| | |||||
* | Make _fields attr for no fields consistent with _attributes attr. | Georg Brandl | 2008-03-30 | 1 | -0/+3 |
| | |||||
* | Convert test_ast to unittest and add a test for r62049. | Georg Brandl | 2008-03-30 | 1 | -34/+61 |
| | |||||
* | Adapt test_ast to the new ExceptHandler type. | Georg Brandl | 2008-03-30 | 1 | -1/+2 |
| | |||||
* | #2503 make singletons compared with "is" not == or != | Benjamin Peterson | 2008-03-29 | 42 | -117/+116 |
| | | | | Thanks to Wummel for the patch | ||||
* | Still investigating on the hanging test_socket. | Amaury Forgeot d'Arc | 2008-03-29 | 1 | -2/+4 |
| | | | | the test itself doesn't do anything on windows, focus on setUp and tearDown. | ||||
* | The buildbot "x86 W2k8 trunk" seems to hang in test_socket. | Amaury Forgeot d'Arc | 2008-03-29 | 1 | -0/+12 |
| | | | | | | http://www.python.org/dev/buildbot/trunk/x86%20W2k8%20trunk/builds/255/step-test/0 Temporarily increase verbosity of this test. | ||||
* | Properly check for consistency with the third argument of | Georg Brandl | 2008-03-29 | 1 | -0/+14 |
| | | | | compile() when compiling an AST node. | ||||
* | Now that Lib/test/output is gone, tests should not print anything, | Amaury Forgeot d'Arc | 2008-03-29 | 1 | -63/+19 |
| | | | | | except in verbose mode. Support code is much simpler. | ||||
* | lib2to3 should install a logging handler only when run as a main program, | Amaury Forgeot d'Arc | 2008-03-29 | 1 | -9/+9 |
| | | | | | | not when used as a library. This may please the buildbots, which fail when test_lib2to3 is run before test_logging. | ||||
* | 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 | ||||
* | Revert my experiment. I found one reason of failures in test_logging. | Amaury Forgeot d'Arc | 2008-03-29 | 1 | -3/+1 |
| | |||||
* | At least let the module compile | Amaury Forgeot d'Arc | 2008-03-29 | 1 | -0/+1 |
| | |||||
* | Try to understand why most buildbots suddenly turned to red. | Amaury Forgeot d'Arc | 2008-03-29 | 1 | -1/+2 |
| | | | | | | Undo the only change that might have unexpected effects. To be followed. | ||||
* | #2498 modernized try, except, finally statements in bdb | Benjamin Peterson | 2008-03-28 | 1 | -12/+9 |
| | |||||
* | These svn adds were forgotten in r62000 | Gregory P. Smith | 2008-03-28 | 2 | -0/+115 |
| | |||||
* | Update sqlite3 module to match current version of pysqlite. | Gerhard Häring | 2008-03-28 | 2 | -2/+2 |
| | |||||
* | Patch #1810 by Thomas Lee, reviewed by myself: | Georg Brandl | 2008-03-28 | 1 | -0/+27 |
| | | | | | allow compiling Python AST objects into code objects in compile(). | ||||
* | Accept patch issue2426 by Paul Kippes (kippesp). | Gregory P. Smith | 2008-03-28 | 1 | -2/+3 |
| | | | | Adds sqlite3.Connection.iterdump to allow dumping of databases. | ||||
* | This patch moves some tests from test_urllib2_net to test_urllib2_localnet. | Gregory P. Smith | 2008-03-28 | 2 | -97/+203 |
| | | | | | | | | The moved tests use a local server rather than going out to external servers. Accepts patch from issue2429. Contributed by Jerry Seutter & Michael Foord (fuzzyman) at PyCon 2008. | ||||
* | Name the main method correctly so the test is run | Neal Norwitz | 2008-03-28 | 1 | -2/+2 |
| | |||||
* | Bug 1503: Get the test to pass on OSX. This should make the test more | Neal Norwitz | 2008-03-28 | 1 | -2/+10 |
| | | | | | | | | | | | | reliable, but I'm not convinced it is the right solution. We need to determine if this causes the test to hang on any platforms or do other bad things. Even if it gets the test to pass reliably, it might be that we want to fix this in socket. The socket returned from accept() is different on different platforms (inheriting attributes or not) and we might want to ensure that the attributes (at least blocking) is the same across all platforms. | ||||
* | Merged revisions 61825-61989 via svnmerge from | Martin v. Löwis | 2008-03-28 | 3 | -6/+75 |
| | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3 ........ r61899 | collin.winter | 2008-03-25 17:53:41 +0100 (Di, 25 Mär 2008) | 1 line Add a missing explicit fixer to test_all_fixers. ........ r61983 | collin.winter | 2008-03-28 03:19:46 +0100 (Fr, 28 Mär 2008) | 2 lines Fix http://bugs.python.org/issue2453: support empty excepts in fix_except. ........ | ||||
* | Run 2to3 tests. | Martin v. Löwis | 2008-03-28 | 1 | -0/+15 |
| | |||||
* | Disable test that depends on #2412 being fixed. | Martin v. Löwis | 2008-03-28 | 1 | -0/+2 |
| | |||||
* | Print more information the next time test_socket throws the wrong exception. | Jeffrey Yasskin | 2008-03-28 | 1 | -3/+7 |
| | |||||
* | Allow use of other ports so the test can pass if 9091 is in use | Neal Norwitz | 2008-03-28 | 1 | -6/+8 |
| | |||||
* | Kill a race in test_threading in which the exception info in a thread finishing | Jeffrey Yasskin | 2008-03-28 | 2 | -2/+15 |
| | | | | | | | up after it was joined had a traceback pointing to that thread's (deleted) target attribute, while the test was trying to check that the target was destroyed. Big thanks to Antoine Pitrou for diagnosing the race and pointing out sys.exc_clear() to kill the exception early. This fixes issue 2496. | ||||
* | test_future3.py is a regular test file, and should be part of the test suite | Amaury Forgeot d'Arc | 2008-03-28 | 1 | -1/+0 |
| | |||||
* | Issue2495: tokenize.untokenize did not insert space between two consecutive ↵ | Amaury Forgeot d'Arc | 2008-03-27 | 2 | -4/+18 |
| | | | | | | | | string literals: "" "" => """", which is invalid code. Will backport | ||||
* | The bug for which there was a test in outstanding_bugs.py was agreed not to ↵ | Georg Brandl | 2008-03-27 | 1 | -34/+3 |
| | | | | be a bug. | ||||
* | #2248: return result of QUIT from quit(). | Georg Brandl | 2008-03-27 | 1 | -1/+2 |
| | |||||
* | Fixed tokenize tests | Christian Heimes | 2008-03-27 | 1 | -1/+7 |
| | | | | The tokenize module doesn't understand __future__.unicode_literals yet | ||||
* | Added test cases for single quoted strings, both forms of triple quotes, | Eric Smith | 2008-03-27 | 1 | -1/+24 |
| | | | | | and some string concatenations. Removed unneeded __future__ print_function import. | ||||
* | Fix test_compiler after adding unicode_literals | Neal Norwitz | 2008-03-27 | 1 | -1/+2 |
| | |||||
* | Use the new unicode literals for the io module | Christian Heimes | 2008-03-26 | 2 | -6/+9 |
| | | | | use basestring instead of str in Python 2.x |