Commit graph

24500 commits

Author SHA1 Message Date
Ezio Melotti
4900823027 Merged revisions 78091,78094,78109 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78091 | georg.brandl | 2010-02-07 19:02:22 +0200 (Sun, 07 Feb 2010) | 1 line

  Rename "exc_value" attribute on assertRaises context manager to "exception".
........
  r78094 | michael.foord | 2010-02-07 20:44:12 +0200 (Sun, 07 Feb 2010) | 1 line

  assertRaises as context manager now allows you to access exception as documented
........
  r78109 | ezio.melotti | 2010-02-08 23:52:08 +0200 (Mon, 08 Feb 2010) | 1 line

  Fix exc_value -> exception in docstring
........
2010-02-08 21:57:48 +00:00
Vinay Sajip
cfc43e9435 logging: gingerly re-enabling skipped tests after improving thread sync code in configurator. 2010-02-08 21:18:15 +00:00
Vinay Sajip
9a164ac800 Issue #7857: Another attempt to keep the buildbots happy. 2010-02-08 16:05:50 +00:00
Vinay Sajip
e1ec841086 logging: skipped listening tests because they're not working reliably. 2010-02-08 15:32:08 +00:00
Vinay Sajip
7ed8001862 Removed spurious print statement in test. 2010-02-08 06:50:14 +00:00
Georg Brandl
6eedef60a2 Fix test_fnmatch. 2010-02-08 00:04:54 +00:00
Mark Dickinson
7b26d7f82f Merged revisions 78099 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78099 | mark.dickinson | 2010-02-07 20:31:10 +0000 (Sun, 07 Feb 2010) | 1 line

  Skip test_strtod entirely when correctly-rounded string->float isn't implemented
........
2010-02-07 20:32:50 +00:00
Mark Dickinson
841e7f3ae2 Skip test_strtod entirely when correctly-rounded string->float isn't implemented 2010-02-07 20:31:10 +00:00
Ronald Oussoren
ee5c885fd2 Merged revisions 78097 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78097 | ronald.oussoren | 2010-02-07 21:18:02 +0100 (Sun, 07 Feb 2010) | 2 lines

  Issue 6003: ZipFile.writestr "compression_type" argument
........
2010-02-07 20:24:02 +00:00
Ronald Oussoren
dd25e86cf4 Issue 6003: ZipFile.writestr "compression_type" argument 2010-02-07 20:18:02 +00:00
Michael Foord
2bd52dcccb assertRaises as context manager now allows you to access exception as documented 2010-02-07 18:44:12 +00:00
Georg Brandl
a4f46e1292 Remove unused imports in test modules. 2010-02-07 17:03:15 +00:00
Georg Brandl
dc3694bee0 Rename "exc_value" attribute on assertRaises context manager to "exception". 2010-02-07 17:02:22 +00:00
Antoine Pitrou
a5336b6000 Merged revisions 78088 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78088 | antoine.pitrou | 2010-02-07 17:56:23 +0100 (dim., 07 févr. 2010) | 4 lines

  Issue #7870: Remove duplicate test methods.  Reported by Georg Brandl.
........
2010-02-07 17:00:43 +00:00
Antoine Pitrou
4ad752d70f Issue #7870: Remove duplicate test methods. Reported by Georg Brandl. 2010-02-07 16:56:23 +00:00
Mark Dickinson
5354a1fce0 Merged revisions 78082,78086 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78082 | mark.dickinson | 2010-02-07 13:01:56 +0000 (Sun, 07 Feb 2010) | 1 line

  Add missing global declarations for 'overflowok'; remove 'overflowrequired', which is no longer needed.
........
  r78086 | mark.dickinson | 2010-02-07 13:09:52 +0000 (Sun, 07 Feb 2010) | 1 line

  Actually raise on failure, instead of doing nothing.
