Vinay Sajip
2060e42206
Issue #8162 : logging: Clarified docstring and documentation for disable function.
2010-03-17 15:05:57 +00:00
Ezio Melotti
187f93d986
Use "x in y" instead of y.find(x) != -1.
2010-03-17 14:22:34 +00:00
Ezio Melotti
d80b4bfd0b
#7092 : silence some more py3k warnings.
2010-03-17 13:52:48 +00:00
Collin Winter
8b3f1ce591
Delete unused import.
2010-03-17 03:04:01 +00:00
Collin Winter
89b4f13024
Style cleanup in test_import.
2010-03-17 02:40:12 +00:00
Collin Winter
ac1d93167c
Fix a trivial class of (hypothetical, future) false-positive refleaks, discovered by an optimization in Unladen Swallow's past (which will become CPython's future).
2010-03-17 02:02:30 +00:00
Matthias Klose
8b41168bab
- Issue #4961 : Inconsistent/wrong result of askyesno function in tkMessageBox
...
with Tcl/Tk-8.5.
2010-03-16 10:48:52 +00:00
Florent Xicluna
3cc8f211ed
Issue #7783 and #7787 : open_urlresource invalidates the outdated files from the local cache.
...
Use this feature to fix test_normalization.
2010-03-15 18:08:58 +00:00
Matthias Klose
fae23dc9dc
- Fix typo in Lib/compileall.py(__all__).
2010-03-15 18:00:01 +00:00
Matthias Klose
b13d04c991
- Issue #8140 : extend compileall to compile single files. Add -i option.
2010-03-15 17:44:12 +00:00
Matthias Klose
358e7ff36b
- Issue #7356 : ctypes.util: Make parsing of ldconfig output independent of
...
the locale.
2010-03-15 13:42:23 +00:00
Matthias Klose
54cc539a2b
- Issue #6949 : Allow the _bsddb extension to be built with db-4.8.x.
2010-03-15 12:46:18 +00:00
Benjamin Peterson
f56813997f
clean up files correctly
2010-03-15 03:02:37 +00:00
Benjamin Peterson
5a4c0f5cc2
remove mac 9 code
2010-03-15 03:00:35 +00:00
Benjamin Peterson
ca02f3a4d6
this little exception dance is pointless
2010-03-15 02:58:24 +00:00
Florent Xicluna
ece29b2aac
Do not hardcode Expat version. It's possible to build Python with --with-system-expat option.
2010-03-14 15:20:59 +00:00
Florent Xicluna
88db6f402e
Minor documentation updates for xml.etree.
2010-03-14 01:22:09 +00:00
Florent Xicluna
1b51c3d4de
Do not chdir when running test_xml_etree, and enhance the findfile helper.
2010-03-13 12:41:48 +00:00
Florent Xicluna
13ba1a1c65
Move the xml test data to their own directory.
2010-03-13 11:18:49 +00:00
Victor Stinner
6e055d78e1
sqlite3: Fix a segfault on calling a connection with something else than a
...
string. Initialize all attributes to be able to call the statement destructor
on error.
Avoid also a duplicate connection in some tests: setUp() does already open a
connection (":memory:").
2010-03-13 03:27:07 +00:00
Victor Stinner
17d905449d
Issue #7818 : set().test_c_api() doesn't expect a set('abc'), modify the set.
2010-03-13 00:13:22 +00:00
Vinay Sajip
9098ee4360
Issue #8117 : logging: Improved algorithm for computing initial rollover time.
2010-03-12 06:01:21 +00:00
Benjamin Peterson
654ea3713e
remove shebang line from non-executable test
2010-03-11 22:34:12 +00:00
Benjamin Peterson
9cf41d0c9d
normalize shebang lines to #!/usr/bin/env python
2010-03-11 22:33:25 +00:00
Benjamin Peterson
afa595b31b
revert r78842 cgi.py change
2010-03-11 22:03:45 +00:00
Benjamin Peterson
651bc32a4e
use proper shebang lines
2010-03-11 21:53:25 +00:00
Benjamin Peterson
75c8be048b
remove executable property from doc files
2010-03-11 21:50:45 +00:00
Florent Xicluna
e2e81e8fcd
Fix repr of tree Element on windows.
2010-03-11 15:55:11 +00:00
Florent Xicluna
3e8c189faa
Issue #6472 : The xml.etree package is updated to ElementTree 1.3. The cElementTree module is updated too.
2010-03-11 14:36:19 +00:00
Victor Stinner
4478662f83
Another fix to test_executable() of test_sys: set the current working to avoid
...
the #7774 bug.
2010-03-11 13:46:06 +00:00
Victor Stinner
6ecd85f401
Fix test_executable introduce in previous commit (r78835): Windows is able to
...
retrieve the absolute Python path even if argv[0] has been set to a non
existent program name.
2010-03-11 13:27:35 +00:00
Victor Stinner
4a7e0c858c
Issue #7774 : Set sys.executable to an empty string if argv[0] has been
...
set to an non existent program name and Python is unable to retrieve the real
program name.
Fix also sysconfig: if sys.executable is an empty string, use the current
working directory.
2010-03-11 12:34:39 +00:00
Florent Xicluna
637637021a
Revert r78830: realpath() should really be applied to sys.executable.
2010-03-11 01:50:48 +00:00
Florent Xicluna
6602ec6eff
It is not optimal to test sys.stderr on a debug build.
2010-03-11 01:39:55 +00:00
Florent Xicluna
e58d91c8f0
Fix the test_subprocess failure when sys.executable is meaningless: '' or a directory.
...
It does not fix #7774 .
2010-03-11 00:56:59 +00:00
Florent Xicluna
85677617d5
Issue #7880 : Fix sysconfig when the python executable is a symbolic link.
2010-03-10 23:58:42 +00:00
Victor Stinner
3ec32005e8
ooops, fix error message in execusercustomize()
...
Copy/paste failure :-)
2010-03-10 22:45:04 +00:00
Victor Stinner
6664426d7c
Issue #3137 : Don't ignore errors at startup, especially a keyboard interrupt
...
(SIGINT). If an error occurs while importing the site module, the error is
printed and Python exits. Initialize the GIL before importing the site
module.
2010-03-10 22:30:19 +00:00
Florent Xicluna
4d42f2b4d1
#7772 : Fix test_py3kwarn. Now the test suite could pass with "-3" flag.
2010-03-09 19:57:01 +00:00
Raymond Hettinger
e30bc38ce9
Improve code clarity a bit.
2010-03-09 11:29:10 +00:00
Raymond Hettinger
aba2293862
Have links in OrderedDicts be native Python lists instead
...
of a custom class with __slots__. This simplifies the
code a bit, reduces memory consumption, improves speed,
and eliminates the need for weak reference proxies.
2010-03-09 09:58:53 +00:00
Raymond Hettinger
9bd3508530
Add nicer docstrings to namedtuples().
...
Provides better tooltips and looks better in help().
2010-03-09 09:01:46 +00:00
Benjamin Peterson
f4803aa623
set svn:eol-style on various files
2010-03-08 22:15:11 +00:00
Florent Xicluna
47627d5164
#7624 : Fix isinstance(foo(), collections.Callable) for old-style classes.
2010-03-08 15:20:28 +00:00
Florent Xicluna
6f682be82b
Move some tests from test_macpath to test_genericpath.CommonTest
2010-03-08 12:39:35 +00:00
Florent Xicluna
d034b32f57
On finalize, don't try to join not started process.
2010-03-08 11:01:39 +00:00
Florent Xicluna
faf175385d
Replace the stderr logging with assertNotEqual(returncode, 0).
2010-03-08 10:59:33 +00:00
Florent Xicluna
cf741ceb69
Fix syntax: "rc != None" -> "rc is not None"
2010-03-08 10:58:12 +00:00
Florent Xicluna
52584779a6
Don't fail on a debug() statement, if the worker PID is (still) None.
2010-03-08 07:21:16 +00:00
R. David Murray
4617e5085a
Issue #7143 : get_payload used to strip any trailing newline from a
...
base64 transfer-encoded payload *after* decoding it; it no longer does.
email had a special method in utils, _bdecode, specifically to do this,
so it must have served a purpose at some point, yet it is clearly wrong
per RFC. Fixed with Barry's approval, but no backport. Email package
minor version number is bumped, now version 4.0.1.
Patch by Joaquin Cuenca Abela.
2010-03-08 02:04:06 +00:00
Florent Xicluna
16cd888dd9
Backport the Popen.poll() protection from subprocess to multiprocessing. See #1731717 .
...
It should fix transient failures on test_multiprocessing.
2010-03-07 23:49:03 +00:00
Michael Foord
08611b5e55
Remove accidental print statement from last commit.
2010-03-07 23:16:20 +00:00
Michael Foord
a715255a27
Fix accidental name rebinding in unittest py3k warning filtering.
2010-03-07 23:10:36 +00:00
Michael Foord
5ffa325a82
Addition of setUpClass and setUpModule shared fixtures to unittest.
2010-03-07 22:04:55 +00:00
Michael Foord
53e8eeadd6
Fix for potentials errors in constructing unittest failure messages. Plus skipped test methods no longer run setUp and tearDown (Issue 8059)
2010-03-07 20:22:12 +00:00
Florent Xicluna
fc8a1ed70e
Refresh the documentation for the test.test_support module.
2010-03-07 19:14:12 +00:00
Florent Xicluna
400efc2259
#2777 : Try hard to make Win7 buildbot happy...
2010-03-07 17:12:23 +00:00
Mark Dickinson
154b7ad07e
Issue #1530559 : When packing a non-integer with any integer conversion
...
code using struct.pack, attempt to convert to an integer first using
the argument's __int__ method (if present). Also raise a
DeprecationWarning for any such usage of __int__.
This fixes a regression from 2.6, where some (but not all) integer
conversion codes already used __int__.
2010-03-07 16:24:45 +00:00
Florent Xicluna
c083864fc8
Do not fail if returncode is 0 on send_signal/kill/terminate, for win32 platforms.
...
Do not hide the KeyboardInterrupt on POSIX platforms.
2010-03-07 15:27:39 +00:00
Florent Xicluna
c02bbe328d
#2777 : Enable test_send_signal, test_terminate and test_kill on win32 platforms.
2010-03-07 12:21:36 +00:00
Florent Xicluna
6de9e938a5
Issue #7849 : Now the utility ``check_warnings`` verifies if the warnings are
...
effectively raised. A new utility ``check_py3k_warnings`` deals with py3k warnings.
2010-03-07 12:18:33 +00:00
Florent Xicluna
1f3b4e12e8
Fix some py3k warnings in the standard library.
2010-03-07 12:14:25 +00:00
Senthil Kumaran
4e62949217
Reverting the change made in r78431.
2010-03-07 04:09:30 +00:00
Benjamin Peterson
6b31fd0f13
eliminate py3k warnings in argparse
2010-03-07 00:29:44 +00:00
Benjamin Peterson
8e7c1178a0
bump version to 2.7a4
2010-03-06 20:34:14 +00:00
Florent Xicluna
632df993dc
Skip test_send_signal, test_kill, test_terminate on win32 platforms, for 2.7a4 release.
2010-03-06 19:43:41 +00:00
Florent Xicluna
985478dbbb
Minor tweaking of previous r78734, and add a NEWS entry.
2010-03-06 18:52:52 +00:00
Florent Xicluna
dc1531c5c4
Create test_genericpath.CommonTest and reuse it to test other path modules.
2010-03-06 18:07:18 +00:00
Florent Xicluna
58526417ed
Do not print the header lines when running a single test.
2010-03-06 17:24:36 +00:00
Vinay Sajip
1adbee226e
Added checks for tuples in dictConfig.
2010-03-06 15:56:03 +00:00
Vinay Sajip
d45a278b93
Added schema version test in dictConfig.
2010-03-06 15:12:08 +00:00
Florent Xicluna
12d750d6b8
Backport "test.regrtest -R 2:3" syntax from py3k branch, and other minor adjustments.
2010-03-06 14:38:09 +00:00
Florent Xicluna
0b9a18a42f
#6906 : TCL_LIBRARY and TK_LIBRARY environment variables should be encoded.
2010-03-06 11:01:08 +00:00
Florent Xicluna
aa90db9477
#2777 : Apply same recipe on win32, i.e. do not inherit file handles.
2010-03-06 09:54:14 +00:00
Florent Xicluna
b7c20028fe
Print platform information to stdout, to help troubleshooting platform-specific failures.
2010-03-06 09:11:55 +00:00
Florent Xicluna
0932dc5671
Keep the test files in the ./build/ subdirectory, if Python is not installed.
...
Remove two hacks which are no longer needed after #7712 , because all __file__ attributes are absolute.
2010-03-06 08:07:44 +00:00
Gregory P. Smith
467298cb42
Call setreuid and setregid in a subprocess to avoid altering the test runner's
...
process state. Should fix issue8045.
2010-03-06 07:35:19 +00:00
Tarek Ziadé
c49b6efbca
search in the alternative location for VCExpress
2010-03-06 02:17:28 +00:00
Tarek Ziadé
5501e6a7da
fixed various failures and environment alterations in distutils.test_build_ext
2010-03-06 02:11:14 +00:00
Tarek Ziadé
895ee2419d
files used by win32 tests
2010-03-06 01:27:09 +00:00
Tarek Ziadé
7e48ff8e50
simplified the fallback case
2010-03-06 01:23:21 +00:00
Tarek Ziadé
fbf50b8c7c
provide a fallback for xxmodule.c in case the buildir is not present
2010-03-06 01:18:27 +00:00
Tarek Ziadé
b30868a391
copied back the build_ext tests from 2.6
2010-03-06 01:04:14 +00:00
Florent Xicluna
af9a06a77f
#2777 : Apply same recipe for test_terminate and test_kill, i.e. close or redirect fds.
2010-03-06 00:16:57 +00:00
Vinay Sajip
d77eb9a839
Factored out time usage determination into a method, to facilitate alternative formatting implementations in the future.
2010-03-05 22:11:24 +00:00
Florent Xicluna
cecef392f1
#2777 : Handle fds more carefully to try to fix some x86-Linux failures (namely, neal bot and twisted bot).
2010-03-05 19:31:21 +00:00
Mark Dickinson
1c0c78c61f
Fix incorrect stacklevel for DeprecationWarnings originating from the struct module.
...
Also clean up related tests in test_struct.
The stacklevel fix should be backported to 2.6 once that branch is unfrozen.
2010-03-05 14:36:20 +00:00
Gerhard Häring
3bbb67273a
Merged code from pysqlite 2.6.0.
2010-03-05 09:12:37 +00:00
Benjamin Peterson
2bb66e03b7
Merged revisions 78679,78681 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r78679 | benjamin.peterson | 2010-03-04 21:10:46 -0600 (Thu, 04 Mar 2010) | 1 line
set svn:eol-style
........
r78681 | benjamin.peterson | 2010-03-04 21:19:06 -0600 (Thu, 04 Mar 2010) | 1 line
remove svn:executable property
........
2010-03-05 03:24:17 +00:00
Benjamin Peterson
b3be23ad27
remove the svn:executable property from files that don't have shebang lines
2010-03-05 03:20:06 +00:00
Florent Xicluna
7272acfabe
These line should not be there.
2010-03-05 01:12:14 +00:00
Florent Xicluna
d6935631da
Let's use assertIsNone / assertIsNotNone. It's hype.
2010-03-05 01:05:55 +00:00
Florent Xicluna
80e0e2d2d8
Workaround #3137 : Retry SIGINT if it is not received the first time.
...
test_send_signal should not hang anymore on various Linux distributions.
2010-03-05 00:47:40 +00:00
Tarek Ziadé
dd7bef9bf5
reverting partially distutils to its 2.6.x state so 2.7a4 looks more like the 2.7b1 in this. the whole revert will occur after a4 is tagged
2010-03-05 00:16:02 +00:00
Florent Xicluna
ab5e17f896
#2777 : Enable test_send_signal, test_kill and test_terminate on all platforms.
2010-03-04 21:31:58 +00:00
Florent Xicluna
bab22a7c6d
Cleanup.
2010-03-04 19:40:48 +00:00
Dirkjan Ochtman
19c9b6042e
Try to fix buildbot breakage from r78384.
...
Thanks bitdancer and briancurtin for the help.
2010-03-04 19:21:53 +00:00
Florent Xicluna
3bc5cb7e0d
#7805 : wait until all workers are started before collecting their PIDs
2010-03-04 15:58:54 +00:00
Florent Xicluna
a36e245deb
Fix transient refleak in test_popen2.
2010-03-04 15:57:20 +00:00
Victor Stinner
7c924ec925
Issue #1054943 : Fix unicodedata.normalize('NFC', text) for the Public Review
...
Issue #29 .
PR #29 was released in february 2004!
2010-03-04 12:09:33 +00:00
Benjamin Peterson
e689a889da
set svn:executable on all regen scripts
2010-03-04 02:07:55 +00:00
Lars Gustäbel
6458104188
Issue #7232 : Add support for the context manager protocol
...
to the TarFile class.
2010-03-03 11:55:48 +00:00
Florent Xicluna
9e220be19d
Fix wording.
2010-03-02 23:56:38 +00:00
Benjamin Peterson
842b95b030
plug ref leaks
2010-03-02 23:43:47 +00:00
Victor Stinner
d23d3930ff
Issue #7820 : The parser tokenizer restores all bytes in the right if the BOM
...
check fails.
Fix an assertion in pydebug mode.
2010-03-02 23:20:02 +00:00
Benjamin Peterson
0e717addd8
remove cross-version compatibility code
2010-03-02 23:02:02 +00:00
Benjamin Peterson
bd56722a27
remove code to avoid BaseException.message bug
2010-03-02 22:58:01 +00:00
Florent Xicluna
c0a9d4152d
Test test_pep277 is only relevant for Unicode-friendly filesystems.
2010-03-02 22:34:11 +00:00
Benjamin Peterson
fa31eaa5f6
convert deprecated fail* methods to assert* variants
2010-03-02 22:26:25 +00:00
Benjamin Peterson
e4d90c23a3
use test_main() in __main__ section
2010-03-02 22:24:30 +00:00
Benjamin Peterson
4aa8a13b86
prevent warning filter adjustment from altering other tests
2010-03-02 22:23:33 +00:00
Benjamin Peterson
036fae39ac
enable running of argparse tests and fix two that failed in the new environment
2010-03-02 22:20:10 +00:00
Benjamin Peterson
5e32fe5f9d
remove another coding cookie
2010-03-02 22:08:40 +00:00
Benjamin Peterson
a39e966e97
set svn:eol-style
2010-03-02 22:05:59 +00:00
Benjamin Peterson
c1df5460c5
remove coding cookie as mandated by PEP 8
2010-03-02 22:03:03 +00:00
Florent Xicluna
2db61fb7a8
Tentatively enable test_pep277 on all platforms.
2010-03-02 21:34:45 +00:00
Florent Xicluna
d8472a4545
Refactor test_dict using assertRaises.
2010-03-02 16:00:00 +00:00
Steven Bethard
e9330e7941
Initial commit of the argparse library, based on argparse 1.1.
...
Docs still need some updating to make getopt and optparse match the wording promised in the PEP.
There are also probably a number of :class:ArgumentParser etc. links that could be added to the argparse documentation.
2010-03-02 08:38:09 +00:00
Barry Warsaw
08a8fb30b6
Manually copy patch for bug 7250 from the release26-maint branch. I suck
...
because I did this in the wrong order and couldn't smack svnmerge into
submission.
2010-03-01 21:46:51 +00:00
Florent Xicluna
e7901c5ebb
#7808 : Fix reference leaks in _bsddb and related tests.
2010-03-01 20:45:01 +00:00
R. David Murray
343facabf1
Issue 3892 again. The bsddb3 replication test still fails randomly.
...
Since this module is unmaintained in the library and gone in py3k,
this patch skips the remainder of the replication test if a
second timeout occurs, as it randomly does. This should improve buildbot
stability.
2010-03-01 19:14:16 +00:00
Gregory P. Smith
7512a9068d
Fix test to be skipped on windows.
2010-03-01 06:01:02 +00:00
Gregory P. Smith
6a65f85e79
Fixes issue #7999 : os.setreuid() and os.setregid() would refuse to accept
...
a -1 parameter on some platforms such as OS X.
2010-03-01 05:43:43 +00:00
Gregory P. Smith
3c699d334a
Adds c_ssize_t to ctypes. issue 6729.
2010-03-01 04:56:12 +00:00
Gregory P. Smith
3c1586ab45
Cleanup the test added in r78517 based on Ezio Melotti's feedback.
2010-03-01 03:09:19 +00:00
Gregory P. Smith
c1baf4ac9e
Fix the new test on windows (skip it, its posix only)
2010-03-01 02:53:24 +00:00
Gregory P. Smith
e6390a1503
Adds the hashlib.algorithms attribute. See issue7418.
2010-03-01 02:01:47 +00:00
Gregory P. Smith
9e5d1327f8
Issue #7242 : On Solaris 9 and earlier calling os.fork() from within a
...
thread could raise an incorrect RuntimeError about not holding the import
lock. The import lock is now reinitialized after fork.
2010-03-01 01:22:39 +00:00
Gregory P. Smith
cce211f88c
Issue #1068268 : The subprocess module now handles EINTR in internal
...
os.waitpid and os.read system calls where appropriate.
2010-03-01 00:05:08 +00:00
Gregory P. Smith
613c7a549a
Issue #7481 : When a threading.Thread failed to start it would leave the
...
instance stuck in initial state and present in threading.enumerate().
2010-02-28 18:36:09 +00:00
Florent Xicluna
78fd521f1a
Fix an oversight in r78508: p.wait() should be compared to 0
2010-02-27 21:15:27 +00:00
Florent Xicluna
98e3fc39bf
Clean test_subprocess: use assertRaises, skipIf, skipUnless helpers and a custom helper assertStderrEqual.
2010-02-27 19:20:50 +00:00
Florent Xicluna
be8c2b1ca7
#7793 : Fix RuntimeError when running "regrtest -R" for multibyte codecs.
2010-02-27 15:10:19 +00:00
Florent Xicluna
2a903b26e9
Issue #1729305 : Fix doctest to handle encode error with "backslashreplace". It fixes #7667 too.
2010-02-27 13:31:23 +00:00
Ezio Melotti
0263da547e
Add a test for normpath to test_macpath.
2010-02-27 12:42:52 +00:00
Florent Xicluna
f4b6186d9c
#691291 : codecs.open() should not convert end of lines on reading and writing.
2010-02-26 10:40:58 +00:00
Senthil Kumaran
e9a78083c0
Fix for Issue7540 ; urllib2 will raise a TypeError when you try to add_data to
...
a existing req object already having data.
2010-02-24 20:55:31 +00:00
Senthil Kumaran
8526adfbd9
Fix for Issue3819 - urllib2 sends Basic auth across redirects
2010-02-24 16:45:46 +00:00
Eric Smith
2d9856d6ce
Issue #7309 : Unchecked pointer access when converting UnicodeEncodeError, UnicodeDecodeError, and UnicodeTranslateError to strings.
2010-02-24 14:15:36 +00:00
Dirkjan Ochtman
ebc73dce57
Issue #7427 : improve the representation of httplib.BadStatusLine exceptions.
2010-02-24 04:49:00 +00:00
R. David Murray
48605be128
Issue 7975: in python 2.6 bsddb.dbshelve switched from DictMixin to
...
MutableMapping, and thereby lost functionality because the replacement
functionality was implemented incorrectly or incompletely). Since bsddb
isn't in py3k, this patch just goes back to using DictMixin in order to
correct the regression.
2010-02-24 02:31:27 +00:00
Benjamin Peterson
300c5cc874
Merged revisions 78407 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r78407 | benjamin.peterson | 2010-02-23 20:21:34 -0600 (Tue, 23 Feb 2010) | 1 line
rewrite test to not rely on __doc__ being present
........
2010-02-24 02:24:35 +00:00
R. David Murray
effb24b31b
The primary copy of lib2to3 is not trunk, so the lib2to3 change
...
should not have been included in the -OO patch, back it out.
2010-02-24 02:08:28 +00:00
Victor Stinner
f20f9c299e
Issue #7649 : Fix u'%c' % char for character in range 0x80..0xFF
...
=> raise an UnicodeDecodeError. Patch written by Ezio Melotti.
2010-02-23 23:16:07 +00:00
Dirkjan Ochtman
8614817875
Fix #1537721 : add writeheader() method to csv.DictWriter.
...
Reviewed by skip.montanaro and thomas.wouters.
2010-02-23 21:09:52 +00:00
Thomas Heller
92bd059c67
ctypes CThunkObject was not registered correctly with the cycle
...
garbage collector, leading to possible leaks when using callback
functions.
2010-02-23 20:11:44 +00:00
Jack Diederich
429a74a11a
issue#6442 use in operator instead of has_key
2010-02-23 19:34:06 +00:00
Michael Foord
d99ef9a9df
unittest.TestResult can now be used with the TextTestRunner. TextTestRunner compatible with old TestResult objects.
2010-02-23 17:00:53 +00:00
Mark Dickinson
cf80f04b16
Fix spacing nit. Thanks Eric Smith for the public humiliation.
2010-02-23 13:06:50 +00:00
Mark Dickinson
8ee9187a16
Make global variable overflowok into a keyword argument; this fixes a failure when running ./python -m test.regrtest -R 3:2: test_format
2010-02-23 12:53:52 +00:00