Commit Graph

31098 Commits

Author SHA1 Message Date
Terry Jan Reedy 95f34ab959 Issue #18151: Replace remaining Idle 'open...close' pairs with 'with open'. 2013-08-04 15:39:03 -04:00
Charles-Francois Natali dd225e4c64 Issue #17684: Fix some test_socket failures due to limited FD passing support
on OS-X. Patch by Jeff Ramnani.
2013-05-20 19:08:19 +02:00
Eli Bendersky 2acc525a97 Issue #17011: Fix caching of xpath path when namespaces are present.
Thanks to Stefan Behnel for the report and proposed solution & test.
2013-08-03 17:47:47 -07:00
Serhiy Storchaka 3ceaff0777 Issue #16741: Remove testing of implementation artifact. 2013-08-04 01:04:15 +03:00
Serhiy Storchaka 5e376a7809 Issue #18647: Temporary disable the "nothing to repeat" check to make buildbots happy. 2013-08-03 23:46:19 +03:00
Serhiy Storchaka f6d0aeeadc Issue #16741: Fix an error reporting in int(). 2013-08-03 20:55:06 +03:00
Serhiy Storchaka 1f35ae0a3c Issue #17998: Fix an internal error in regular expression engine. 2013-08-03 19:18:38 +03:00
doko@ubuntu.com 1dfb9180a7 - Fix a fcntl test case on KFreeBSD, Debian #708653 (Petr Salinger). 2013-08-03 16:12:33 +02:00
Nick Coghlan 60b3ac7482 Close #18396: fix spurious test_signal failure on Windows
signal.getsignal returns None for some signals if faulthandler
is enabled (Patch by Jeremy Kloth)
2013-08-03 22:56:30 +10:00
Ned Deily e92dfbfec8 Issue #17046: Fix test_subprocess test_executable_without_cwd broken test case. 2013-08-02 18:02:21 -07:00
Charles-François Natali 6ddd2653ab Issue #18325: Fix a test_kqueue failure on OpenBSD: kevent's data and event
members are integers.
2013-08-02 10:21:20 +02:00
Christian Heimes 4ebc9295d1 Add simple test for resource.getpagesize() 2013-07-30 15:44:13 +02:00
Christian Heimes 65aa573082 Add more tests for hashlib and hash object attributes 2013-07-30 15:33:30 +02:00
Eli Bendersky 25f043b152 Issue #18593: fix typo in comment 2013-07-30 06:12:49 -07:00
Terry Jan Reedy 4bd31292c2 Make all idle test case names end with 'Test'. 2013-07-30 01:36:48 -04:00
Nick Coghlan c06c0aed58 Third attempt to fix #15415 on Windows
With help from jkloth on IRC, so it will hopefully work
this time :)
2013-07-29 17:51:16 +10:00
Nick Coghlan 2f253e8e62 Attempt to fix #15415 on Windows 2013-07-29 15:18:09 +10:00
Terry Jan Reedy 015b4535c5 Update gui section of idle test README. 2013-07-28 16:39:44 -04:00
Terry Jan Reedy a9d16c85d7 Issue #18441: Remove check from test_text.py in 3.3,4 (already done in 2.7). 2013-07-28 16:25:16 -04:00
Nick Coghlan 5517596c04 Close #15415: Factor out temp dir helpers to test.support
Patch by Chris Jerdonek
2013-07-28 22:11:50 +10:00
Nick Coghlan 69e3bda310 Issue #15494: test.support is now a package rather than a module
Also including this change in 3.3 to help avoid spurious conflicts
between the two most active branches.

