Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | reload(exceptions) should not raise an ImportError, but should act | Barry Warsaw | 2001-08-13 | 1 | -0/+8 |
| | | | | just like reload(sys). Test that this is so. Closes SF bug #422004. | ||||
* | Repair Unix-specific assumptions that caused this to fail on Windows. | Tim Peters | 2001-08-13 | 1 | -20/+18 |
| | |||||
* | Nick Mathewson: test suite for the class browser support module. | Fred Drake | 2001-08-13 | 1 | -0/+158 |
| | |||||
* | Modify _Set to support iteration. | Jeremy Hylton | 2001-08-12 | 1 | -0/+3 |
| | | | | | Otherwise printlist(surprise) will fail with a TypeError, because map is called with an argument that doesn't support iteration. | ||||
* | - Expand test for dynamic objects. | Guido van Rossum | 2001-08-12 | 1 | -21/+33 |
| | | | | | | - Remove various 'global' directives and move some global definitions inside the test functions that use them -- we have nested scopes so the old hacks using globals are no longer needed. | ||||
* | Make the output of tests skipped readable (i.e., deliberately break it | Tim Peters | 2001-08-12 | 1 | -6/+30 |
| | | | | into indented lines each of which probably fits on a typical screen line). | ||||
* | dynamics(): add tests for dynamic *instances* (which are currently | Guido van Rossum | 2001-08-12 | 1 | -1/+20 |
| | | | | broken). Also fix an invalid reference to C (should be S). | ||||
* | Test the unary operator changes to the compiler | Jeremy Hylton | 2001-08-12 | 1 | -0/+43 |
| | |||||
* | Add the list of expected skips for Linux 2.x. Restructured the code a | Guido van Rossum | 2001-08-12 | 1 | -28/+51 |
| | | | | | little bit using a dictionary to avoid more code duplication as more platforms are supported. | ||||
* | Move line; reported on python-dev by Mark Favas (thanks!). | Tim Peters | 2001-08-12 | 1 | -1/+1 |
| | |||||
* | Teach regrtest which tests we *expect* to skip on Win32. Please teach it | Tim Peters | 2001-08-12 | 1 | -0/+85 |
| | | | | about your platform too. | ||||
* | The test assumed that the local pathname convention for "foo" would sort ↵ | Jack Jansen | 2001-08-11 | 1 | -2/+4 |
| | | | | before "foo/bar", which is not true on the mac (where they are "foo" and ":foo:bar", respectively; ":foo" would be fine too, but "foo" is the preferred spelling). Fixed by sorting the output. | ||||
* | Added tests for rich comparison operator functions. | Fred Drake | 2001-08-11 | 2 | -119/+212 |
| | | | | Converted tests to PyUnit. | ||||
* | Add test for SF bug #442833 (multiple inheritance). | Guido van Rossum | 2001-08-10 | 1 | -0/+14 |
| | |||||
* | The message accompanying the TypeError exception on a readonly | Guido van Rossum | 2001-08-10 | 1 | -1/+1 |
| | | | | attribute changed again. | ||||
* | Allow AttributeError as well as TypeError for attribute-less objects. | Guido van Rossum | 2001-08-10 | 1 | -1/+1 |
| | |||||
* | Patch #441091 from Finn Bock: the more advanced flush options are not | Andrew M. Kuchling | 2001-08-10 | 1 | -15/+20 |
| | | | | | available in java, so only use the advanced flush options if they are defined in the zlib module. | ||||
* | Check in a testcase for SF bug #449000: re.sub(r'\n', ...) broke. | Guido van Rossum | 2001-08-10 | 2 | -0/+12 |
| | |||||
* | Whitespace normalization. | Tim Peters | 2001-08-09 | 7 | -41/+40 |
| | |||||
* | 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 |
| |