summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* remove all prints (since the prints where of memory locations)Jeremy Hylton2000-06-302-23/+0
|
* the mad patcher strikes again:Fredrik Lundh2000-06-301-2/+1
| | | | | | | | | | | | | | | -- added pickling support (only works if sre is imported) -- fixed wordsize problems in engine (instead of casting literals down to the character size, cast characters up to the literal size (same as the code word size). this prevents false hits when you're matching a unicode pattern against an 8-bit string. (unfortunately, this broke another test, but I think the test should be changed in this case; more on that on python-dev) -- added sre.purge function (unofficial, clears the cache)
* - fixed lookahead assertions (#10, #11, #12)Fredrik Lundh2000-06-301-3/+0
| | | | - untabified sre_constants.py
* Marc-Andre Lemburg <mal@lemburg.com>:Marc-André Lemburg2000-06-301-0/+1
| | | | Added test output.
* Marc-Andre Lemburg <mal@lemburg.com>:Marc-André Lemburg2000-06-301-0/+52
| | | | | | | New test for huge formatting strings (these could cause core dumps in previous versions). By Trent Mick.
* New test for the ucnhash module.Marc-André Lemburg2000-06-301-0/+82
|
* Marc-Andre Lemburg <mal@lemburg.com>:Marc-André Lemburg2000-06-301-3/+0
| | | | Updated test output (the ucn tests are now in test_ucn).
* Marc-Andre Lemburg <mal@lemburg.com>:Marc-André Lemburg2000-06-301-74/+0
| | | | Moved tests of new Unicode Char Name support to a separate test.
* - added support for (?P=name)Fredrik Lundh2000-06-301-2/+0
| | | | (closes #3 and #7 from the status report)
* - pedantic: make sure "python -t" doesn't complain...Fredrik Lundh2000-06-301-5/+5
|
* - fixed default value handling in group/groupdictFredrik Lundh2000-06-302-0/+399
| | | | - added test suite
* Describe a bit about writing test cases for Python...Skip Montanaro2000-06-301-0/+77
|
* final patches from Neil Schemenauer for garbage collectionJeremy Hylton2000-06-302-0/+111
|
* The low-level interface is now in _winreg; update the import here.Fred Drake2000-06-291-1/+1
|
* This patch addresses two main issues: (1) There exist some non-fatalFred Drake2000-06-292-0/+27
| | | | | | | | | | | | | | | | | | | | errors in some of the hash algorithms. For exmaple, in float_hash and complex_hash a certain part of the value is not included in the hash calculation. See Tim's, Guido's, and my discussion of this on python-dev in May under the title "fix float_hash and complex_hash for 64-bit *nix" (2) The hash algorithms that use pointers (e.g. func_hash, code_hash) are universally not correct on Win64 (they assume that sizeof(long) == sizeof(void*)) As well, this patch significantly cleans up the hash code. It adds the two function _Py_HashDouble and _PyHash_VoidPtr that the various hashing routine are changed to use. These help maintain the hash function invariant: (a==b) => (hash(a)==hash(b))) I have added Lib/test/test_hash.py and Lib/test/output/test_hash to test this for some cases.
* Skip Montanaro: modify test_socket.py to listen/connect using loopback addrGuido van Rossum2000-06-291-2/+2
|
* Marc-Andre Lemburg <mal@lemburg.com>:Marc-André Lemburg2000-06-291-0/+4
| | | | New test output
* Trent Mick <trentm@activestate.com>:Fred Drake2000-06-281-2/+54
| | | | | | | | Testing: test_array.py was also extended to check that one can set the full range of values for each of the integral signed and unsigned array types. This closes SourceForge patch #100506.
* Marc-Andre Lemburg <mal@lemburg.com>:Marc-André Lemburg2000-06-281-0/+3
| | | | Updated test output.
* Marc-Andre Lemburg <mal@lemburg.com>:Marc-André Lemburg2000-06-281-0/+75
| | | | | Added tests for the new Unicode character name support in the standard unicode-escape codec.
* Added the atexit module and documentation from Skip MontanaroFred Drake2000-06-282-0/+28
| | | | | | | <skip@mojam.com>. Revisions to the markup to make it pass LaTeX, added an index entry and a reference from the sys.exitfunc documentation. This closes SourceForge patch #100620.
* typos fixed by Rob HooftJeremy Hylton2000-06-287-7/+7
|
* Change pyexpat test suite to exercise the .returns_unicode attribute,Andrew M. Kuchling2000-06-272-20/+121
| | | | parsing the sample data once with 8-bit strings and once with Unicode.
* update output file to reflect new test of exception object str-nessJeremy Hylton2000-06-251-0/+18
|
* verify that Python raises SyntaxError for long and deeply-nested expressionsJeremy Hylton2000-06-202-0/+20
|
* add minimal test of exception use. verify that each exception can beJeremy Hylton2000-06-201-0/+12
| | | | raised, caught, and converted to a string.
* Additional tests for seek() method, written by Trent MickAndrew M. Kuchling2000-06-182-1/+36
|
* Marc-Andre Lemburg <mal@lemburg.com>:Marc-André Lemburg2000-06-141-6/+0
| | | | | Removed a test which can fail when the default locale setting uses a Latin-1 encoding. The test case is not applicable anymore.
* Marc-Andre Lemburg <mal@lemburg.com>:Marc-André Lemburg2000-06-131-3/+12
| | | | | | | | Fixed some tests to not cause the script to fail, but rather output a warning (which then is caught by regrtest.py as wrong output). This is needed to make test_unicode.py run through on JPython. Thanks to Finn Bock.
* Added test for linnuxaudiodev module; directly adapted from sunaudiodevFred Drake2000-06-102-0/+21
| | | | | test. Someone with more Linux audio knowledge should at least take a brief look at it.
* Marc-Andre Lemburg <mal@lemburg.com>:Marc-André Lemburg2000-06-081-2/+2
| | | | | Updated to the fix in %c formatting: it now always checks for a one character argument.
* Trent Mick <trentm@activestate.com>:Fred Drake2000-06-011-4/+10
| | | | | Fix test of the "math" module so it does not break on platforms that do not offer rint(); just skip that portion of the test in that case.
* Added a test to catch the base class.Barry Warsaw2000-05-252-0/+5
|
* Added math.rint() -- round according to current IEEE754 modeGuido van Rossum2000-05-112-0/+7
|
* M.-A. Lemburg <mal@lemburg.com>:Fred Drake2000-05-091-0/+6
| | | | | Added another test for string formatting (the one that produced the core dump now fixed in unicodeobject.c).
* Alas, Vladimir's patch was too aggressive, and started causing reallyGuido van Rossum2000-05-051-1/+1
| | | | | | | | weird errors. (E.g. see thread "weird bug in test_winreg" in python-dev.) Since it's actually useful to be able to re-run an individual test after running test.autotest, we keep the unloading code, but only for modules whose full name starts with "test.".
* Raise ImportError when os.fork does not exist.Guido van Rossum2000-05-041-0/+5
|
* Get rid of memory leak caused by assingning sys.exc_info() to a local.Guido van Rossum2000-04-281-2/+2
| | | | Store sys.exc_info()[:2] instead.
* Deviant1 didn't work as advertisedJeremy Hylton2000-04-271-4/+4
|
* add some more contains tests on the builtin typesJeremy Hylton2000-04-271-0/+47
|
* Added a provision to stop all threads before exiting from the test:Guido van Rossum2000-04-241-1/+7
| | | | | | the change to regrtest.py to unload all newly imported modules did something bad to the threads -- and I realized that they would never stop!
* Fix spelling error and remove Windows line endings.Guido van Rossum2000-04-241-1/+1
|
* Patch by Vladimir Marangozov to unload additionally imported modulesGuido van Rossum2000-04-211-0/+5
| | | | | after each test has been run. This avoids excessive memory growth during the tests.
* Added test_winsound by Mark Hammond.Guido van Rossum2000-04-212-0/+9
|
* Charles Waldman writes:Guido van Rossum2000-04-211-4/+4
| | | | | | | | | | """ In the course of debugging this I also saw that cPickle is inconsistent with pickle - if you attempt a pickle.load or pickle.dump on a closed file, you get a ValueError, whereas the corresponding cPickle operations give an IOError. Since cPickle is advertised as being compatible with pickle, I changed these exceptions to match. """
* Fix PR#7 comparisons of recursive objectsJeremy Hylton2000-04-141-0/+9
| | | | | Note that comparisons of deeply nested objects can still dump core in extreme cases.
* M.-A. Lemburg <mal@lemburg.com>:Fred Drake2000-04-131-0/+8
| | | | Added test for Unicode string concatenation.
* M.-A. Lemburg <mal@lemburg.com>:Fred Drake2000-04-131-0/+1
| | | | Added test output for Unicode string concatenation test.
* Marc-Andre Lemburg:Guido van Rossum2000-04-111-2/+1
| | | | | Modified .splitlines() tests according to the changes in stringobject.c.
* Marc-Andre Lemburg:Guido van Rossum2000-04-111-2/+1
| | | | | Modified .splitlines() tests according to the changes in unicodeobject.c.