Antoine Pitrou
79c3bd80ed
Backport fix for buglet from py3k
2009-06-29 14:14:56 +00:00
Kristján Valur Jónsson
e007860b8b
http://bugs.python.org/issue6267
...
Cumulative patch to http and xmlrpc
2009-06-28 21:04:17 +00:00
Benjamin Peterson
552e7a7e2f
return locals and cells in get_locals() not bound globals, though
2009-06-28 19:27:55 +00:00
Amaury Forgeot d'Arc
595f7a5bf9
#2016 Fix a crash in function call when the **kwargs dictionary is mutated
...
during the function call setup.
This even gives a slight speedup, probably because tuple allocation
is faster than PyMem_NEW.
2009-06-25 22:29:29 +00:00
Amaury Forgeot d'Arc
14fc673d4f
Remove the ipaddr module per discussion on python-dev
2009-06-23 21:09:09 +00:00
Raymond Hettinger
62641e9534
Issue 6329: Fix iteration for memoryviews.
2009-06-23 20:59:43 +00:00
R. David Murray
ef087da9e7
Fix issue 5230 by having pydoc's safeimport check to see if the import
...
error was thrown from itself in order to decide if the module can't be
found. Thanks to Lucas Prado Melo for collaborating on the fix and tests.
2009-06-23 18:02:46 +00:00
Guilherme Polo
7f146ab0ca
Issue #5450 : Moved tests involving loading tk from Lib/test/test_tcl to
...
Lib/lib-tk/test/test_tkinter/test_loadtk in order to follow the behaviour of
test_ttkguionly.
2009-06-21 17:22:50 +00:00
Benjamin Peterson
dae5db2805
use closures
2009-06-19 22:21:12 +00:00
Benjamin Peterson
5fa09e3eb5
show that this one isn't used
2009-06-19 22:16:28 +00:00
Benjamin Peterson
9c5e4115ab
add missing assertion #6313
2009-06-19 22:09:17 +00:00
Benjamin Peterson
f1cccaa6b2
remove duplicate test
2009-06-19 22:07:47 +00:00
Georg Brandl
c29863e3a6
#6276 : Remove usage of nested() in favor of new with statement with multiple managers.
2009-06-18 22:24:26 +00:00
Hirokazu Yamamoto
cdcd4bff12
Issue #6215 : Fixed to use self.open() instead of open() or io.open().
2009-06-17 07:05:33 +00:00
Mark Dickinson
5d730177a9
Acknowledge the role of the MPFR library in creating cmath_testcases.txt
2009-06-16 20:31:12 +00:00
Benjamin Peterson
08a0bbc846
don't mask encoding errors when decoding a string #6289
2009-06-16 00:29:31 +00:00
Amaury Forgeot d'Arc
f81ff989d6
#6227 : Because of a wrong indentation, the test was not testing what it should.
...
Ensure that the snippet in doctest_aliases actually contains aliases.
2009-06-14 21:20:40 +00:00
Benjamin Peterson
a72be3b325
when no module is given in a 'from' relative import, make ImportFrom.module NULL
2009-06-13 20:23:33 +00:00
Benjamin Peterson
52c4bec76b
give a better error message when deleting ()
2009-06-13 17:08:53 +00:00
Benjamin Peterson
d1f5a59edb
allow importing from a module named None if it has an 'as' clause
2009-06-13 13:06:21 +00:00
Benjamin Peterson
565e1b6bb7
prevent import statements from assigning to None
2009-06-13 03:46:30 +00:00
Benjamin Peterson
4afbba3d34
keep the slice.step field as NULL if no step expression is given
2009-06-13 01:40:00 +00:00
Alexandre Vassalotti
cb73bdac95
Revert r73401 per Raymond Hettinger's request.
...
The rational is the change might cause imcompatiblity problems with
PyYAML. In addition, Raymond wants to kept the different versions of
collections synchronized across Python versions.
2009-06-12 23:03:35 +00:00
Alexandre Vassalotti
450ae573bc
Make pickling of OrderedDict instances more efficient.
2009-06-12 21:52:14 +00:00
Antoine Pitrou
c5ae86b9d3
Re-enable testing of builtin open() in test_bufio in test_largefile
2009-06-12 20:54:21 +00:00
Antoine Pitrou
47a5f48006
Try to restore the old test_file and test_univnewlines as new, different files
...
(with the right revisions this time, hopefully)
2009-06-12 20:41:52 +00:00
Antoine Pitrou
c5d2b4156c
Restore the old test_file.py (for the builtin file object) as a new file named test_file2k.py
2009-06-12 20:36:25 +00:00
Antoine Pitrou
1969059327
Issue #6215 : backport the 3.1 io lib
2009-06-12 20:14:08 +00:00
Amaury Forgeot d'Arc
5217c0848a
Missing import in test_curses, uncovered by some buildbots.
...
(There are still a few test files that don't use the standard layout)
2009-06-09 23:37:11 +00:00
Eric Smith
9eeeee9d71
Restored a test that was erroneously removed. See issue 6198.
2009-06-09 12:38:08 +00:00
Benjamin Peterson
a5a5728cf0
remove error checks already done in set_context()
2009-06-08 23:44:13 +00:00
Benjamin Peterson
64092a56ec
backport r73273
2009-06-07 23:12:44 +00:00
Georg Brandl
9be5998760
#6206 : fix test__locale.
2009-06-06 05:54:34 +00:00
Michael Foord
d53d085ada
Fix unittest discovery tests for Windows. Issue 6199
2009-06-05 14:14:34 +00:00
Eric Smith
7c58b09b64
Removed tests so that test_float pass on Windows. See issue 6198.
2009-06-05 12:33:26 +00:00
Hirokazu Yamamoto
fbf63a7dfa
Fix test__locale on windows (Backport of r72365)
2009-06-05 05:15:58 +00:00
Georg Brandl
4da2fa5517
Add test for #3684 .
2009-06-04 18:59:58 +00:00
Georg Brandl
46121e79ce
Better name for "Ctor".
2009-06-04 10:10:41 +00:00
Georg Brandl
19e79f79ce
Avoid PendingDeprecationWarnings emitted by deprecated unittest methods.
2009-06-03 23:23:45 +00:00
Michael Foord
dad7b7b1cb
Restore default testRunner argument in unittest.main to None. Issue 6177
2009-06-02 18:08:27 +00:00
Gregory P. Smith
61e7fbf2c1
Fixes issue6169: it was possible for two ipaddr network addresses to compare
...
as both < and > than eachother.
2009-06-02 05:25:34 +00:00
Amaury Forgeot d'Arc
b02ceda3a5
#4547 : When debugging a very large function, it was not always
...
possible to update the lineno attribute of the current frame.
2009-06-01 20:53:18 +00:00
R. David Murray
8fcaebbef4
Issue 3848: document the fact that epoll register raises an IOError if
...
an fd is registered twice, and add some additional epoll tests. Patch
by Christian Heimes.
2009-05-31 19:15:57 +00:00
Benjamin Peterson
382ccdfd5b
remove function import
2009-05-31 14:43:00 +00:00
Antoine Pitrou
4698d9928e
Issue #6152 : New option '-j'/'--multiprocess' for regrtest allows running
...
regression tests in parallel, shortening the total runtime.
2009-05-31 14:20:14 +00:00
Antoine Pitrou
4528bcde77
The test for #5330 wasn't correct.
2009-05-30 21:39:25 +00:00
Antoine Pitrou
46dbe27f7e
Issue #5330 : C functions called with keyword arguments were not reported by
...
the various profiling modules (profile, cProfile). Patch by Hagen Fürstenau.
2009-05-30 21:27:00 +00:00
Benjamin Peterson
465089271f
add with statements
2009-05-29 21:48:19 +00:00
Michael Foord
b4a81c838a
Add test discovery to unittest. Issue 6001.
2009-05-29 20:33:46 +00:00
R. David Murray
6b98544b32
Refactor test parameterization to resolve update timing problem.
2009-05-29 17:31:05 +00:00