(Initial patch by Indra Talip)
2013-07-28 21:06:50 +10:00
Terry Jan Reedy 725d9dd1a7 Issue #18441: Make test.support.requires('gui') skip when it should. 2013-07-28 00:00:20 -04:00
Benjamin Peterson d979c72160 add a test for issue #17669 (closes #18565)
Patch from Phil Connell.
2013-07-27 14:06:56 -07:00
R David Murray 271ade87ac #18503: small cleanups in test_email.
Patch by Vajrasky Kok.
2013-07-25 12:11:55 -04:00
Ezio Melotti b042daa5a7 #14853: remove test that was making too many assumptions about stdin. Patch by Elena Oat. 2013-07-25 05:21:00 +02:00
Serhiy Storchaka fa6bc29987 Issue #17944: test_zipfile now discoverable and uses subclassing to
generate tests for different compression types.  Fixed a bug with skipping
some tests due to use of exhausted iterators.
2013-07-22 21:00:11 +03:00
Ned Deily 8e8b9ba753 Issue #17532: Prevent exception when changing key sets if Options menu is empty. 2013-07-20 15:06:26 -07:00
Richard Oudkerk 14f5ee0a62 Prevent dangling threads/process warning for test_multiprocessing. 2013-07-19 22:53:42 +01:00
Serhiy Storchaka c406a121f7 Issue #18266: test_largefile now works with unittest test discovery and
supports running only selected tests.  Patch by Zachary Ware.
2013-07-17 13:42:24 +03:00
Serhiy Storchaka 880254e222 Issue #17767: test_locale now works with unittest test discovery.
Original patch by Zachary Ware.
2013-07-17 13:23:45 +03:00
R David Murray b5c9dfdab3 Closes #18475: add unittest.main() to test_email/test_inversions.
Patch by Vajrasky Kok.
2013-07-16 11:45:31 -04:00
Richard Oudkerk d15642e428 Issue #17778: Fix test discovery for test_multiprocessing. (Patch by
Zachary Ware.)
2013-07-16 15:33:41 +01:00
R David Murray 48830035e5 Closes #18464: fix typo in test name. 2013-07-15 12:09:47 -04:00
Raymond Hettinger 889b92d3aa Issue #18432: Fix unintended API change in the sched module 2013-07-13 22:42:09 -07:00
Terry Jan Reedy e6a17862e7 Issue #18365: convert buildbot errors to skips. 2013-07-13 04:05:42 -04:00
Terry Jan Reedy 4f133e2e98 Issue #18279: Add tests for idlelib/RstripExtension.py. Original patch by
Phil Webster. With that available, modify RstripExtension.py to stop deleting
null slices, which caused a file to be marked as changed when it was not.
2013-07-13 02:34:43 -04:00
R David Murray 037f65841c #18437: fix comment typo. 2013-07-12 22:55:43 -04:00
Terry Jan Reedy 04ff0382b2 Issue #18365: normalize whitespace 2013-07-12 20:16:28 -04:00
Terry Jan Reedy 21784da416 Issue #18365: Add mock Text class and test thereof versus tk.Text.
Based on patches by Todd.Rovito and Phil Webster.
2013-07-12 20:10:23 -04:00
Vinay Sajip 8c7dde3bd9 Merged upstream changes. 2013-07-12 21:19:41 +01:00
Vinay Sajip c07aa9e41f Issue #18435: Replaced simple attribute container class Context with types.SimpleNamespace. 2013-07-12 21:10:19 +01:00
R David Murray 923512f327 #18431: Decode encoded words in atoms in new email parser.
There is more to be done here in terms of accepting RFC invalid
input that some mailers accept, but this covers the valid
RFC places where encoded words can occur in structured headers.
2013-07-12 16:00:28 -04:00
R David Murray 65171b28e7 #18044: Fix parsing of encoded words of the form =?utf8?q?=XX...?=
The problem was I was only checking for decimal digits after the third '?',
not for *hex* digits :(.

This changeset also fixes a couple of comment typos, deletes an unused
function relating to encoded word parsing, and removed an invalid
'if' test from the folding function that was revealed by the tests
written to validate this issue.
2013-07-11 15:52:57 -04:00
Serhiy Storchaka 3641a74e1c Issue #17872: Fix a segfault in marshal.load() when input stream returns
more bytes than requested.
2013-07-11 22:20:47 +03:00
Serhiy Storchaka 275d5fdbe4 Issue #18101: Tcl.split() now process strings nested in a tuple as it
do with byte strings.

Added tests for Tcl.split() and Tcl.splitline().
2013-07-11 20:34:47 +03:00
R David Murray 5a33f81348 #17987: properly document support.captured_xxx.
Patch by Dmi Baranov.
2013-07-11 12:28:40 -04:00
Charles-François Natali 37114bb548 Issue #18308: don't take the scope ID into account when comparing IPv6
addresses.
2013-07-09 19:15:43 +02:00
Ezio Melotti f84e01df31 Add a couple of tests for str.center with non-ASCII chars. 2013-07-08 17:48:29 +02:00
Ezio Melotti b08495bbcf #17198: Fix a NameError in the dbm module. Patch by Valentina Mukhamedzhanova. 2013-07-07 13:15:08 +02:00
Florent Xicluna 331c3fd874 Issue #18013: Fix cgi.FieldStorage to parse the W3C sample form. 2013-07-07 12:44:28 +02:00