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
Antoine Pitrou
fa94e80f3b
Manual py3k backport: [svn r74158] Issue #6218 : Make io.BytesIO and io.StringIO picklable.
2009-10-24 12:23:18 +00:00
Antoine Pitrou
f98a267be3
Manual py3k backport: [svn r74155] Issue #6242 : Fix deallocator of io.StringIO and io.BytesIO
2009-10-24 11:59:41 +00:00
Neil Schemenauer
d87affece4
Improve some docstrings in the 'warnings' module.
2009-10-23 19:58:17 +00:00
Antoine Pitrou
b5cf8a059c
Issue #7194 : test_thread could try to release an unacquired mutex (and fail).
2009-10-23 18:32:15 +00:00
Antoine Pitrou
b119ca9df4
Fix Windows buildbot failure
2009-10-23 12:01:13 +00:00
Eric Smith
84da0905e4
Per the discussion in issue6882, backport the try/finally work that was done to the py3k version (mostly in r59477, I think).
2009-10-22 20:13:14 +00:00
Georg Brandl
590a3675b7
Revert unintended change.
2009-10-22 07:06:49 +00:00
Georg Brandl
0968fd679b
Fix punctuation.
2009-10-22 07:05:48 +00:00
Vinay Sajip
5ac6528b91
Issue #7077 : logging: SysLogHandler now treats Unicode as per RFC 5424.
2009-10-21 20:22:14 +00:00
Antoine Pitrou
9bd246bba9
Test wouldn't work in debug mode.
...
We probably need a function in test_support to handle this.
2009-10-20 21:59:25 +00:00
Antoine Pitrou
efb60c0ceb
Issue #1722344 : threading._shutdown() is now called in Py_Finalize(), which
...
fixes the problem of some exceptions being thrown at shutdown when the
interpreter is killed. Patch by Adam Olsen.
2009-10-20 21:29:37 +00:00
Mark Dickinson
a7a52ab7ee
Issue #7099 : Decimal.is_normal should return True for all nonzero
...
finite non-subnormal values, even those with exponent > Emax.
2009-10-20 13:33:03 +00:00
Antoine Pitrou
5ba84910ae
Issue #7133 : SSL objects now support the new buffer API.
...
This fixes the test_ssl failure.
2009-10-19 17:59:07 +00:00
R. David Murray
a24db67d47
Clarify error report message, and don't recommend running in verbose
...
mode for more information if we are already running in verbose mode.
2009-10-19 17:53:58 +00:00
R. David Murray
92a27b5206
Eliminate warning message that looks like an error message. When it was
...
added not finding Lib/test in the path indicated something was wrong,
but when running regtest using "python -m" Lib/test isn't typically in
the path, so this message is now more disturbing than it is helpful.
2009-10-19 16:28:24 +00:00
R. David Murray
d9f1944fc3
Only run test_curses when sys.__stdout__ is a tty. This eliminates the
...
last false positive when running regrtest with -j.
2009-10-19 16:01:28 +00:00
R. David Murray
282396f27a
Issue #7151 : regrtest would generate a JSON failure if there was output
...
to stderr during the test run and it happened to get emitted after the
worker thread emitted the result JSON. Now we capture stdout and stderr
separately, which avoids that problem. It also means that _all_ stderr
output is after all stdout output when we print the test results, but
that seems acceptable, since output ordering is not guaranteed anyway.
The patch also moves the emit of the test name into the output block
generated after the test completes. Otherwise test names and test
output/errors were mixed in the terminal display, making it difficult
to determine which test generated the output.
2009-10-18 21:12:37 +00:00
Antoine Pitrou
603acf99d0
Add a comment about unreachable code, and fix a typo
2009-10-18 18:37:11 +00:00
Antoine Pitrou
8a172b14a3
Add a test for same-thread asynchronous exceptions (see #1779233 ).
2009-10-18 18:22:04 +00:00
Nick Coghlan
53a9dc91d7
Restore sys.path in test_tk
2009-10-18 10:56:21 +00:00
Nick Coghlan
f317019c07
Silence a deprecation warning by using the appropriate replacement construct
2009-10-18 10:29:10 +00:00
Tarek Ziadé
2b06d42db5
Changed distutils tests to avoid environment alteration
2009-10-18 09:28:26 +00:00
Ronald Oussoren
31802d093f
Fix for issue 7149: a regression in 2.6.3 that causes an exception when
...
trying to detect proxy settings on OSX.
2009-10-18 07:07:00 +00:00
Nick Coghlan
9039b83c53
Using CleanImport to revert a reload of the os module doesn't work due to function registrations in copy_reg. The perils of reloading modules even for tests...
2009-10-18 05:38:48 +00:00
Mark Dickinson
bfd2dc7479
Protect against attempts to replace PyNumber_Add with PyNumber_InPlaceAdd in builtin sum
2009-10-17 21:46:32 +00:00