Michael Foord
b35ecf4775
Rename the unittest test_suite function to not clash with a test module name (unittest.test.test_suite is now unambiguous).
2010-03-27 13:42:34 +00:00
Michael Foord
ff889396a8
A fix for running unittest tests on platforms without the audioop module (e.g. jython and IronPython)
2010-03-27 12:55:19 +00:00
Mark Dickinson
9588d998d5
Add Misc/NEWS entry for r79455.
2010-03-27 11:14:37 +00:00
Mark Dickinson
71b7fac07b
Make Fraction to complex comparisons with <=, <, >= or > raise TypeError.
2010-03-27 11:09:29 +00:00
Florent Xicluna
355adc5a45
Ensure that the failed or unexpected tests are sorted before printing.
2010-03-26 19:32:44 +00:00
Antoine Pitrou
eee91cda80
Issue #8222 : Enable the SSL_MODE_AUTO_RETRY flag on SSL sockets, so that blocking
...
reads and writes are always retried by OpenSSL itself.
(this is a followup to issue #3890 )
2010-03-26 19:27:16 +00:00
Benjamin Peterson
c7024e7fd6
reorder imports
2010-03-26 13:53:32 +00:00
Michael Foord
79d1fa911b
Makefile.pre.in for the unittest/test directory
2010-03-26 13:07:38 +00:00
Michael Foord
fa2f1cdcbb
Addition of -c command line option to unittest, to handle ctrl-c during a test run more elegantly
2010-03-26 03:18:31 +00:00
Michael Foord
ee627883a7
Move a support TestCase out of the main namespace in unittest.test.test_suite
2010-03-26 02:53:56 +00:00
Michael Foord
95ac82bfc6
Remove incorrect docstring in unittest.test
2010-03-26 00:03:38 +00:00
Michael Foord
35b3792ed3
Turn unittest tests into a package
2010-03-25 23:56:33 +00:00
Brian Curtin
fbe519975b
Fix #6538 . Markup RegexObject and MatchObject as classes. Patch by Ryan Arana.
2010-03-25 23:48:54 +00:00
Benjamin Peterson
06638735fc
make naming convention consistent
2010-03-25 23:27:16 +00:00
Florent Xicluna
fd37dd46e8
Fix test_unittest and test_warnings when running "python -Werror -m test.regrtest"
2010-03-25 20:39:10 +00:00
Florent Xicluna
8aa5a581d3
#8207 : Fix test_pep277 on OS X
2010-03-25 20:33:49 +00:00
Florent Xicluna
c8a730bf72
Syntax cleanup `== None` -> `is None`
2010-03-25 20:32:07 +00:00
Benjamin Peterson
ff33e2f5e9
make an attempt to add capsule to the Windows build
2010-03-25 03:44:24 +00:00
Andrew M. Kuchling
4a0661b487
Add various items
2010-03-25 01:35:51 +00:00
Larry Hastings
4e9830f7ac
Remove extraneous experimental code checked in by accident.
2010-03-25 01:23:27 +00:00
Victor Stinner
c1f842b532
Fix a gcc warning introduced by r79397.
2010-03-25 01:18:38 +00:00
Benjamin Peterson
37aab87bc6
fix eol properties on capsule files
2010-03-25 01:05:57 +00:00
Benjamin Peterson
cf71456047
set eol on email example
2010-03-25 01:04:58 +00:00
Benjamin Peterson
1c7b0e35d9
set bsddb eol style
2010-03-25 01:03:51 +00:00
Larry Hastings
402b73fb8d
Backported PyCapsule from 3.1, and converted most uses of
...
CObject to PyCapsule.
2010-03-25 00:54:54 +00:00
Victor Stinner
53ff86ea5f
Fix _curses.tiget*() functions: deny None to avoid a crash.
...
Fix the following calls: _curses.tigetflag(None), _curses.tigetnum(None),
_curses.tigetstr(None).
2010-03-25 00:51:58 +00:00
Victor Stinner
6cbf90fc0f
Issue #8211 : Save/restore CFLAGS around AC_PROG_CC in configure.in, compiler
...
optimizations are disabled when --with-pydebug is used.
2010-03-25 00:21:53 +00:00
Steven Bethard
2ec1f27716
Replace license with simple attribution.
2010-03-24 23:03:24 +00:00
Antoine Pitrou
2c6799ab8c
Revert r79384 (the fix failed).
2010-03-24 22:12:15 +00:00
Benjamin Peterson
fb224e3034
replace copy right notice with simple attribution
2010-03-24 22:03:09 +00:00
Antoine Pitrou
914bdbb495
Trying to fix #8108 . Will watch the buildbot(s).
2010-03-24 21:55:12 +00:00
Florent Xicluna
36b9fbb803
Skip tests which depend on multiprocessing.sharedctypes, if _ctypes is not available.
2010-03-24 19:33:25 +00:00
Andrew M. Kuchling
f91a6796af
Various edits
2010-03-24 18:07:43 +00:00
Vinay Sajip
66d19e2a0c
logging: Updated SysLogHandler documentation.
2010-03-24 17:36:35 +00:00
Florent Xicluna
27e024023c
Skip test_ascii_formatd if _ctypes is not available (BSD, ...).
...
Previous change was incomplete (r79334).
2010-03-24 17:32:58 +00:00
Vinay Sajip
a3c39c0f72
logging: Documentation tweak.
2010-03-24 15:10:40 +00:00
Martin v. Löwis
0b79d0a393
Add Brian Curtin.
2010-03-24 15:05:53 +00:00
Vinay Sajip
b0623d64a8
logging: Added LOG_FTP for SysLogHandler and updated documentation.
2010-03-24 14:31:21 +00:00
Ezio Melotti
f8d1d0f7fb
Another typo.
2010-03-23 23:53:20 +00:00
Ezio Melotti
d72a628797
#8217 : typo.
2010-03-23 23:26:21 +00:00
Benjamin Peterson
d4b721bc00
the == test doesn't work on Solaris #8210
2010-03-23 20:58:37 +00:00
Florent Xicluna
3c919cf140
The SIGINT signal may happen earlier, during site.py initialization.
2010-03-23 19:19:16 +00:00
Andrew M. Kuchling
9858f635a0
add some unittest items
2010-03-23 18:39:24 +00:00
Florent Xicluna
446ff14827
The standard error should be empty when the signal is killed, except on SIGINT.
2010-03-23 15:05:30 +00:00
Florent Xicluna
fc4d6d7763
Silence test_subprocess.
2010-03-23 14:36:45 +00:00
Florent Xicluna
875bdf731c
Skip test_format_deprecation if _ctypes is not available. Add a filter to the warning check.
2010-03-23 11:07:54 +00:00
Senthil Kumaran
67b4e187e1
Fixed Issue8209 - OptionParser keyword arg 'epilog' not mentioned in the docs
2010-03-23 08:46:31 +00:00
Benjamin Peterson
996e88a7d5
Merged revisions 79313,79324 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r79313 | benjamin.peterson | 2010-03-22 17:59:57 -0500 (Mon, 22 Mar 2010) | 1 line
another case where a symbol is needed
........
r79324 | benjamin.peterson | 2010-03-22 21:59:47 -0500 (Mon, 22 Mar 2010) | 1 line
use unicode literals
........
2010-03-23 03:03:55 +00:00
Ezio Melotti
0d0b80bc3e
Link specifically to the UCD version 5.2.0.
2010-03-23 00:38:12 +00:00
Ezio Melotti
88b6f8bada
Remove link to objects.rst (gone in r79179).
2010-03-23 00:25:19 +00:00