summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* Issue #1051: Add a script (Lib/test/make_ssl_certs.py) to generate theAntoine Pitrou2010-10-085-52/+123
| | | | custom certificate and private key files used by SSL-related certs.
* Add some debug output in verbose modeAntoine Pitrou2010-10-081-0/+4
|
* Better Python spawning primitives in test.script_helper, forAntoine Pitrou2010-10-084-85/+68
| | | | easier writing of unit tests and better error reporting.
* Issue #1589: Add ssl.match_hostname(), to help implement server identityAntoine Pitrou2010-10-081-0/+71
| | | | verification for higher-level protocols.
* Issue #9978: Wait until subprocess completes initialization. (Win32KillTests ↵Hirokazu Yamamoto2010-10-082-2/+20
| | | | in test_os)
* Fix handling on negative numbers in ast.literal_eval().Raymond Hettinger2010-10-081-1/+3
|
* Fix #8584. Fix the skipping of a number of tests due to incorrect importing.Brian Curtin2010-10-071-18/+12
| | | | | | | | This undoes a previous attempt to fix some of the skips. Value and copy come from sharedctypes rather than plain ctypes, and the test skipping is then done at the class level rather than test-by-test. There are zero skipped tests after the fix.
* Issue #9759: GzipFile now raises ValueError when an operation is attemptedAntoine Pitrou2010-10-061-0/+22
| | | | after the file is closed. Patch by Jeffrey Finkelstein.
* Fixes 9903: test_concurrent_futures writes on stderrBrian Quinlan2010-10-061-19/+31
|
* #2982 More test coverage for the pyexpat parser.Amaury Forgeot d'Arc2010-10-051-33/+80
|
* Fix interaction of custom translation classes and caching (#9042)Éric Araujo2010-10-041-0/+31
|
* Fix issue 6706: adds new handle_accepted() method to asyncore.dispatcherGiampaolo Rodolà2010-10-045-13/+32
|
* Remove the debugging print line from the test.Senthil Kumaran2010-10-041-1/+0
|
* Fix Issue10012 - httplib headers, which are (sometimes mistakenly) int are ↵Senthil Kumaran2010-10-031-0/+9
| | | | explicitly cast to str (bytes - in py3k).
* Fix Issue9272 - Change CGIHTTPServer to give the child program a copy of ↵Senthil Kumaran2010-10-031-0/+8
| | | | os.environ
* add a test and a note about metaclasses now being abcsBenjamin Peterson2010-10-021-0/+13
|
* Make the printing of sqlite version in verbose mode work with regrtest -w.R. David Murray2010-10-021-6/+8
|
* Issue #8670: Rename testcapi unicode test methodsVictor Stinner2010-10-021-11/+11
| | | | | * test_aswidechar() => unicode_aswidechar() * test_aswidecharstring() => unicode_aswidecharstring()
* Oops, revert unwanted _testcapi changes of r85174Victor Stinner2010-10-021-11/+11
|
* Issue #8670: ctypes.c_wchar supports non-BMP characters with 32 bits wchar_tVictor Stinner2010-10-021-11/+11
|
* Issue #8670: PyUnicode_AsWideChar() and PyUnicode_AsWideCharString() replaceVictor Stinner2010-10-021-0/+20
| | | | | UTF-16 surrogate pairs by single non-BMP characters for 16 bits Py_UNICODE and 32 bits wchar_t (eg. Linux in narrow build).
* Issue #8870: PyUnicode_AsWideCharString() doesn't count the trailing nul ↵Victor Stinner2010-10-021-0/+39
| | | | | | character And write unit tests for PyUnicode_AsWideChar() and PyUnicode_AsWideCharString().
* type.__abstractmethods__ should raise an AttributeError #10006Benjamin Peterson2010-10-021-0/+7
|
* Fix #10003. Add SIGBREAK to the set of valid signals on Windows.Brian Curtin2010-10-011-6/+6
| | | | This fixes a regression noticed by bzr, introduced by issue #9324.
* Issue #6608: time.asctime is now checking struct tm fields its inputAlexander Belopolsky2010-10-011-17/+23
| | | | before passing it to the system asctime. Patch by MunSic Jeong.
* Issue1491 - BaseHTTPServer incorrectly implements response code 100Senthil Kumaran2010-09-301-0/+98
|
* Issue #9599: Further accuracy tweaks to loghelper. For an integer n that's ↵Mark Dickinson2010-09-291-2/+9
| | | | small enough to be converted to a float without overflow, log(n) is now computed as log(float(n)), and similarly for log10.
* Add testcases from bug report #9980.Mark Dickinson2010-09-291-0/+5
|
* test_imp: getfilesystemencoding() cannot be None anymoreVictor Stinner2010-09-291-1/+0
| | | | And the codec name is normalized.
* Fix NNTP when there's a ".netrc" fileAntoine Pitrou2010-09-291-1/+2
|
* Disable the usenetrc option when testing nntplibAntoine Pitrou2010-09-291-1/+2
|
* Issue #9360: Cleanup and improvements to the nntplib module. The APIAntoine Pitrou2010-09-291-0/+1091
| | | | | now conforms to the philosophy of bytes and unicode separation in Python 3. A test suite has also been added.
* Fix #9978. WINFUNCTYPE is from ctypes, not from ctypes.wintypes.Brian Curtin2010-09-291-2/+2
| | | | | r85073 changed the importing in wintypes to not use *, so the previous usage here became even more incorrect.
* Issue #9962: GzipFile now has the peek() method.Antoine Pitrou2010-09-291-0/+22
|
* Have test_sqlite print version info when run in verbose mode.R. David Murray2010-09-291-1/+6
|
* #7110: have regrtest print test failures and tracebacks to stderr not stdout.R. David Murray2010-09-291-6/+6
| | | | Patch by Sandro Tosi.
* Implement #8521. Added named argument handling to winreg's CreateKeyEx,Brian Curtin2010-09-271-0/+22
| | | | | | | | DeleteKeyEx, and OpenKeyEx. Note that CKE and DKE are new functions for 3.2 so I didn't give them a versionchanged because of the existing versionadded. OpenKeyEx already existed so it gets a versionchanged tag.
* Issue #9950: Fix socket.sendall() crash or misbehaviour when a signal isAntoine Pitrou2010-09-271-0/+37
| | | | | | received. Now sendall() properly calls signal handlers if necessary, and retries sending if these returned successfully, including on sockets with a timeout.
* Fix Issue1595365 - Adding the req.headers after the un-redirect headers haveSenthil Kumaran2010-09-271-0/+12
| | | | | | been added. This helps in accidental overwritting of User-Agent header to default value. To preserve the old behavior, only headers not in unredirected headers will be updated.
* This should fix buildbot failure introduced by r84994Alexander Belopolsky2010-09-241-0/+2
|
* Make _kill_process more robust under Windows too (see issue #8432)Antoine Pitrou2010-09-241-20/+14
|
* Issue #9936: Fixed executable lines' search in the trace module.Alexander Belopolsky2010-09-242-3/+28
|
* LoginTests fails on a number of buildbots with different errors. SkipBrian Curtin2010-09-241-0/+3
| | | | it for now until a buildbot-safe solution comes up.
* Further tarfile / test_tarfile cleanupAntoine Pitrou2010-09-231-1/+2
|
* Issue #9930: Remove an unnecessary type check in wrap_binaryfunc_r;Mark Dickinson2010-09-231-0/+5
| | | | | this was causing reversed method calls like float.__radd__(3.0, 1) to return NotImplemented instead of the expected numeric value.
* #9808. Implement os.getlogin for Windows, completed by Jon Anglin.Brian Curtin2010-09-231-0/+8
| | | | | | | The test is semi-dumb, it just makes sure something comes back since we don't have a solid source to validate the returned login. We can't be 100% sure that the USERNAME env var will always match what os.getlogin() returns, so we don't make any specific assertion there.
* Try harder to fix test_tarfile under Windows buildbotsAntoine Pitrou2010-09-231-1/+3
|
* Try to fix test_tarfile issues on Windows buildbots by closing fileAntoine Pitrou2010-09-231-298/+387
| | | | objects explicitly instead of letting them linger on.
* Issue #1675951: Allow GzipFile to work with unseekable file objects.Antoine Pitrou2010-09-231-0/+21
| | | | Patch by Florian Festi.
* Skip estLoadWithUNC when UNC is not available.Hirokazu Yamamoto2010-09-231-5/+5
|