Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Skip test_mhlib on Windows -- too many Unix assumptions. | Tim Peters | 2001-08-09 | 1 | -2/+6 |
| | |||||
* | Added tests for operator.floordiv() and operator.truediv(). | Fred Drake | 2001-08-09 | 2 | -0/+4 |
| | |||||
* | Restore the test for 'object' that I removed when object was | Guido van Rossum | 2001-08-09 | 1 | -0/+24 |
| | | | | uninstantiable. All is well now. | ||||
* | Unittests for mhlib, by Nick Mathewson. | Guido van Rossum | 2001-08-09 | 1 | -0/+328 |
| | |||||
* | Patch #448474: Add support for tell() and seek() to gzip.GzipFile. | Martin v. Löwis | 2001-08-09 | 1 | -0/+24 |
| | |||||
* | A test suite for binary operators, disguised as a rational number | Guido van Rossum | 2001-08-08 | 1 | -0/+340 |
| | | | | class. | ||||
* | Add a test that xml.sax.saxutils.XMLGenerator does the right thing | Fred Drake | 2001-08-07 | 2 | -1/+18 |
| | | | | | | when quoting attribute values that contain single & double quotes. This provides the rest of the regression test for SF bug #440351. | ||||
* | Fix the test so it uses IterableUserDict for the "for x in dict" test. | Guido van Rossum | 2001-08-07 | 1 | -2/+2 |
| | |||||
* | Remove the test for the 'object' type -- it can no longer be | Guido van Rossum | 2001-08-07 | 1 | -24/+0 |
| | | | | | instantiated. (Its use as a base class is adequately tested by other tests.) | ||||
* | silence warnings about import * | Jeremy Hylton | 2001-08-07 | 1 | -0/+7 |
| | |||||
* | Hack to workaround bug #445984: attempt to import _socket before | Greg Ward | 2001-08-04 | 1 | -0/+4 |
| | | | | | | | starting the test suite proper. If _socket fails to build, that will make this test fail with an ImportError -- handled by the test harness as "no such module _socket" -- instead of an AttributeError deep in CGIHTTPServer. | ||||
* | Derived from SF patch #446899 Permit import of .pyw under Windows, from | Tim Peters | 2001-08-04 | 1 | -39/+46 |
| | | | | David Bolen. | ||||
* | Don't use any characters C doesn't guarantee are safe for text-mode files. | Tim Peters | 2001-08-03 | 1 | -12/+12 |
| | | | | This should stop the bizarre translations Jack was getting from Mac CVS. | ||||
* | Fix stupid bug: when migrating these tests from the Zope repository, the | Fred Drake | 2001-08-03 | 1 | -14/+20 |
| | | | | | | | | | names of the test methods were not changed from the Zope-standard "check" names to the Python-standard "test_" names, so the tests were not actually being run. Added test of hexadecimal character references as a regression check for SF bug #445196. | ||||
* | The test opened the binary test data files in text mode! Fixed. | Jack Jansen | 2001-08-03 | 1 | -3/+3 |
| | |||||
* | Make sure that WeakValueDictionary[] raises KeyError instead of TypeError | Fred Drake | 2001-08-03 | 1 | -0/+5 |
| | | | | for keys that are not in the dictionary. | ||||
* | This test failed under python -O. | Tim Peters | 2001-08-02 | 1 | -3/+7 |
| | | | | | rewrite_file(): Delete both .pyc and .pyo leftovers, and explicitly close the new source file after writing to it. | ||||
* | Unit test for improved package import semantics. | Guido van Rossum | 2001-08-02 | 1 | -0/+74 |
| | | | | | Original by Alex Coventry (in SF patch #441791), adapted to the standard regression test framework. | ||||
* | Merge of descr-branch back into trunk. | Tim Peters | 2001-08-02 | 2 | -2/+837 |
| | |||||
* | s/endswith/startswith/ | Tim Peters | 2001-08-01 | 1 | -1/+1 |
| | |||||
* | Rewritten version of Finn Bock's SF patch #446907 (Allow jython to | Tim Peters | 2001-08-01 | 1 | -1/+4 |
| | | | | complete test_import). | ||||
* | test_codeup should not have had an expected-output file; removing it. | Tim Peters | 2001-07-30 | 1 | -10/+0 |
| | |||||
* | Add tests for getattr() and hasattr() with non-string args | Jeremy Hylton | 2001-07-30 | 2 | -0/+24 |
| | |||||
* | Fix for SF bug [ #443866 ] Evaluating func_code causing core dump | Jeremy Hylton | 2001-07-30 | 2 | -0/+14 |
| | | | | Add test that calls eval with a code object that has free variables. | ||||
* | Fix when pyexpat not built | Jeremy Hylton | 2001-07-30 | 1 | -0/+1 |
| | | | | | Import pyexpat first so that import error occurs when it is not available. | ||||
* | Patch #442866: Tests for codeop.py. | Martin v. Löwis | 2001-07-30 | 2 | -0/+100 |
| | |||||
* | One more crack at join(): stop trying to pretend this isn't a mass of | Tim Peters | 2001-07-27 | 1 | -0/+7 |
| | | | | special cases. test_pkg works again on Windows. | ||||
* | Change ntpath.join() so that join("d:/", "/whatever") returns | Tim Peters | 2001-07-26 | 1 | -0/+1 |
| | | | | | | | d:/whatever instead of /whatever. While I'm afraid changing isabs() to be *consistent* with this would break lots of code, it makes best sense for join() to do it this way. Thanks to Alex Martelli for pushing back on this one! | ||||
* | SF bug #444510: int() should guarantee truncation. | Tim Peters | 2001-07-26 | 1 | -0/+13 |
| | | | | It's guaranteed now, assuming the platform modf() works correctly. | ||||
* | Fix for bug #444493: u'\U00010001' segfaults with current CVS on | Marc-André Lemburg | 2001-07-25 | 1 | -1/+2 |
| | | | | wide builds. | ||||
* | Make this test work under Windows as well. | Fred Drake | 2001-07-23 | 1 | -2/+5 |
| | |||||
* | Test for the "glob" module, contributed by Nick Mathewson. | Fred Drake | 2001-07-23 | 1 | -0/+110 |
| | | | | | Heavily modified so this doesn't break on Windows. This closes SF patch #441175. | ||||
* | Whitespace normalization. | Tim Peters | 2001-07-23 | 1 | -4/+3 |
| | | | | Note: This test fails on Windows. Don't know why yet. | ||||
* | Tests for the "commands" module, contributed by Nick Mathewson. | Fred Drake | 2001-07-23 | 1 | -0/+45 |
| | | | | This closes SF patch #440291. | ||||
* | New tests by Nick Mathewson, for the fpformat module. | Fred Drake | 2001-07-23 | 1 | -0/+67 |
| | | | | This closes SF patch #440290. | ||||
* | On WIndows, skip the part of test_dircache that can't work on Windows. | Tim Peters | 2001-07-21 | 1 | -9/+15 |
| | |||||
* | Whitespace normalization, plus: | Tim Peters | 2001-07-21 | 3 | -13/+13 |
| | | | | | | + test_quopri.py relied on significant trailing spaces. Fixed. + test_dircache.py (still) doesn't work on Windows (directory mtime on Windows doesn't work like it does on Unix). | ||||
* | Use string.ascii_letters instead of string.letters (SF bug #226706). | Fred Drake | 2001-07-20 | 1 | -1/+1 |
| | |||||
* | Make the unicode-escape and the UTF-16 codecs handle surrogates | Marc-André Lemburg | 2001-07-20 | 1 | -0/+8 |
| | | | | | | | | correctly and thus roundtrip-safe. Some minor cleanups of the code. Added tests for the roundtrip-safety. | ||||
* | Regression test for the dircache module, contributed by Nick Mathewson. | Fred Drake | 2001-07-19 | 1 | -0/+62 |
| | | | | | Modified by Fred Drake. This closes SF patch #440827. | ||||
* | Test for the repr module, contributed by Nick Mathewson. | Fred Drake | 2001-07-19 | 1 | -0/+108 |
| | | | | This closes SF patch #440826. | ||||
* | Add some test cases for ntpath.join(). | Tim Peters | 2001-07-19 | 1 | -3/+19 |
| | |||||
* | Cosmetic: break the long lines in test_ntpath.py, and get rid of its | Tim Peters | 2001-07-19 | 2 | -9/+14 |
| | | | | expected-output file. | ||||
* | Added function xml.sax.saxutils.quoteattr(). | Fred Drake | 2001-07-19 | 2 | -2/+25 |
| | | | | This closes SF bug #440351. It should not be moved to Python 2.1.1. | ||||
* | Remove a couple of lines from the test that proved not to be portable to | Fred Drake | 2001-07-17 | 1 | -2/+0 |
| | | | | all platforms that offer tempnam(). | ||||
* | Start of a test suite for the "os" module -- this only tests the temporary | Fred Drake | 2001-07-17 | 1 | -0/+60 |
| | | | | | file management functions that have just been made available on more platforms. | ||||
* | Use the "st" versions of the "ast" calls in the parser module -- there is | Fred Drake | 2001-07-17 | 1 | -2/+2 |
| | | | | no reason to pretend the syntax trees we're dealing with are abstract. | ||||
* | Added tests for the new yield support in the parser module. | Fred Drake | 2001-07-17 | 1 | -1/+132 |
| | | | | (Should be merged with descr branch.) | ||||
* | This has never worked on Windows. Now it does. If it breaks on Unix now, | Tim Peters | 2001-07-16 | 1 | -1/+7 |
| | | | | great, it's your turn to watch it fail for months <0.9 wink>. | ||||
* | test_basic(): Add a test for "person@dom.ain (User J. Person)" which | Barry Warsaw | 2001-07-16 | 1 | -0/+12 |
| | | | | | | | | was already correctly parsed (contrary to a comment in Mailman). test_rfc2822_phrases(): RFC 2822 now requires that we allow `.' in phrases, which means we must accept dots in unquoted realname parts. Add a test to check the change in rfc822.py 1.58. |