summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* Tests for new surrogate support in the UTF-8 codec. By Bill Tutt.Marc-André Lemburg2000-07-071-0/+72
|
* Tests for new instance support in unicode().Marc-André Lemburg2000-07-071-0/+15
|
* Added tests for the new .isalpha() and .isalnum() methods.Marc-André Lemburg2000-07-052-0/+31
|
* Removed some tabs.Paul Prescod2000-07-041-6/+6
|
* - fixed grouping error bugFredrik Lundh2000-07-031-3/+0
| | | | - changed "group" operator to "groupref"
* - added lookbehind support (?<=pattern), (?<!pattern).Fredrik Lundh2000-07-031-25/+25
| | | | | | | | | | | | | | | | | the pattern must have a fixed width. - got rid of array-module dependencies; the match pro- gram is now stored inside the pattern object, rather than in an extra string buffer. - cleaned up a various of potential leaks, api abuses, and other minors in the engine module. - use mal's new isalnum macro, rather than my own work- around. - untabified test_sre.py. seems like I removed a couple of trailing spaces in the process...
* Compute the name of the test file so that it can be found both when thisFred Drake2000-07-031-2/+12
| | | | | | | test is run as a script and when imported via the regression test framework. Problem reported by Phillip Porch <root@theporch.com>.
* Fixed test outputPaul Prescod2000-07-011-0/+1
|
* Added minidom tests.Paul Prescod2000-07-013-0/+500
|
* output for openpty testGuido van Rossum2000-07-011-0/+2
|
* Thomas Wouters: Test script for openpty()Guido van Rossum2000-07-011-0/+23
|
* Thomas Wouters <thomas@xs4all.net>:Fred Drake2000-06-302-0/+97
| | | | Test case for the pty module.
* Output for test_winreg2.Fred Drake2000-06-301-0/+1
| | | | | Someone who knows what they are doing needs to replace this with something that makes sense -- I'm not running Windows right now.
* Paul Prescod <paul@prescod.net>:Fred Drake2000-06-301-0/+341
| | | | | | Regression test for the new winreg.py module. [Could a Windows person someone please review this?]
* - reverted to "\x is binary byte"Fredrik Lundh2000-06-301-1/+0
| | | | - removed evil tabs from sre_parse and sre_compile
* * added a randomize flag and corresponding -r command line argument thatSkip Montanaro2000-06-301-8/+13
| | | | | | | | | allows the caller to execute the various tests in pseudo-random order - default is still to execute tests in the order returned by findtests(). * moved initialization of the various flag variables to the main() function definition, making it possible to execute regrtest.main() interactively and still override default behavior.
* Switch to sre for regular expression matching (the new mini-re moduleGuido van Rossum2000-06-301-4/+4
| | | | | is actually by Fredrik Lundh). This will break the re tests -- Fredrik will fix this before the final release.
* 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
|