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
Ezio Melotti
ae735a763e
Update the version number of the Unicode Database in a few more places.
2010-03-22 23:07:32 +00:00
Benjamin Peterson
3bcc35b795
Merged revisions 79309 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r79309 | benjamin.peterson | 2010-03-22 17:50:47 -0500 (Mon, 22 Mar 2010) | 1 line
pass correct symbol in
........
2010-03-22 22:54:42 +00:00
Florent Xicluna
176cda11df
Issue #8205 : Remove the "Modules" directory from sys.path when Python is running from the build directory (POSIX only).
2010-03-22 22:52:11 +00:00
Florent Xicluna
e1f4c92d23
#7667 : Fix doctest failures with non-ASCII paths.
2010-03-22 22:45:50 +00:00
Benjamin Peterson
798e54004f
Merged revisions 79077,79137,79304-79305 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r79077 | benjamin.peterson | 2010-03-18 18:05:29 -0500 (Thu, 18 Mar 2010) | 1 line
port detect_encoding improvements from py3k
........
r79137 | benjamin.peterson | 2010-03-20 11:12:53 -0500 (Sat, 20 Mar 2010) | 1 line
add a fixer for setting sys.exitfunc #2356
........
r79304 | benjamin.peterson | 2010-03-22 17:20:22 -0500 (Mon, 22 Mar 2010) | 1 line
fix test_parser when it's run in a path with spaces #7666
........
r79305 | benjamin.peterson | 2010-03-22 17:27:07 -0500 (Mon, 22 Mar 2010) | 1 line
normalize whitespace
........
2010-03-22 22:40:06 +00:00
Antoine Pitrou
513d9aeadb
Issue #7512 : shutil.copystat() could raise an OSError when the filesystem
...
didn't support chflags() (for example ZFS under FreeBSD). The error is
now silenced.
2010-03-22 19:59:46 +00:00
Florent Xicluna
0805e6eed9
#7668 : Fix test_httpservers failure when sys.executable contains non-ASCII bytes.
2010-03-22 17:18:18 +00:00
Florent Xicluna
eba2aca4bd
Preserve backward compatibility of the ctypes module.
...
"This file should be kept compatible with Python 2.3, see PEP 291."
2010-03-22 16:36:51 +00:00