Commit graph

9926 commits

Author SHA1 Message Date
Brett Cannon
252365bab8 Silence the altered state warning about threadgs when running test_httplib. 2011-08-04 22:43:11 -07:00
Brett Cannon
40ccea7e1e Silence altered execution state warnings from test_telnetlib involving threads. 2011-08-04 22:37:55 -07:00
Brett Cannon
a4265546f9 Explicitly close a file to stop raising a ResourceWarning. 2011-08-04 21:34:52 -07:00
Senthil Kumaran
12fe95351b merge from 3.2 - change the extra svn to svn+ssh 2011-08-03 22:09:51 +08:00
Senthil Kumaran
7ce71f6496 change the redundant svn scheme urljoin test case to svn+ssh scheme. 2011-08-03 22:08:46 +08:00
Senthil Kumaran
8283a622fc merge heads 2011-08-03 18:45:02 +08:00
Senthil Kumaran
8a984b58b7 merge from 3.2 - Fix closes issue12683 - urljoin to work with relative join of svn scheme. 2011-08-03 18:44:10 +08:00
Senthil Kumaran
2a157d2a3d Fix closes issue12683 - urljoin to work with relative join of svn scheme. 2011-08-03 18:37:22 +08:00
Benjamin Peterson
43234ab685 handle sched_rr_get_interval not working on current 2011-08-02 22:19:14 -05:00
Benjamin Peterson
50ba271dbb fix punctuation 2011-08-02 22:15:40 -05:00
Benjamin Peterson
c158158086 fix indentation 2011-08-02 22:10:55 -05:00
Benjamin Peterson
b0fc9c4d0a merge heads 2011-08-02 22:09:56 -05:00
Benjamin Peterson
539b6c41ff OSX doesn't check sched_get_priority_(min/max) argument 2011-08-02 22:09:37 -05:00
Eli Bendersky
2b6ee28630 Issue #11049: fix test_forget on installed Python - add os.curdir to sys.path 2011-08-03 05:18:33 +03:00
Benjamin Peterson
18592ca589 bsd doesn't like letting normal processes set the scheduler 2011-08-02 18:48:59 -05:00
Benjamin Peterson
c5fce4ded2 check individually for some for sched_ functions 2011-08-02 18:07:32 -05:00
Benjamin Peterson
2740af8cc4 sched.h can exist without sched affinity support 2011-08-02 17:41:34 -05:00
Benjamin Peterson
94b580d423 expose sched.h functions (closes #12655) 2011-08-02 17:30:04 -05:00
Senthil Kumaran
d61535d50b Fix closes Issue12676 - Invalid identifier used in TypeError message in http.client.
Reported by Popa Claudiu and Patch by Santoso Wijaya.
2011-08-02 18:34:53 +08:00
Senthil Kumaran
eb71ad4c71 Fix closes Issue12676 - Invalid identifier used in TypeError message in http.client.
Reported by Popa Claudiu and Patch by Santoso Wijaya.
2011-08-02 18:33:41 +08:00
Eli Bendersky
8db645f722 Issue #11049: fix test_forget to work on installed Python, by using a temporary module for import/forget 2011-08-02 06:24:31 +03:00
Stefan Krah
d9c665b60e Merge 68b5f87566fb 2011-08-02 01:12:16 +02:00
Stefan Krah
f187a0230b Skip test_getsetlocale_issue1813() on Fedora due to setlocale() bug.
See: https://bugzilla.redhat.com/show_bug.cgi?id=726536
2011-08-02 01:06:16 +02:00
Nadeem Vawda
3c01d16ed9 Issue #11651: Move options for running tests into a Python script.
This will be particularly useful to Windows users.

run_tests.py originally written by Brett Cannon.
2011-08-01 23:48:26 +02:00
Senthil Kumaran
2f7c695b97 using support.transient_internet helper method in the urllib2net test. 2011-07-31 11:46:24 +08:00
Senthil Kumaran
e324c57367 using support.transient_internet helper method in the urllib2net test. 2011-07-31 11:45:14 +08:00
Senthil Kumaran
b351a48eee Addressing the review comments by Antoine Pitrou for smtplib.py and test_smtplib.py. Review comments by Ezio Melotti for smtplib.rst 2011-07-31 09:14:17 +08:00
Nadeem Vawda
3fc5868a1d test_smtpnet: Skip STARTTLS test if the server doesn't support it.
This issue can arise with ISPs that redirect all connections on port 25 to
their own (crappy) mail servers.
2011-07-30 23:46:54 +02:00
Senthil Kumaran
193cd2fb26 merge heads. 2011-07-30 10:57:28 +08:00
Senthil Kumaran
3d23fd6493 Fix closes Issue11281 - smtplib.STMP gets source_address parameter, which adds the ability to bind to specific source address on a machine with multiple interfaces. Patch by Paulo Scardine. 2011-07-30 10:56:50 +08:00
Benjamin Peterson
18d7d7a217 also make NotImplementedType callable 2011-07-29 18:27:44 -05:00
Benjamin Peterson
d83be998fc merge heads 2011-07-29 18:20:35 -05:00
Benjamin Peterson
c4607aeedd make the types of None and Ellipsis callable 2011-07-29 18:19:43 -05:00
Antoine Pitrou
f83e4acbae Issue #12626: In regrtest, allow to filter tests using a glob filter
with the `-m` (or `--match`) option.  This works with all test cases
using the unittest module.  This is useful with long test suites
such as test_io or test_subprocess.
2011-07-29 23:57:10 +02:00
Antoine Pitrou
b9c73e8cf0 Issue #12626: In regrtest, allow to filter tests using a glob filter
with the `-m` (or `--match`) option.  This works with all test cases
using the unittest module.  This is useful with long test suites
such as test_io or test_subprocess.
2011-07-29 23:53:38 +02:00
Benjamin Peterson
ce071ca4e7 bytes should be verboten in sum() (fixes #12654) 2011-07-29 14:23:47 -05:00
Charles-François Natali
e12c0b1767 Issue #12464: tempfile.TemporaryDirectory.cleanup() should not follow symlinks:
fix it. Patch by Petri Lehtinen.
2011-07-29 19:00:38 +02:00
Charles-François Natali
def35435ee Issue #12464: tempfile.TemporaryDirectory.cleanup() should not follow symlinks:
fix it. Patch by Petri Lehtinen.
2011-07-29 18:59:24 +02:00
Éric Araujo
c473f8ceac Merge fix for #8887 from 3.2 2011-07-29 17:38:23 +02:00
Éric Araujo
e64e51bfa7 Make “pydoc somebuiltin.somemethod” work (#8887) 2011-07-29 17:03:55 +02:00
Éric Araujo
0bbacc621c Branch merge 2011-07-29 14:30:03 +02:00
Éric Araujo
158d7696f3 Branch merge 2011-07-29 14:24:08 +02:00
Eli Bendersky
906b88fb2a Issue #12380: PyArg_ParseTuple now accepts a bytearray for the 'c' format.
As a side effect, this now allows the rjust, ljust and center methods of
bytes and bytearray to accept a bytearray argument.

Patch by Petri Lehtinen
2011-07-29 07:05:08 +03:00
Éric Araujo
2527796a22 Merge from 3.2 (#10318, #12255, #12043, #12417 and other fixes) 2011-07-29 03:11:09 +02:00
Éric Araujo
1e3a68d36b Modernize modulefinder module and tests a bit.
The tests don’t use an internal distutils function anymore, and use
regular assertEqual with sorted lists instead of a convoluted manual
diff.
2011-07-28 23:35:29 +02:00
Éric Araujo
cf534817ad Branch merge 2011-07-28 23:08:11 +02:00
Raymond Hettinger
66d2be8986 Issue 12647: Add __bool__() method to the None object. 2011-07-28 09:55:13 -07:00
Charles-François Natali
fd96eb2a68 Issue #11871: In test_threading.BarrierTests, bump the default barrier timeout
to avoid timing-dependent failures.
2011-07-27 21:28:23 +02:00
Charles-François Natali
d4d1d068dc Issue #11871: In test_threading.BarrierTests, bump the default barrier timeout
to avoid timing-dependent failures.
2011-07-27 21:26:42 +02:00
Eli Bendersky
d18a047d58 Issue #11049: added test_support to regrtest.STDTESTS list 2011-07-27 20:21:45 +03:00