summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* Issue #5768: Change to Unicode output logic and test case for same.Vinay Sajip2009-04-161-0/+1
|
* call __float__ on str subclasses #5759Benjamin Peterson2009-04-151-0/+12
| | | | tests by R. David Murray
* Adjust test_asyncore to account for intentional asyncore behavior changeR. David Murray2009-04-131-4/+1
| | | | introduced by r70934 that was causing a test failure when run under -O.
* remove useless importBenjamin Peterson2009-04-121-1/+0
|
* #5741: dont disallow double percent signs in SafeConfigParser.set() keys.Georg Brandl2009-04-121-0/+4
|
* Make test_asyncore tests match code changes introduced by theR. David Murray2009-04-111-37/+20
| | | | | fix to Issue1161031, refactoring the test to simplify it in the process.
* Issue 5354: Provide a standardised testing mechanism for doing fresh imports ↵Nick Coghlan2009-04-113-35/+76
| | | | of modules, including the ability to block extension modules in order to test the pure Python fallbacks
* Issue #2170: refactored xml.dom.minidom.normalize, increasing bothR. David Murray2009-04-091-0/+161
| | | | its clarity and its speed.
* Issue 5665: add more pickling tests.Collin Winter2009-04-095-21/+428
| | | | | | | | | | | - Add tests for the module-level load() and dump() functions. - Add tests for cPickle's internal data structures, stressing workloads with many gets/puts. - Add tests for the Pickler and Unpickler classes, in particular the memo attribute. - test_xpickle is extended to test backwards compatibility with Python 2.4, 2.5 and 2.6 by round-tripping pickled objects through a worker process. This is guarded with a regrtest -u xpickle resource.
* - Make timing assertions very generous (a la test_timeout.py)Jack Diederich2009-04-071-49/+60
| | | | | - Break the gc cycle in negotiation tests - test the different guarantees of read_lazy and read_very_lazy
* eliminate more race conditions in telnetlib testsJack Diederich2009-04-071-51/+58
|
* Issue #5695: Minor tweak to improve the code as suggested by Brett Cannon ↵Vinay Sajip2009-04-071-1/+1
| | | | and as implemented in the Py3K branch.
* revert unrelated change to test_telnetlibBenjamin Peterson2009-04-071-1/+1
|
* fix since difference formating of SyntaxErrorsBenjamin Peterson2009-04-072-5/+9
|
* fix syntax tests after formatting changeBenjamin Peterson2009-04-072-44/+88
|
* - Issue #2254: Fix CGIHTTPServer information disclosure. Relative paths areGregory P. Smith2009-04-061-0/+46
| | | | now collapsed within the url properly before looking in cgi_directories.
* test the telnetlib.Telnet interface more thoroughlyJack Diederich2009-04-061-3/+276
|
* Fixes issue5705: os.setuid() and friends did not accept the same range ofGregory P. Smith2009-04-051-1/+44
| | | | values that pwd.getpwnam() returns.
* Adding assertIs and assertIsNot methods to unittest.TestCaseMichael Foord2009-04-051-0/+23
| | | | Issue #2578
* #5471: fix expanduser() for $HOME set to "/".Georg Brandl2009-04-051-0/+5
|
* #1326077: fix traceback formatting of SyntaxErrors. This fixes two ↵Georg Brandl2009-04-051-12/+17
| | | | differences with formatting coming from Python: a) the reproduction of location details in the error message if no line text is given, b) the prefixing of the last line by one space.
* Issue #5695: Moved logging.captureWarnings() call inside with statement in ↵Vinay Sajip2009-04-051-1/+1
| | | | WarningsTest.test_warnings.
* No behavior change.Hirokazu Yamamoto2009-04-041-2/+2
|
* Have namedtuple's field renamer assign names thatRaymond Hettinger2009-04-021-6/+6
| | | | are consistent with the corresponding tuple index.
* Issue #2396: backport the memoryview object.Antoine Pitrou2009-04-021-0/+328
|
* sys.long_info attributes should be ints, not longsMark Dickinson2009-04-021-3/+5
|
* Add missing iteritems() call to the for loop in mailbox.MH.get_message().R. David Murray2009-04-021-0/+6
| | | | Fixes issue2625.
* Store the functions in the _type_equality_funcs as wrapped objects that are ↵Michael Foord2009-04-021-0/+12
| | | | | | | | deep copyable. This allows for the deep copying of TestCase instances. Issue 5660
* Add custom initializer argument to multiprocess.Manager*, courtesy of lekmaJesse Noller2009-04-021-1/+31
|
* Better exception messages for unittest assert methods.Michael Foord2009-04-021-1/+171
| | | | | | | | | | | | - unittest.assertNotEqual() now uses the inequality operator (!=) instead of the equality operator. - Default assertTrue and assertFalse messages are now useful. - TestCase has a longMessage attribute. This defaults to False, but if set to True useful error messages are shown in addition to explicit messages passed to assert methods. Issue #5663
* Fixing the issue4860. Escaping embedded '"' character in js_output() method ↵Senthil Kumaran2009-04-021-4/+4
| | | | of Morsel.
* handle SEEK_ constants in test_ioBenjamin Peterson2009-04-021-4/+4
|
* Add tests checking the CSV module's ability to handleR. David Murray2009-04-011-0/+18
| | | | embedded newlines in quoted field values.
* Fix for issue5040. Adding test for Content-LengthSenthil Kumaran2009-04-011-0/+28
|
* bounds check arguments to mmap.move(). All of them. Really.Jack Diederich2009-04-011-7/+14
| | | | fixes crasher on OS X 10.5
* test_warnings ironically had a single test that was not protecting the warningsBrett Cannon2009-04-011-8/+8
| | | | filter and was resetting it.
* test_logging was blindly clearing the warnings filter. This causedBrett Cannon2009-04-011-22/+24
| | | | | PendingDeprecationWarnings to be spewed all over by unittest.failIf*(). Fix moves over to using warnings.catch_warning to protect the warnings filter.
* Issue #5647: MutableSet.__iand__() no longer mutates self during iteration.Raymond Hettinger2009-04-011-0/+25
|
* _warnings was importing itself to get an attribute. That's bad if warnings getsBrett Cannon2009-04-011-0/+35
| | | | | | called in a thread that was spawned by an import itself. Last part to close #1665206.
* Fix test_xmlrpc and make the CGI handler work with no CONTENT_LENGTH.Georg Brandl2009-04-011-1/+5
|
* Fix multiprocessing.event to match the new threading.Event APIJesse Noller2009-04-011-7/+9
|
* Fix issue 2522. locale.format now checks that it is passedR. David Murray2009-04-011-0/+14
| | | | | exactly one pattern, which avoids mysterious errors where it had seemed to fail to do localization.
* Fix for failing asyncore tests.Josiah Carlson2009-04-011-1/+2
|
* Issue #5635: Fix running test_sys with tracing enabled.Georg Brandl2009-04-011-0/+5
|
* #5228: add pickle support to functools.partialJack Diederich2009-03-311-1/+14
|
* Fix Windows test skip error revealed by buildbot. Also a comment spellingR. David Murray2009-03-312-10/+5
| | | | correction in a previously fixed test.
* #1651995: fix _convert_ref for non-ASCII characters.Georg Brandl2009-03-311-0/+9
|
* fix Thread.ident when it is the main thread or a dummy thread #5632Benjamin Peterson2009-03-311-0/+13
|
* #1674032: return value of flag from Event.wait(). OKed by Guido.Georg Brandl2009-03-311-1/+2
|
* Issue #5387: Fixed mmap.move crash by integer overflow. (take2)Hirokazu Yamamoto2009-03-311-4/+16
|