summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Issue #9868: locale was left changed after TestEnUSCollation#setUp raisedHirokazu Yamamoto2010-09-231-1/+1
| | | | TestSkip exception.
* Fix encoding for test case added in r84967.Florent Xicluna2010-09-231-1/+1
|
* Fix typo and add test case.Florent Xicluna2010-09-221-1/+16
|
* Issue 9916: Add some missing errno symbols.Barry Warsaw2010-09-221-1/+2
|
* Issue9131: Mark fragile test as CPython-specificDaniel Stutzbach2010-09-211-0/+22
|
* Issue #9908: Fix os.stat() on bytes paths under Windows 7.Antoine Pitrou2010-09-211-2/+11
|
* Fixed microsecond rounding in python version of utcfromtimestampAlexander Belopolsky2010-09-211-4/+4
|
* Added some methods to LoggerAdapter, and updated documentation.Vinay Sajip2010-09-211-1/+1
|
* rewrite nocaret test to not rely on a specific SyntaxErrorBenjamin Peterson2010-09-202-13/+4
|
* test_get_makefile_filename() is not compatible with Windows.Barry Warsaw2010-09-201-0/+2
|
* Issue 9877: expose sysconfig.get_makefile_filename() in the public API.Barry Warsaw2010-09-201-0/+4
|
* logging: Add hasHandlers() method to Logger.Vinay Sajip2010-09-201-5/+6
|
* Try a more robust implementation of _kill_processAntoine Pitrou2010-09-201-20/+14
|
* Try to fix buildbot failure (#9902)Antoine Pitrou2010-09-201-0/+4
|
* Make error more explicit in test_finalize_with_traceAntoine Pitrou2010-09-191-3/+8
|
* Try to make signal-sending tests in test_subprocess more robust on slow machinesAntoine Pitrou2010-09-191-2/+4
|