........
2010-02-07 13:15:37 +00:00
Mark Dickinson
1224f4afb4 Actually raise on failure, instead of doing nothing. 2010-02-07 13:09:52 +00:00
Georg Brandl
c855c7eb7d Merged revisions 78080 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78080 | georg.brandl | 2010-02-07 13:55:12 +0100 (So, 07 Feb 2010) | 1 line

  Remove duplicate test method.
........
2010-02-07 13:05:51 +00:00
Georg Brandl
9bbf8369d1 Merged revisions 78075-78079 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78075 | georg.brandl | 2010-02-07 13:16:12 +0100 (So, 07 Feb 2010) | 1 line

  Fix another duplicated test method.
........
  r78076 | georg.brandl | 2010-02-07 13:19:43 +0100 (So, 07 Feb 2010) | 1 line

  Fix wrong usage of "except X, Y:".
........
  r78077 | georg.brandl | 2010-02-07 13:25:50 +0100 (So, 07 Feb 2010) | 1 line

  Fix two redefined test methods.
........
  r78078 | georg.brandl | 2010-02-07 13:27:06 +0100 (So, 07 Feb 2010) | 1 line

  Fix a redefined test method.
........
  r78079 | georg.brandl | 2010-02-07 13:34:26 +0100 (So, 07 Feb 2010) | 1 line

  Add a minimal test for fnmatchcase().
........
2010-02-07 13:02:10 +00:00
Mark Dickinson
4dcba97590 Add missing global declarations for 'overflowok'; remove 'overflowrequired', which is no longer needed. 2010-02-07 13:01:56 +00:00
Georg Brandl
b86d3fa43c Remove duplicate test method. 2010-02-07 12:55:12 +00:00
Georg Brandl
308e18b595 Add a minimal test for fnmatchcase(). 2010-02-07 12:34:26 +00:00
Georg Brandl
a34f87f981 Fix a redefined test method. 2010-02-07 12:27:06 +00:00
Georg Brandl
41dc63fae5 Fix two redefined test methods. 2010-02-07 12:25:50 +00:00
Georg Brandl
b3cda98dd1 Fix wrong usage of "except X, Y:". 2010-02-07 12:19:43 +00:00
Georg Brandl
7ae6018788 Fix another duplicated test method. 2010-02-07 12:16:12 +00:00
Georg Brandl
708c487abe Merged revisions 78035,78040,78043,78049-78050,78052-78054 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78035 | georg.brandl | 2010-02-06 23:44:17 +0100 (Sa, 06 Feb 2010) | 1 line

  Fix duplicate import.
........
  r78040 | georg.brandl | 2010-02-07 00:08:00 +0100 (So, 07 Feb 2010) | 1 line

  Fix a few UnboundLocalErrors in test_long.
........
  r78043 | georg.brandl | 2010-02-07 00:12:19 +0100 (So, 07 Feb 2010) | 1 line

  Remove duplicate test method.
........
  r78049 | georg.brandl | 2010-02-07 00:33:33 +0100 (So, 07 Feb 2010) | 1 line

  Fix import/access for some identifiers.  _TestSharedCTypes does not seem to be executed?
........
  r78050 | georg.brandl | 2010-02-07 00:34:10 +0100 (So, 07 Feb 2010) | 1 line

  Fix more unbound locals in code paths that do not seem to be used.
........
  r78052 | georg.brandl | 2010-02-07 00:54:04 +0100 (So, 07 Feb 2010) | 1 line

  Add missing import when running these tests standalone.
........
  r78053 | georg.brandl | 2010-02-07 00:54:43 +0100 (So, 07 Feb 2010) | 1 line

  Fix some name errors in Mac modules.
........
  r78054 | georg.brandl | 2010-02-07 00:58:25 +0100 (So, 07 Feb 2010) | 1 line

  Add missing import.
