Commit Graph

14959 Commits

Author SHA1 Message Date
Antoine Pitrou 8844153d7f test_normalization should skip and not crash when the resource isn't available 2009-11-01 21:26:14 +00:00
Raymond Hettinger fa7dadd339 Fix exception handling in itertools.izip_longest(). 2009-11-01 20:45:16 +00:00
Antoine Pitrou 235d942391 Hum, test skipping when the URL isn't reachable hadn't been applied to trunk. 2009-11-01 16:10:47 +00:00
Antoine Pitrou d35b8c7899 Hopefully fix the buildbot problems on test_mailbox, by computing
the maildir toc cache refresh date before actually refreshing the cache.

(see #6896)
2009-11-01 00:30:13 +00:00
Antoine Pitrou 0da5cb8db6 Use richer assertions in test_mailbox (for better failure messages). 2009-10-31 23:19:52 +00:00
Gregory P. Smith 29b5365f69 Fixes issue7208 - getpass would still allow the password to be echoed on
Solaris due to not flushing the input buffer.

This change also incorporates some additional getpass implementation
suggestions for security based on an analysis of getpass.c linked to from the
issue.
2009-10-31 21:26:08 +00:00
Eric Smith 0b9e3a5423 Improved test for a deprecation warning. 2009-10-31 17:07:17 +00:00
Mark Dickinson 4b841d9156 Issue #7042: Use a better mechanism for testing timers in test_signal. 2009-10-31 10:36:06 +00:00
Benjamin Peterson b2e31a1c63 add some checks for evaluation order with parenthesis #7210 2009-10-31 03:56:15 +00:00
Antoine Pitrou 161df94b0d Try to fix transient refleaks in test_pydoc. 2009-10-30 21:41:22 +00:00
Antoine Pitrou 3c96858480 Try to fix transient refleaks in test_xmlrpc. 2009-10-30 17:56:00 +00:00
Antoine Pitrou 643e85df48 Try to fix transient refleaks in test_asynchat. 2009-10-30 17:55:21 +00:00
Antoine Pitrou 61d5f6ff79 Fix transient refleaks in test_docxmlrpc. 2009-10-30 17:33:28 +00:00
Antoine Pitrou 59c44f36e0 Issue #7222: Make thread "reaping" more reliable so that reference
leak-chasing test runs give sensible results. The previous method of
reaping threads could return successfully while some Thread objects were
still referenced. This also introduces a new private function:
:func:hread._count().
2009-10-30 17:07:08 +00:00
Georg Brandl 93c2171494 Fix constant name. 2009-10-29 21:44:56 +00:00
Georg Brandl 4045e88b8b Use constants instead of magic integers for test result. Do not re-run with --verbose3 for environment changing tests. 2009-10-29 20:53:00 +00:00
Mark Dickinson 6f3900163a Issue #7233: Fix Decimal.shift and Decimal.rotate methods for
arguments with more digits than the current context precision.
Bug reported by Stefan Krah.
2009-10-29 12:11:18 +00:00
Mark Dickinson 0c67312c5c Issue #7233: A number of two-argument Decimal methods were failing to
accept ints and longs for the second argument.
2009-10-29 12:04:00 +00:00
Mark Dickinson 783b877555 Fix duplicate test numbers in extra.decTest 2009-10-29 11:09:09 +00:00
Lars Gustäbel 8c06ccc058 Issue #4750: Store the basename of the original filename in
the gzip FNAME header as required by RFC 1952.
2009-10-29 09:15:00 +00:00
Benjamin Peterson ea0e3b0d60 do a backport of r75928
The added test does not fail without the patch, but we still fix the issue of
surrogates being used in wide builds where they should not be.
2009-10-29 01:49:07 +00:00
R. David Murray d913864efa Remove variable that is no longer used. 2009-10-28 14:03:43 +00:00
Tarek Ziadé c9dbca8d63 removed spurious spaces 2009-10-28 06:45:18 +00:00
Tarek Ziadé 40b998b05d Fixed #1180: Option to ignore ~/.pydistutils.cfg in Distutils 2009-10-27 23:06:10 +00:00
Georg Brandl 4e1be94bc6 Make sure every run of test_intern() interns a new string, otherwise that test fails e.g. when some other test in test_builtin fails and it is rerun in verbose mode. 2009-10-27 22:56:09 +00:00
Mark Dickinson 53e9fa4eed Test long inputs to float 2009-10-27 22:09:33 +00:00
Antoine Pitrou 8aea050911 Reduce the probability of refleaks in test_socketserver.
Not completely suppressed though, see issue #7222.
2009-10-27 21:27:24 +00:00
Tarek Ziadé d24cab8c74 Issue #7218: Fix test_site for win32 2009-10-27 21:20:27 +00:00
Benjamin Peterson 26a93c0082 test expect base classes 2009-10-27 20:59:18 +00:00
Georg Brandl 8319170abb Reformat the regrtest command-line option help and group the options into sections. 2009-10-27 20:55:44 +00:00
Georg Brandl 71a015ac1c Add a regrtest option to re-run in verbose mode immediately after a test fails, and use that option on the buildbots. 2009-10-27 20:52:02 +00:00
Antoine Pitrou cb170100d4 Try to fix transient refleaks in test_distutils. 2009-10-27 20:20:41 +00:00
Antoine Pitrou fce3207b53 Fix transient refleaks in test_urllib2_localnet. 2009-10-27 20:14:04 +00:00
Antoine Pitrou bb0bb30acc Suppress transient refleaks in test_threading. 2009-10-27 20:02:23 +00:00
Antoine Pitrou a763c06357 Suppress transient refleaks in test_smtplib. 2009-10-27 19:47:30 +00:00
Antoine Pitrou 0df2c73d6c Suppress transient refleaks in test_file2k. 2009-10-27 19:36:44 +00:00
Antoine Pitrou e171edc832 Fix transient refleak in test_sys. 2009-10-27 19:23:56 +00:00
Antoine Pitrou 85bd5879b2 (Hopefully) suppress transient refleaks in test_httpservers. 2009-10-27 18:50:52 +00:00
Antoine Pitrou f829d1f551 Suppress transient refleaks in test_asyncore 2009-10-27 18:36:47 +00:00
Antoine Pitrou dd62966a5f Issue #7205: Fix a possible deadlock when using a BZ2File object from several threads at once. 2009-10-27 17:41:58 +00:00
Benjamin Peterson 7582ec36b2 use 'is' instead of id() 2009-10-26 22:51:16 +00:00
Mark Dickinson c04c7c5b72 Issue #7117: Use PyOS_string_to_double instead of PyOS_ascii_strtod in
complexobject.c.  Also remove length restriction on unicode inputs to
the complex constructor.
2009-10-26 22:28:14 +00:00
Mark Dickinson 8568b19850 Issue #7117: Use PyOS_string_to_double instead of PyOS_ascii_strtod in
floatobject.c.  Also, remove limitation on length of unicode inputs to
float().
2009-10-26 21:11:20 +00:00
Mark Dickinson 828b39865a Skip readline tests if readline module is not available. 2009-10-26 11:59:30 +00:00
Tarek Ziadé 1733c9362b fixed warning and error message 2009-10-24 15:51:30 +00:00
Tarek Ziadé 468f700af7 fixed finally state in distutils.test_util 2009-10-24 15:19:03 +00:00
Tarek Ziadé b9c1cfc428 Issue #7071: byte-compilation in Distutils now looks at sys.dont_write_bytecode 2009-10-24 15:10:37 +00:00
Mark Dickinson da8652d920 Issue #7117 (backport py3k float repr) continued:
Add sys.float_repr_style attribute ('short' if short float
repr is in used;  'legacy' otherwise).
2009-10-24 14:01:08 +00:00
Tarek Ziadé 672422a328 #7066 - Fixed distutils.archive_util.make_archive behavior so it restores the cwd 2009-10-24 13:29:44 +00:00
Antoine Pitrou f7820c1626 Manual py3k backport: [svn r74316] Issue #5449: Fix io.BytesIO to not accept arbitrary keywords 2009-10-24 12:28:22 +00:00