Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Checking in patch #103478 -- makes popen2 and fork1 tested on BeOS. | Moshe Zadka | 2001-01-30 | 2 | -9/+9 |
| | | | | Tested for not breaking builds on Linux. | ||||
* | Fix test for free ref to global. This test should have caught a | Jeremy Hylton | 2001-01-30 | 1 | -1/+1 |
| | | | | recently fixed bug, but it checked for the wrong answer. | ||||
* | add test for illegal imports | Jeremy Hylton | 2001-01-30 | 2 | -0/+4 |
| | |||||
* | Fixed .capitalize() method of Unicode objects to work like the | Marc-André Lemburg | 2001-01-29 | 2 | -0/+4 |
| | | | | | | corresponding string method. Added tests for this too. Patch written by Marc-Andre Lemburg. Copyright assigned to Guido van Rossum. | ||||
* | The one thing I love more then writing code is deleting code. | Moshe Zadka | 2001-01-29 | 2 | -7/+26 |
| | | | | | | | | | * Removed func_hash and func_compare, so they can be treated as immutable content-less objects (address hash and comparison) * Added tests to that affect to test_funcattrs (also testing func_code is writable) * Reverse meaning of tests in test_opcodes which checked identical code gets identical functions | ||||
* | added several more urlencode test cases - part of patch 103391 | Skip Montanaro | 2001-01-28 | 1 | -3/+60 |
| | |||||
* | Added tests for new signature of new.instance(). | Fred Drake | 2001-01-28 | 1 | -7/+15 |
| | | | | Use test_support.verify() where applicable. | ||||
* | Except HierarchyRequestErr instead of TypeError. | Martin v. Löwis | 2001-01-27 | 1 | -1/+1 |
| | |||||
* | PEP 227 implementation | Jeremy Hylton | 2001-01-25 | 3 | -1/+18 |
| | | | | | test_new: new.code() noew takes two more arguments test_grammer: Add a bunch of test cases for lambda (not really PEP 227 related) | ||||
* | PEP 227 implementation | Jeremy Hylton | 2001-01-25 | 2 | -0/+262 |
| | | | | New tests cases for nested scopes. | ||||
* | add extra tests to verify that co_varnames is being set up properly | Jeremy Hylton | 2001-01-25 | 2 | -24/+23 |
| | | | | | also normalize checks for syntax errors and delete commented out definition of verify. | ||||
* | added a few more __all__ lists | Skip Montanaro | 2001-01-25 | 1 | -8/+10 |
| | | | | test___all__.py: fail silently in check_all if the module can't be imported | ||||
* | Fix the test output, now that escapes in repr() of string and Unicode | Guido van Rossum | 2001-01-24 | 2 | -6/+6 |
| | | | | are different (Ping didn't test this). | ||||
* | Fix the test output, now that escapes in repr() of string and Unicode | Guido van Rossum | 2001-01-24 | 1 | -3/+3 |
| | | | | are different (Ping couldn't test this). | ||||
* | Show '\011', '\012', and '\015' as '\t', '\n', '\r' in strings. | Ka-Ping Yee | 2001-01-24 | 3 | -162/+162 |
| | | | | Switch from octal escapes to hex escapes for other nonprintable characters. | ||||
* | Move uchhash functionality into unicodedata (after the recent | Fredrik Lundh | 2001-01-24 | 1 | -7/+8 |
| | | | | | crop of changes, the files are small enough to do this). Also adds "name" and "lookup" functions to unicodedata. | ||||
* | a few more modules get __all__ | Skip Montanaro | 2001-01-24 | 1 | -0/+9 |
| | |||||
* | It's "gopherlib" not "gopher". | Barry Warsaw | 2001-01-24 | 1 | -1/+1 |
| | |||||
* | added a few more __all__ lists | Skip Montanaro | 2001-01-23 | 1 | -0/+8 |
| | | | | fixed typo in ihooks docstring | ||||
* | Restore alphabetic order. Also try to import rlcompleter and curses, but | Tim Peters | 2001-01-23 | 1 | -7/+15 |
| | | | | don't fail if they're not available. | ||||
* | Add simple test of list comprehension that uses a name that isn't | Jeremy Hylton | 2001-01-23 | 2 | -0/+7 |
| | | | | | otherwise used in the same code block. (Not sure this is the right place, but there is no test_list_comprehensions.py.) | ||||
* | - Use "exec ... in dict" to avoid having to walk on eggshells; locals | Guido van Rossum | 2001-01-22 | 1 | -14/+20 |
| | | | | | | | | | no don't have to start with underscore. - Add spaces after commas in argument lists. - Only test dbhash if bsddb can be imported. (Wonder if there are more like this?) | ||||
* | Typo repair. | Tim Peters | 2001-01-22 | 1 | -1/+1 |
| | |||||
* | Reorganize pickle/cPickle testing so the tests pass regardless of the order | Tim Peters | 2001-01-22 | 4 | -170/+157 |
| | | | | they're run. | ||||
* | The "user" module cannot reasonably be tested. Moved to the end (and | Fred Drake | 2001-01-22 | 1 | -2/+6 |
| | | | | | | commented it out), and added an explanation as to *why*. Added period to docstring. | ||||
* | OK, changed my mind once more on this. The comparison hierarchy is | Guido van Rossum | 2001-01-22 | 1 | -1/+1 |
| | | | | | | | | | | | | | | now None < all numeric types < all other types so that once again map(max, Squares(3), Squares(2)) equals [0, 1, 4] | ||||
* | Numeric-smelling objects now once again compare smaller than | Guido van Rossum | 2001-01-22 | 1 | -1/+1 |
| | | | | non-numeric ones, so 4 < None again in the 'map' test. | ||||
* | Finn Bock (SF patch #103345): Avoid outdated exec form in | Guido van Rossum | 2001-01-22 | 1 | -2/+2 |
| | | | | test_class.py. | ||||
* | Patch #103343: Allow the important test_pkg to succeed under Jython. | Tim Peters | 2001-01-21 | 2 | -6/+6 |
| | |||||
* | Patch #103344: Sort dicts from extcall for easier comparison with Jython. | Tim Peters | 2001-01-21 | 2 | -41/+49 |
| | |||||
* | Whitespace normalization. | Tim Peters | 2001-01-21 | 1 | -2/+1 |
| | |||||
* | more __all__ updates | Skip Montanaro | 2001-01-20 | 1 | -0/+11 |
| | |||||
* | added some tests for urlencode | Skip Montanaro | 2001-01-20 | 1 | -0/+16 |
| | |||||
* | added __all__ lists to a number of Python modules | Skip Montanaro | 2001-01-20 | 2 | -0/+56 |
| | | | | | | | | added test script and expected output file as well this closes patch 103297. __all__ attributes will be added to other modules without first submitting a patch, just adding the necessary line to the test script to verify more-or-less correct implementation. | ||||
* | docstring typo | Skip Montanaro | 2001-01-20 | 1 | -1/+1 |
| | |||||
* | Better error message if ucnhash cannot be found (obscure attribute | Fredrik Lundh | 2001-01-20 | 1 | -0/+9 |
| | | | | | | errors aren't that helpful), or doesn't contain what's expected from it. Also tweaked the test script so it compiles even if ucnhash is missing. | ||||
* | Now that Marc-Andre has retracted unistr(), remove the tests. | Guido van Rossum | 2001-01-19 | 2 | -12/+0 |
| | |||||
* | Use a saner test filename, to work on Windows. | Guido van Rossum | 2001-01-19 | 1 | -3/+1 |
| | |||||
* | Add some regression tests of coredump bugs in funcobject.c 2.31. Also | Barry Warsaw | 2001-01-19 | 1 | -0/+16 |
| | | | | | added a test of a coredump that would occur when del'ing func_defaults (put here for convenience). | ||||
* | Change verify() function to raise TestFailed, not AssertionError. | Guido van Rossum | 2001-01-19 | 2 | -8/+8 |
| | | | | | | (I realize that I didn't really test this, because all the tests succeed, so verify() never raised an AssertionError -- but the test suite still succeeds, so I'm not too worried.) | ||||
* | improved the ucnhash test a bit | Fredrik Lundh | 2001-01-19 | 2 | -3/+11 |
| | |||||
* | added "getcode" and "getname" methods to the ucnhash module (they're | Fredrik Lundh | 2001-01-19 | 1 | -0/+17 |
| | | | | | probably more useful for the test code than for any applications, but one never knows...) | ||||
* | refactored the unicodeobject/ucnhash interface, to hide the | Fredrik Lundh | 2001-01-19 | 1 | -8/+6 |
| | | | | | | | implementation details inside the ucnhash module. also cleaned up the unicode copyright blurb a little; Secret Labs' internal revision history isn't that interesting... | ||||
* | urllib.py very recently changed to produce uppercase escapes, but no | Tim Peters | 2001-01-19 | 1 | -3/+8 |
| | | | | corresponding changes were made to its std test. | ||||
* | Whitespace normalization. | Tim Peters | 2001-01-19 | 1 | -1/+1 |
| | |||||
* | test_urllib is failing on Windows. I don't know why, but I can at least | Tim Peters | 2001-01-19 | 1 | -5/+5 |
| | | | | change the test to give a clue about *where* it's failing. | ||||
* | Use constructor form of "raise"; normalize <wink> docstrings. | Tim Peters | 2001-01-19 | 1 | -9/+5 |
| | |||||
* | Jeremy's patch #103323: trivial tests of all untested modules. | Tim Peters | 2001-01-19 | 2 | -0/+94 |
| | |||||
* | make error msg more informative when test of exec fails | Jeremy Hylton | 2001-01-19 | 1 | -1/+1 |
| | |||||
* | add test for SyntaxError on | Jeremy Hylton | 2001-01-19 | 1 | -1/+7 |
| | | | | | def f(a): global a |