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
0da5cb8db6
Use richer assertions in test_mailbox (for better failure messages).
2009-10-31 23:19:52 +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
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
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
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
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
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
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