Commit graph

18081 commits

Author SHA1 Message Date
doko@ubuntu.com
7ad11bf815 - Remove execute permissions from test_dbm_gnu.py and test_dbm_ndbm.py 2013-11-19 09:12:28 +01:00
Zachary Ware
4accf45f0e Issue #19596: Set untestable tests in test_importlib to None
to avoid reporting success on empty tests.
2013-11-18 21:44:38 -06:00
Gregory P. Smith
30d8e167ff Cleanup this test's modification of os.environ in teardown (this already
exists in 3.4 but apparently wasn't done for 3.3).
2013-11-18 21:10:04 +00:00
Serhiy Storchaka
fd32fffa5a Issue #8402: Added the escape() function to the glob module. 2013-11-18 13:06:43 +02:00
Victor Stinner
e3010fd740 Relax timing on test_asyncio for busy (slow) Windows buildbots
http://buildbot.python.org/all/builders/AMD64%20Windows%20Server%202008%20%5BSB%5D%203.x/builds/1649/steps/test/logs/stdio

======================================================================
FAIL: test_wait_for_handle (test.test_asyncio.test_windows_events.ProactorTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "E:\home\cpython\buildslave\x64\3.x.snakebite-win2k8r2sp1-amd64\build\lib\test\test_asyncio\test_windows_events.py", line 112, in test_wait_for_handle
    self.assertTrue(0.18 < elapsed < 0.22, elapsed)
AssertionError: False is not true : 0.25
2013-11-18 11:05:22 +01:00
Gregory P. Smith
162307fa35 Fix test.support.bind_port() to not cause an error when Python was compiled
on a system with SO_REUSEPORT defined in the headers but run on a system
with an OS kernel that does not support that reasonably new socket option.
2013-11-17 22:19:32 +00:00
Guido van Rossum
3287905335 Skip test_asyncio if concurrent.futures can't be imported. Hopeful fix for issue 19645. 2013-11-17 17:00:21 -08:00
Antoine Pitrou
6dd0d461a4 Issue #17618: Add Base85 and Ascii85 encoding/decoding to the base64 module. 2013-11-17 23:52:25 +01:00
Victor Stinner
1a048f93bb test_selectors: test_timeout fails sometimes on busy (slow) buildbots, relax
the unit test on max time (but be more strict on mon time). Example of failure:

http://buildbot.python.org/all/builders/x86%20OpenIndiana%203.x/builds/6978/steps/test/logs/stdio

======================================================================
FAIL: test_timeout (test.test_selectors.PollSelectorTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/test/test_selectors.py", line 316, in test_timeout
    self.assertTrue(0.5 < t1 - t0 < 1.5, t1 - t0)
AssertionError: False is not true : 1.5033390671014786
2013-11-17 23:46:34 +01:00
Victor Stinner
55329f8fbd Issue #19634: time.strftime("%y") now raises a ValueError on AIX when given a
year before 1900.
2013-11-17 23:39:21 +01:00
Gregory P. Smith
b6e622d184 Fix test.support.bind_port() to not cause an error when Python was compiled
on a system with SO_REUSEPORT defined in the headers but run on a system
with an OS kernel that does not support that reasonably new socket option.
2013-11-17 22:21:02 +00:00
Serhiy Storchaka
898e976734 Issue #19603: Use specific asserts in test_decr. 2013-11-17 23:39:13 +02:00
Serhiy Storchaka
76edd2110d Issue #19603: Use specific asserts in test_decr. 2013-11-17 23:38:50 +02:00
Christian Heimes
a6bc95aa02 Issue #19448: Add private API to SSL module to lookup ASN.1 objects by OID, NID, short name and long name. 2013-11-17 19:59:14 +01:00
Richard Oudkerk
35e4ad71ba Merge. 2013-11-17 17:47:00 +00:00
Richard Oudkerk
46b4a5e51e Issue #19599: Increase sleep period. 2013-11-17 17:45:16 +00:00
Richard Oudkerk
69cce482cb Merge. 2013-11-17 17:30:54 +00:00
Richard Oudkerk
8731d7b3c6 Fix handling of SystemExit and exit code. Patch by Brodie Rao. 2013-11-17 17:24:11 +00:00
Serhiy Storchaka
80b2aa0a4f Issue #19606: Use specific asserts in http.cookiejar tests. 2013-11-17 13:46:42 +02:00
Serhiy Storchaka
9d282f6b9f Issue #19606: Use specific asserts in http.cookiejar tests. 2013-11-17 13:45:02 +02:00
Serhiy Storchaka
c1fc5b50a0 Issue #19607: Use specific asserts in weakref tests. 2013-11-17 13:20:39 +02:00
Serhiy Storchaka
2e29c9e1c2 Issue #19607: Use specific asserts in weakref tests. 2013-11-17 13:20:09 +02:00
Serhiy Storchaka
9289713c0b Issue #19605: Use specific asserts in datetime tests 2013-11-17 13:03:07 +02:00
Serhiy Storchaka
3df4dcceb9 Issue #19605: Use specific asserts in datetime tests 2013-11-17 12:52:33 +02:00
Serhiy Storchaka
f532d9419d Merge heads 2013-11-17 12:30:50 +02:00
Nick Coghlan
c610aba1ed Close #19282: Native context management in dbm 2013-11-17 15:59:51 +10:00
Serhiy Storchaka
4725dc3ff4 Issue #19604: Use specific asserts in array tests. 2013-11-17 00:45:39 +02:00
Serhiy Storchaka
91b3e77a6a Issue #19604: Use specific asserts in array tests. 2013-11-17 00:45:17 +02:00
Ezio Melotti
745d54d2fa #17806: Added keyword-argument support for "tabsize" to str/bytes.expandtabs(). 2013-11-16 19:10:57 +02:00
Serhiy Storchaka
452bab4acf Issue #16685: Added support for writing any bytes-like objects in the aifc,
sunau, and wave modules.
2013-11-16 14:01:31 +02:00
Serhiy Storchaka
7714ebbe0e Issue #5202: Added support for unseekable files in the wave module. 2013-11-16 13:04:00 +02:00
Serhiy Storchaka
a7a34a83f3 Issue #19590: Use specific asserts in email tests. 2013-11-16 12:56:54 +02:00
Serhiy Storchaka
328cf3cbdf Issue #19590: Use specific asserts in email tests. 2013-11-16 12:56:23 +02:00
Guido van Rossum
2335de7a20 asyncio: Replace connection_refused() with error_received(). 2013-11-15 16:51:48 -08:00
Jason R. Coombs
6f87a08aa7 Update more usage of assertEqual 2013-11-15 19:41:57 -05:00
Tim Golden
6e51b8ff0f Issue13674 Correct crash with strftime %y format under Windows 2013-11-12 12:36:54 +00:00
Zachary Ware
c12f09ed24 Issue #19440: Clean up test_capi 2013-11-11 22:47:04 -06:00
Guido van Rossum
39ecf2ed13 asyncio: Longer timeout in Windows test_popen. Fixes issue 19598. 2013-11-15 07:41:10 -08:00
Nick Coghlan
4e553e2e52 Avoid triggering the refleak detector 2013-11-16 00:35:34 +10:00
Nick Coghlan
c4c2580d43 Close 19609: narrow scope of codec exc chaining 2013-11-15 21:47:37 +10:00
Guido van Rossum
91d2c5674a asyncio: Refactor waitpid mocks. Patch by Anthony Baire. 2013-11-14 16:16:29 -08:00
Serhiy Storchaka
e048addedc Issue #19589: Use specific asserts in asyncio tests. 2013-11-14 23:10:51 +02:00
Guido van Rossum
f38f7f3c7b asyncio: Avoid ResourceWarning. Fix issue 19580 by Vajrasky Kok. 2013-11-14 10:06:18 -08:00
Guido van Rossum
8ff3e8af72 asyncio: Relax timing requirement. Fixes issue 19579. 2013-11-13 20:17:52 -08:00
Guido van Rossum
2bcae708d8 asyncio: Fix from Anthony Baire for CPython issue 19566 (replaces earlier fix). 2013-11-13 15:50:08 -08:00
Ethan Furman
be3c2fea35 removed Enum.__eq__ as it added nothing 2013-11-13 14:25:45 -08:00
Nick Coghlan
8b097b4ed7 Close #17828: better handling of codec errors
- output type errors now redirect users to the type-neutral
  convenience functions in the codecs module
- stateless errors that occur during encoding and decoding
  will now be automatically wrapped in exceptions that give
  the name of the codec involved
2013-11-13 23:49:21 +10:00
Nick Coghlan
d3e83e2a3e Avoid global side effect in test_ensurepip 2013-11-13 22:24:58 +10:00
Nick Coghlan
ca351e6bc5 Fix test_socket for repr update 2013-11-13 22:10:16 +10:00
Giampaolo Rodola'
1bfa7ed3b0 test.support: considering the module is a mix of utilities unrelated with each other divide __all__ in sub-sections so that it can be used as a quick-reference doc 2013-11-12 23:08:27 +01:00