Commit Graph

44354 Commits

Author SHA1 Message Date
Michael Foord db003cb3d1 Fix failing test committed by accident. 2010-03-22 01:02:23 +00:00
Michael Foord 1b9e95339d -f/--failfast command line option for unittest. Issue 8074. Documentation still needed. Plus minor change to test_unittest to allow it to be run with python -m test.unittest 2010-03-22 01:01:34 +00:00
Michael Foord b1aa30f94d Issue 7815. __unittest in module globals trims frames from reported stacktraces in unittest. 2010-03-22 00:06:30 +00:00
Benjamin Peterson bb9d726357 take into account keyword arguments when passing too many args 2010-03-21 20:30:30 +00:00
Benjamin Peterson 965458931f improve error message from passing inadequate number of keyword arguments #6474
Note this removes the "non-keyword" or "keyword" phrases from these messages.
2010-03-21 20:21:00 +00:00
Benjamin Peterson 54bc22e9f3 don't write duplicate tests 2010-03-21 19:56:37 +00:00
Benjamin Peterson 52b32b6d6a fix import 2010-03-21 19:54:56 +00:00
Benjamin Peterson 88e7ebac4c co_varnames is certainly a tuple, so let's not waste time finding out 2010-03-21 19:39:52 +00:00
Benjamin Peterson d51b259b31 remove pointless condition 2010-03-21 19:35:39 +00:00
Antoine Pitrou 448da71807 Issue #3890: Fix recv() and recv_into() on non-blocking SSL sockets. 2010-03-21 19:33:38 +00:00
Benjamin Peterson 56472c2463 flatten condition 2010-03-21 19:24:08 +00:00
Antoine Pitrou f83b30832c Issue #1628484: The Makefile doesn't ignore the CFLAGS environment
variable anymore.  It also forwards the LDFLAGS settings to the linker
when building a shared library.
2010-03-21 19:19:41 +00:00
Georg Brandl 4d0130e7c8 Fix plural. 2010-03-21 19:01:38 +00:00
Andrew M. Kuchling 46c2db5d3c Add items 2010-03-21 18:47:12 +00:00
Florent Xicluna 77a8849505 #8180: Fix test_pep277 on OS X and add more tests for special Unicode normalization cases. 2010-03-21 18:00:38 +00:00
Benjamin Peterson e39b2ec6ca rewrite a bit 2010-03-21 17:34:54 +00:00
Florent Xicluna cf82fa6f91 Issue #8179: Fix macpath.realpath() on a non-existing path. 2010-03-21 12:27:20 +00:00
Florent Xicluna b88fbf4fef Use assertRaises and add a specific warning filter. 2010-03-21 11:58:11 +00:00
Georg Brandl aa89f8d04c Remove leftover word. 2010-03-21 11:50:58 +00:00
Florent Xicluna 3f5d146323 No more deprecation warnings for distutils.sysconfig, following r78666.
But when the "dl" module is available, it gives a py3k deprecation warning.
2010-03-21 11:50:17 +00:00
Florent Xicluna af61719ec3 Silence some py3k SyntaxWarning using check_py3k_warnings() with "exec" statements. 2010-03-21 11:03:21 +00:00
Florent Xicluna 8f43cec41b Fix py3k warnings in test_decimal, using unittest.assertItemsEqual. 2010-03-21 10:51:40 +00:00
Florent Xicluna 4a0f8b89f6 Silence more py3k warnings in unittest.case. 2010-03-21 10:50:44 +00:00
Georg Brandl 236da4be4e Include structmember.h correctly. 2010-03-21 10:02:47 +00:00
Georg Brandl ce00cf2ce7 Update text for newest US DST regulation. The sample file already has the calculation right. 2010-03-21 09:58:36 +00:00
Georg Brandl f23f0a2c7c Update os.kill() emulation example for Windows to use ctypes. 2010-03-21 09:51:16 +00:00
Georg Brandl a39f2afe9b Mention inefficiency of lists as queues, add link to collections.deque discussion. 2010-03-21 09:37:54 +00:00
Georg Brandl 0b56ce0bc4 Clarify that for shell=True, the shell PID will be the child PID. 2010-03-21 09:28:16 +00:00
Georg Brandl 0fcd882101 Introduce copy by slicing, used in later chapters. 2010-03-21 09:17:41 +00:00
Georg Brandl d1068be653 Document that GzipFile supports iteration. 2010-03-21 09:09:38 +00:00
Georg Brandl 3814ddfcfc Add a paragraph about set displays. 2010-03-21 09:08:00 +00:00
Georg Brandl dad0203f0a Remove the "built-in objects" file. It only contained two paragraphs of which only one contained useful information, which belongs in the ref manual however. 2010-03-21 09:02:01 +00:00
Georg Brandl 118c55778e Fix some issues found by Jacques Ducasse on the docs list. 2010-03-21 09:01:27 +00:00
Florent Xicluna 0762788081 #7092 - Silence more py3k deprecation warnings, using test_support.check_py3k_warnings() helper. 2010-03-21 01:14:24 +00:00
Michael Foord 8cb253f8d6 Change order of arguments in a unittest function. 2010-03-21 00:55:58 +00:00
Michael Foord 73dbe04619 A faulty load_tests in a test module no longer halts test discovery. A placeholder test, that reports the failure, is created instead. 2010-03-21 00:53:39 +00:00
Antoine Pitrou 134fb10408 Fix overzealous .hgignore file 2010-03-21 00:21:43 +00:00
Florent Xicluna fc5f6a7f40 Cleanup test_tarfile, and use check_warnings. 2010-03-20 22:26:42 +00:00
Florent Xicluna db4a321fea Cleanup test_struct using check_warnings. 2010-03-20 22:21:02 +00:00
Benjamin Peterson 2405547a2a wrap 2010-03-20 16:17:37 +00:00
Benjamin Peterson d47667c32b document exitfunc fixer 2010-03-20 16:16:44 +00:00
Michael Foord 98e7b7644b Issue 7832: renaming unittest.TestCase.assertSameElements to assertItemsEqual and changing behaviour 2010-03-20 03:00:34 +00:00
Florent Xicluna 2e6d2622bd #8178 Cleanup the threads after test_thread.TestForkInThread. 2010-03-20 00:17:46 +00:00
Sean Reifscheider b2efeff4a5 Fixing the file call in the rfc822.Message replacement example. 2010-03-20 00:05:42 +00:00
Sean Reifscheider 95ce1fcf8b Adding an example of reproducing the rfc822.Message() parsing. 2010-03-19 23:19:55 +00:00
Benjamin Peterson cc1d06b3ae set svn:eol-style to native on C files 2010-03-19 20:39:41 +00:00
Thomas Heller a317e77976 Initialized merge tracking via "svnmerge" with revisions "1-79104" from
svn+ssh://pythondev@svn.python.org/python/branches/branch_libffi-3_0_10-win
2010-03-19 19:59:30 +00:00
Matthias Klose 67e37f2ec2 update libffi to commit 59a259f4d348f593b45f452309f4d020a28051c4 from the
trunk (adding msvc port).
2010-03-19 18:59:20 +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
Matthias Klose 4854c969fb Generate libffi's Makefiles again to be able to run the libffi testsuite
-- Diese und die folgenden Zeilen werden ignoriert --

M    _ctypes/libffi/configure
M    _ctypes/libffi/configure.ac
M    _ctypes/libffi/aclocal.m4
M    _ctypes/libffi.diff
2010-03-19 17:46:33 +00:00