summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* Fix a typo: TESTFN_UNENCODEABLE => TESTFN_UNENCODABLEVictor Stinner2010-08-133-16/+16
|
* Fix #9588. Add sys.executable to two shell=True tests.Brian Curtin2010-08-131-2/+3
|
* Reapply r83877.Antoine Pitrou2010-08-131-62/+0
|
* Re-apply r83871.Antoine Pitrou2010-08-131-22/+1
|
* Oops, I did it again: add missing \ removed in previous commitVictor Stinner2010-08-131-1/+1
|
* Oops, create TESTFN_UNENCODEABLE from TEST_FN, not TESTFN_UNICODEVictor Stinner2010-08-131-1/+1
| | | | | test_imp fails on Linux with C locale because TESTFN_UNICODE is not encodable to ascii.
* Issue #9425: NullImporter constructor is fully unicode compliantVictor Stinner2010-08-131-0/+13
| | | | | | * On non-Windows OSes: the constructor accepts bytes filenames and use surrogateescape for unicode filenames * On Windows: use GetFileAttributesW() instead of GetFileAttributesA()
* Set TESTFN_UNENCODEABLE on non-Windows OSesVictor Stinner2010-08-132-27/+37
| | | | | | | * Use 0xff byte on non-Windows OSes * mbcs is now really strict by default: i closed the issue #850997, so use the filesystem encoding and not Latin-1 * Rename TESTFN_UNICODE_UNENCODEABLE to TESTFN_UNENCODEABLE
* Remove unused test class.Eric Smith2010-08-121-5/+0
|
* Issue #7467: when a file from a ZIP archive, its CRC is checked and aAntoine Pitrou2010-08-121-0/+79
| | | | | BadZipfile error is raised if it doesn't match (as used to be the case in Python 2.5 and earlier).
* #2304: fix incorporating Eric Smith's .format suggestion and tested on ↵Tim Golden2010-08-111-1/+43
| | | | Ubuntu as well as Windows
* Issue #9550: a BufferedReader could issue an additional read when theAntoine Pitrou2010-08-111-0/+24
| | | | | | original read request had been satisfied, which can block indefinitely when the underlying raw IO channel is e.g. a socket. Report and original patch by Jason V. Miller.
* Issue #9530: Fix undefined-behaviour-inducing overflow checks in bytes and ↵Mark Dickinson2010-08-101-2/+4
| | | | bytearray implementations.
* test_winsound shouldn't crash when ctypes isn't availableAntoine Pitrou2010-08-101-1/+1
|
* Issue #3757: thread-local objects now support cyclic garbage collection.Antoine Pitrou2010-08-091-2/+16
| | | | | Thread-local objects involved in reference cycles will be deallocated timely by the cyclic GC, even if the underlying thread is still running.
* Followup to r83869 and issue #8524: rename socket.forget() to socket.detach()Antoine Pitrou2010-08-091-5/+9
| | | | and make it return the file descriptor.
* Merged manually from 2.7 branch to 3.x trunk.Florent Xicluna2010-08-092-8/+17
| | | | | | | | | | | | | | | | | | | | ------------------------------------------------------------------------ r81149 | florent.xicluna | 2010-05-13 23:40:01 +0200 (jeu. 13 mai 2010) | 2 lignes Better test skipping, with message in the log. ------------------------------------------------------------------------ r81150 | florent.xicluna | 2010-05-13 23:41:05 +0200 (jeu. 13 mai 2010) | 2 lignes Improve test feedback to troubleshoot issue #8423 on OS X. ------------------------------------------------------------------------ r81151 | florent.xicluna | 2010-05-14 01:46:48 +0200 (ven. 14 mai 2010) | 2 lignes Revert changeset r81150 which helped diagnose issue #8423 on some OS X buildbot. ------------------------------------------------------------------------ r82056 | florent.xicluna | 2010-06-17 22:30:56 +0200 (jeu. 17 juin 2010) | 2 lignes Add few words about test.test_genericpath.CommonTest ------------------------------------------------------------------------
* Merged manually from 2.7 branch to 3.x trunk.Florent Xicluna2010-08-091-17/+10
| | | | | | | | | | | | | | | | | | | | | ------------------------------------------------------------------------ r80411 | florent.xicluna | 2010-04-23 19:59:10 +0200 (ven. 23 avril 2010) | 2 lignes Remove ImportWarnings filters. They become obsolete after r79310, issue #8205. ------------------------------------------------------------------------ r80412 | florent.xicluna | 2010-04-23 20:10:12 +0200 (ven. 23 avril 2010) | 2 lignes Fix the "regrtest -s" switch. ------------------------------------------------------------------------ r81140 | florent.xicluna | 2010-05-13 19:05:29 +0200 (jeu. 13 mai 2010) | 3 lignes Add sensible information about the OS X platform to diagnose issue #8423: test_pep277 fails on "x86 Tiger" buildbot but not on "PPC Tiger". ------------------------------------------------------------------------ r81141 | florent.xicluna | 2010-05-13 20:16:06 +0200 (jeu. 13 mai 2010) | 2 lignes Revert the additional OS X information (r81140). Keep the endianness information. ------------------------------------------------------------------------
* issue #9452:Fred Drake2010-08-091-64/+179
| | | | | Add read_file, read_string, and read_dict to the configparser API; new source attribute to exceptions.
* Also temporarily revert r83871, to fix compilation on buildbotsAntoine Pitrou2010-08-091-1/+22
|
* Revert r83877 in order to fix compilationAntoine Pitrou2010-08-091-0/+62
|
* reapply the revert made in r83875Senthil Kumaran2010-08-091-62/+0
| | | | | | | | | Now the _collections is statically built, the build dependencies are in proper order and build works fine. Commit Log from r83874: Issue 9396. Apply functools.lru_cache in the place of the random flushing cache in the re module.
* Revert 83784 adding functools.lru_cache() to the re module.Raymond Hettinger2010-08-091-0/+62
| | | | | | | | | | | The problem is that the re module is imported by sysconfig and re needs functools which uses collections.OrderedDict() but the _collectionsmodule.c code is not yet constructed at this point in the build. The likely best solution will be to include _collections as part of the static build before the rest of the boot-strapping.
* Issue 9396. Apply functools.lru_cache in the place of theRaymond Hettinger2010-08-091-62/+0
| | | | random flushing cache in the re module.
* Issue 7846: fnmatch cache can grow without boundRaymond Hettinger2010-08-091-22/+1
| | | | | | Updated to solution to use the functools.lru_cache(). Restores the API so that purge() is not needed (because the cache never gets big).
* Issue #8524: Add a forget() method to socket objects, so as to put theAntoine Pitrou2010-08-081-0/+13
| | | | | socket into the closed state without closing the underlying file descriptor.
* Fix xml.etree.ElementInclude to include the tail of the current node. Issue ↵Florent Xicluna2010-08-081-0/+18
| | | | #6231
* Fix BytesWarning in test_xml_etree, introduced with r83851.Florent Xicluna2010-08-081-2/+2
|
* Issue #9425: file system encoding is not always utf-8Victor Stinner2010-08-081-4/+1
| | | | Fix a regression introduced in test_sys by r83778.
* Issue #477863: Print a warning at shutdown if gc.garbage is not empty.Antoine Pitrou2010-08-081-1/+37
|
* Issue #8047: Fix the xml.etree serializer to return bytes by default.Florent Xicluna2010-08-081-23/+23
| | | | Use ``encoding="unicode"`` to generate a Unicode string.
* revert r83830, breaks tests on unixesBenjamin Peterson2010-08-081-42/+0
|
* Issue #7564: Skip test_ioctl if another process is attached to /dev/tty.Florent Xicluna2010-08-081-1/+9
|
* Remove unused import.Mark Dickinson2010-08-081-1/+0
|
* Add test case for the HTTPResponse being an iterable. Follow-up of issue #4608.Florent Xicluna2010-08-081-2/+22
|
* Issue #2304: Add additional quotes when using cmd shell on Windows. Original ↵Tim Golden2010-08-081-0/+42
| | | | patch from Gabriel Genellina
* Use unittest specific methods for some urllib test cases. And replace ↵Florent Xicluna2010-08-083-37/+36
| | | | urllib2 with urllib.request in comments.
* Fix Issue8280 - urllib2's Request method will remove fragements in the url.Senthil Kumaran2010-08-082-0/+17
| | | | This is how it should work,wget and curl work like this way too. Old behavior was wrong.
* Issue #9507: Named tuple repr will now automatically display the rightRaymond Hettinger2010-08-081-0/+10
| | | | name in a tuple subclass.
* Issue #8433: Fix test_curses failure for platforms with recent versions of ↵Mark Dickinson2010-08-071-1/+1
| | | | ncurses.
* Issue #9425: skip tests if a filename is not encodableVictor Stinner2010-08-076-4/+29
|
* Fix an assertRaises situation and typo. Also pass all tests to run_unittestBrian Curtin2010-08-071-6/+6
| | | | rather than do it by platform -- the proper skips are in place already.
* Fix #9324: Add parameter validation to signal.signal on Windows in orderBrian Curtin2010-08-061-5/+28
| | | | to prevent crashes.
* Issue #3210: Ensure stdio handles are closed if CreateProcess failsTim Golden2010-08-061-0/+20
|
* Issue #9337: Make float.__str__ identical to float.__repr__.Mark Dickinson2010-08-044-43/+38
| | | | (And similarly for complex numbers.)
* Issue #8814: function annotations (the `__annotations__` attribute)Antoine Pitrou2010-08-041-2/+6
| | | | | are now included in the set of attributes copied by default by functools.wraps and functools.update_wrapper. Patch by Terrence Cole.
* Try to fix issue #9415: skip some tests on broken Ubuntu OpenSSLAntoine Pitrou2010-08-041-0/+23
|
* In verbose mode, identify OpenSSL build and platform more preciselyAntoine Pitrou2010-08-041-0/+18
|
* Issue #9496: Provide a test suite for the rlcompleter module. Patch byAntoine Pitrou2010-08-042-1/+73
| | | | Michele Orrù.
* fix test_smtplib/test_smtpd collision through pre-loaded reply data in ↵Richard Jones2010-08-043-4/+10
| | | | mock_socket