........
2010-02-07 12:01:19 +00:00
Georg Brandl
b8dbee38dd Manual backport of r78046. 2010-02-07 11:54:01 +00:00
Ronald Oussoren
4da7d7822a Merged revisions 78061 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78061 | ronald.oussoren | 2010-02-07 12:38:28 +0100 (Sun, 07 Feb 2010) | 10 lines

  A number of APIs in macostools cannot work in 64-bit mode because they
  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.
........
2010-02-07 11:39:16 +00:00
Ronald Oussoren
ab3f5cbabd A number of APIs in macostools cannot work in 64-bit mode because they
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.
2010-02-07 11:38:28 +00:00
Vinay Sajip
657514a690 Issue #7868: logging: added loggerClass attribute to Manager. 2010-02-07 01:37:08 +00:00
Georg Brandl
12cad204a0 Add missing import. 2010-02-06 23:58:25 +00:00
Georg Brandl
cd4a21bb8e Fix more unbound locals in code paths that do not seem to be used. 2010-02-06 23:34:10 +00:00
Georg Brandl
bd564c3c21 Fix import/access for some identifiers. _TestSharedCTypes does not seem to be executed? 2010-02-06 23:33:33 +00:00
Georg Brandl
c7ca56d213 We heard you like test failures so we put unbound locals in your test so that you can fail while you fail. 2010-02-06 23:23:45 +00:00
Mark Dickinson
f57325392f Merged revisions 78045 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r78045 | mark.dickinson | 2010-02-06 23:16:50 +0000 (Sat, 06 Feb 2010) | 9 lines

  Merged revisions 78041 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r78041 | mark.dickinson | 2010-02-06 23:11:25 +0000 (Sat, 06 Feb 2010) | 1 line

    testCopysign was defined twice in test_math;  combine the definitions
  ........
................
2010-02-06 23:18:37 +00:00
Georg Brandl
d10d8ee2a1 Fix various missing import/unbound name errors. 2010-02-06 23:18:00 +00:00
Mark Dickinson
06b59e0c4b Merged revisions 78041 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78041 | mark.dickinson | 2010-02-06 23:11:25 +0000 (Sat, 06 Feb 2010) | 1 line

  testCopysign was defined twice in test_math;  combine the definitions
........
2010-02-06 23:16:50 +00:00
Mark Dickinson
3f2c03d80f Merged revisions 78041 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78041 | mark.dickinson | 2010-02-06 23:11:25 +0000 (Sat, 06 Feb 2010) | 1 line

  testCopysign was defined twice in test_math;  combine the definitions
........
2010-02-06 23:14:49 +00:00
Georg Brandl
1a0ffe168a Remove duplicate test method. 2010-02-06 23:12:19 +00:00
Georg Brandl
d1fa76e742 Add missing import. 2010-02-06 23:12:12 +00:00
Mark Dickinson
28d4f9e668 testCopysign was defined twice in test_math; combine the definitions 2010-02-06 23:11:25 +00:00
Georg Brandl
df8a303dff Fix a few UnboundLocalErrors in test_long. 2010-02-06 23:08:00 +00:00
Georg Brandl
8fd107f8ea Add missing imports. 2010-02-06 23:06:24 +00:00
Georg Brandl
7224350656 Add a missing import. 2010-02-06 23:02:29 +00:00
Benjamin Peterson
239f138aea make waiting for the server to start robust 2010-02-06 22:08:15 +00:00
Georg Brandl
26a1f72637 Remove unused imports from test_logging. 2010-02-06 21:54:40 +00:00
Vinay Sajip
7f22443d94 Issue #7857: Gave server thread more time to get ready, and re-enabled a skipped test. 2010-02-06 20:28:36 +00:00
Benjamin Peterson
42d5947ef5 check type_getattro for correctness in a descriptor corner case 2010-02-06 20:14:10 +00:00
Vinay Sajip
5749d88243 Issue #7857: Tentatively re-enabling one test to see effect on buildbots. 2010-02-06 20:00:43 +00:00