Brett Cannon
e1adeceb0c
Clean up warnings filter use in test_tempfile.
2010-03-20 22:19:55 +00:00
Brett Cannon
241bd9827b
Clean up the warnings filter use in test_set.
2010-03-20 21:55:48 +00:00
Brett Cannon
c8d502eab7
Fix the warnings usage in test_posix.
2010-03-20 21:53:28 +00:00
Brett Cannon
d3791ed450
Fix the warnings filter usage in test_http_cookies.
2010-03-20 21:51:10 +00:00
Brett Cannon
2298d538b3
Clean up warnings filter use in test_global by no longer having it be a
...
module-level manipulation of the filter.
2010-03-20 21:48:19 +00:00
Brett Cannon
41a08bcb83
Clean up warnings filter use in test_bytes.
2010-03-20 21:45:01 +00:00
Brett Cannon
776289934c
Clean up the manipulation of the warnings filter in test_builtin.
2010-03-20 20:59:33 +00:00
Florent Xicluna
f38b2b4ab1
Merged revisions 79144 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r79144 | florent.xicluna | 2010-03-20 21:30:53 +0100 (sam, 20 mar 2010) | 2 lines
#8133 : Use appropriate Unicode decomposition on MacOS X platform.
........
2010-03-20 20:38:20 +00:00
Florent Xicluna
97133720fc
Typo
2010-03-20 20:31:34 +00:00
Florent Xicluna
21164ce8f1
#8133 : Use appropriate Unicode decomposition on MacOS X platform.
2010-03-20 20:30:53 +00:00
Michael Foord
abd91d5f2c
Issue 7832. Document changes to unittest.TestCase.assertSameElements and assertItemsEqual
2010-03-20 18:09:14 +00:00
Michael Foord
91c9da34bc
Issue 7832. Deprecating assertSameElements in Py3k.
2010-03-20 17:21:27 +00:00
Michael Foord
8442a606b8
Adding assertItemsEqual with tests. Issue 7832. assertSameElements still needs to be deprecated plus documentation needs to be updated.
2010-03-20 16:58:04 +00:00
Michael Foord
98e7b7644b
Issue 7832: renaming unittest.TestCase.assertSameElements to assertItemsEqual and changing behaviour
2010-03-20 03:00:34 +00:00
Matthias Klose
b8022c8ad1
Merged revisions 79096 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79096 | matthias.klose | 2010-03-19 15:45:06 +0100 (Fr, 19 Mär 2010) | 2 lines
- Issue #1039 , #8154 : Fix os.execlp() crash with missing 2nd argument.
........
2010-03-20 02:13:49 +00:00
Florent Xicluna
6709c0c671
Merged revisions 79127 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79127 | florent.xicluna | 2010-03-20 01:17:46 +0100 (sam, 20 mar 2010) | 2 lines
#8178 Cleanup the threads after test_thread.TestForkInThread.
........
2010-03-20 00:21:04 +00:00
Florent Xicluna
2e6d2622bd
#8178 Cleanup the threads after test_thread.TestForkInThread.
2010-03-20 00:17:46 +00:00
Florent Xicluna
9b86b9a086
Merged revisions 79100 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79100 | florent.xicluna | 2010-03-19 19:34:55 +0100 (ven, 19 mar 2010) | 2 lines
Various tests cleanup: check_warnings/check_py3k_warnings, unittest.assert* and setUp/tearDown.
........
2010-03-19 19:00:44 +00:00
Florent Xicluna
bc27c6a5aa
Various tests cleanup: check_warnings/check_py3k_warnings, unittest.assert* and setUp/tearDown.
2010-03-19 18:34:55 +00:00
Gregory P. Smith
32ec9da166
* Fix a refleak when a preexec_fn was supplied (preexec_fn_args_tuple was not
...
being defref'ed).
* Fixes another potential refleak of a reference to the gc
module in the unlikely odd case where gc module isenabled or disable calls
fail.
* Adds a unittest for the above case to verify behavior and lack of leaks.
2010-03-19 16:53:08 +00:00
Matthias Klose
e9fbf2b943
- Issue #1039 , #8154 : Fix os.execlp() crash with missing 2nd argument.
2010-03-19 14:45:06 +00:00
Florent Xicluna
f089fd67fc
Merged revisions 78982,78986 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78982 | florent.xicluna | 2010-03-15 15:00:58 +0100 (lun, 15 mar 2010) | 2 lines
Remove py3k deprecation warnings from these Unicode tools.
........
r78986 | florent.xicluna | 2010-03-15 19:08:58 +0100 (lun, 15 mar 2010) | 3 lines
Issue #7783 and #7787 : open_urlresource invalidates the outdated files from the local cache.
Use this feature to fix test_normalization.
........
2010-03-19 14:25:03 +00:00
Florent Xicluna
faa663f03d
Fixed a failure in test_bigmem.
...
Merged revision 79059 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79059 | florent.xicluna | 2010-03-18 22:50:06 +0100 (jeu, 18 mar 2010) | 2 lines
Issue #8024 : Update the Unicode database to 5.2
........
2010-03-19 13:37:08 +00:00
Florent Xicluna
f1789dee30
Revert Unicode UCD 5.2 upgrade in 3.x. It broke repr() for unicode objects, and gave failures in test_bigmem. Revert 79062, 79065 and 79083.
2010-03-19 01:17:46 +00:00
Benjamin Peterson
f4fd0bf7c1
keep DeprecationWarning from failing test
2010-03-19 01:06:33 +00:00
Florent Xicluna
0106250f0d
Fix bad unicodedata checksum merge from trunk in r79062
2010-03-19 00:03:01 +00:00
Collin Winter
4222e9c07c
Merged revisions 79060 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79060 | collin.winter | 2010-03-18 14:54:01 -0700 (Thu, 18 Mar 2010) | 4 lines
Add support for weak references to code objects. This will be used by an optimization in the incoming Python 3 JIT.
Patch by Reid Kleckner!
........
2010-03-18 22:46:40 +00:00
Benjamin Peterson
689a558098
in tokenize.detect_encoding(), return utf-8-sig when a BOM is found
2010-03-18 22:29:52 +00:00
Florent Xicluna
657de43f97
Merged revisions 79059 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79059 | florent.xicluna | 2010-03-18 22:50:06 +0100 (jeu, 18 mar 2010) | 2 lines
Issue #8024 : Update the Unicode database to 5.2
........
2010-03-18 22:11:01 +00:00
Collin Winter
001a3952c9
Add support for weak references to code objects. This will be used by an optimization in the incoming Python 3 JIT.
...
Patch by Reid Kleckner!
2010-03-18 21:54:01 +00:00
Florent Xicluna
2e0a53fdf6
Issue #8024 : Update the Unicode database to 5.2
2010-03-18 21:50:06 +00:00
Florent Xicluna
53b506beda
Merged revisions 79049 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79049 | florent.xicluna | 2010-03-18 20:51:47 +0100 (jeu, 18 mar 2010) | 2 lines
#8155 : Preserve backward compatibility for test_support.check_warnings(). Add regression tests.
........
2010-03-18 20:00:57 +00:00
Florent Xicluna
735885428d
#8155 : Preserve backward compatibility for test_support.check_warnings(). Add regression tests.
2010-03-18 19:51:47 +00:00
Ezio Melotti
7fb4da7650
Merged revisions 79024 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79024 | ezio.melotti | 2010-03-17 16:22:34 +0200 (Wed, 17 Mar 2010) | 1 line
Use "x in y" instead of y.find(x) != -1.
........
2010-03-18 12:29:13 +00:00
Senthil Kumaran
f3e9b2a996
Fix for Issue8135 - urllib.unquote to support mixed percent escapes
2010-03-18 12:14:15 +00:00
Collin Winter
b24ef1963d
Merged revisions 79044 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79044 | collin.winter | 2010-03-17 17:10:34 -0700 (Wed, 17 Mar 2010) | 1 line
Make test_pwd more stable in the face of unusual LDAP/NIS/Kerberos deployments (the old test was flaky on Google buildslaves).
........
2010-03-18 00:23:44 +00:00
Collin Winter
43fe03a206
Make test_pwd more stable in the face of unusual LDAP/NIS/Kerberos deployments (the old test was flaky on Google buildslaves).
2010-03-18 00:10:34 +00:00
Collin Winter
8641c562e3
Merged revisions 79038 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79038 | collin.winter | 2010-03-17 15:36:26 -0700 (Wed, 17 Mar 2010) | 2 lines
Fix a race condition in test_asynchat uncovered by the Unladen Swallow JIT.
........
2010-03-17 23:49:15 +00:00
Antoine Pitrou
254807816c
NOTE: just porting tests here.
...
Merged revisions 79039 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79039 | antoine.pitrou | 2010-03-17 23:45:39 +0100 (mer., 17 mars 2010) | 5 lines
Issue #8104 : socket.recv_into() and socket.recvfrom_into() now support
writing into objects supporting the new buffer API, for example bytearrays
or memoryviews.
........
2010-03-17 22:50:28 +00:00
Antoine Pitrou
d7b731d160
Issue #8104 : socket.recv_into() and socket.recvfrom_into() now support
...
writing into objects supporting the new buffer API, for example bytearrays
or memoryviews.
2010-03-17 22:45:39 +00:00
Collin Winter
2227251a4e
Fix a race condition in test_asynchat uncovered by the Unladen Swallow JIT.
2010-03-17 22:36:26 +00:00
Benjamin Peterson
5d2ad25252
bring back commented out test
2010-03-17 20:57:32 +00:00
Benjamin Peterson
e6dd2cb63d
Merged revisions 79034 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79034 | benjamin.peterson | 2010-03-17 15:41:42 -0500 (Wed, 17 Mar 2010) | 1 line
prevent lambda functions from having docstrings #8164
........
2010-03-17 20:56:58 +00:00
Benjamin Peterson
0dee9c1b5c
prevent lambda functions from having docstrings #8164
2010-03-17 20:41:42 +00:00
Florent Xicluna
8fbddf15ea
Merged revisions 79030-79032 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79030 | florent.xicluna | 2010-03-17 20:05:04 +0100 (mer, 17 mar 2010) | 2 lines
Cleanup in test_import and test_coding.
........
r79031 | florent.xicluna | 2010-03-17 20:15:56 +0100 (mer, 17 mar 2010) | 2 lines
Cleanup some test cases using check_warnings and check_py3k_warnings.
........
r79032 | florent.xicluna | 2010-03-17 21:05:11 +0100 (mer, 17 mar 2010) | 2 lines
Fix and check cgi module deprecation warnings. Revert an unwanted rename in test_import.
........
2010-03-17 20:29:51 +00:00
Florent Xicluna
78c1871d21
Fix and check cgi module deprecation warnings. Revert an unwanted rename in test_import.
2010-03-17 20:05:11 +00:00
Florent Xicluna
945a8ba635
Cleanup some test cases using check_warnings and check_py3k_warnings.
2010-03-17 19:15:56 +00:00
Florent Xicluna
2b73c21bed
Cleanup in test_import and test_coding.
2010-03-17 19:05:04 +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