summaryrefslogtreecommitdiffstats
path: root/Lib/test/regrtest.py
Commit message (Collapse)AuthorAgeFilesLines
...
* test_struct grew weird behavior under regrtest.py -R,Tim Peters2006-05-231-0/+2
| | | | | due to a module-level cache. Clearing the cache should make it stop showing up in refleak reports.
* Add more ignores of ImportWarnings; these are all just potential triggersThomas Wouters2006-04-271-1/+3
| | | | | (since they won't trigger if zlib is already sucessfully imported); they were found by grepping .py files, instead of looking at warning output :)
* - Add new Warning class, ImportWarningThomas Wouters2006-04-271-0/+6
| | | | | | | | | | | | | | - Warn-raise ImportWarning when importing would have picked up a directory as package, if only it'd had an __init__.py. This swaps two tests (for case-ness and __init__-ness), but case-test is not really more expensive, and it's not in a speed-critical section. - Test for the new warning by importing a common non-package directory on sys.path: site-packages - In regrtest.py, silence warnings generated by the build-environment because Modules/ (which is added to sys.path for Setup-created modules) has 'zlib' and '_ctypes' directories without __init__.py's.
* The result of SF patch #1471578: big-memory tests for strings, lists andThomas Wouters2006-04-261-2/+18
| | | | | | tuples. Lots to be added, still, but this will give big-memory people something to play with in 2.5 alpha 2, and hopefully get more people to write these tests.
* When using -R, lots of "*** DocTestRunner.merge:" nuisance messagesTim Peters2006-04-131-1/+3
| | | | | | | appear. Get rid of them by nuking doctest's default DocTestRunner instance as part of cleanup(). Also cleanup() before running the first test repetition (the test was run once before we get into the -R branch).
* Python on OS X 10.3 and above now uses dlopen() (via dynload_shlib.c)Anthony Baxter2006-04-091-1/+0
| | | | | | to load extension modules and now provides the dl module. As a result, sys.setdlopenflags() now works correctly on these systems. (SF patch #1454844)
* Hopefully this makes test_urllib2 have inconsistent leak resultsNeal Norwitz2006-04-061-1/+2
|
* no-one but windows should expect startfile to workAnthony Baxter2006-04-051-0/+14
|
* sqlite on Windows:Tim Peters2006-04-041-1/+0
| | | | | | | | - The buildbot "fetch it" step failed at the end, due to using Unix syntax in the final "copy the DLL" step. test_sqlite was skipped as a result. - test_sqlite is no longer an expected skip on Windows.
* merged the sqlite-integration branch.Anthony Baxter2006-04-011-0/+16
| | | | | | | This is based on pysqlite2.1.3, and provides a DB-API interface in the standard library. You'll need sqlite 3.2.2 or later to build this - if you have an earlier version, the C extension module will not be built.
* Patch from Aldo Cortesi: expected skips for OpenBSD.Martin v. Löwis2006-03-261-0/+30
|
* Record that test_wait[34] get skipped on native Windows.Tim Peters2006-03-221-0/+2
|
* Rename sre.py -> re.pyNeal Norwitz2006-03-161-2/+2
|
* Renamed test_hashlib_speed.py to time_hashlib.py.Tim Peters2006-03-141-3/+0
| | | | | | | | | | | Since it's never intended that this script be run by regrtest.py, it shouldn't have been named with a "test_" prefix to begin with. A consequence is that we shouldn't see useless: test_hashlib_speed skipped -- not a unit test (stand alone benchmark) lines in regrtest output anymore.
* When the new -w option (yay! great idea) reruns aTim Peters2006-03-101-0/+2
| | | | | | failed test, first display the name of the test (else it's not always clear from the output which test is getting run).
* Add regrtest -w option.Martin v. Löwis2006-03-101-3/+20
|
* Instead of printing the exception when you interrupt a test (Ctrl-C),Neal Norwitz2006-02-281-1/+9
| | | | print the status so far and suppress printing the exception (but still exit).
* Patch #1276356: Implement new resource "urlfetch" for regrtest.Hye-Shik Chang2005-12-101-21/+3
| | | | | This enables even impatient people to run tests that require remote files such as test_normalization and test_codecmaps_*.
* Cleanup a bit more references so test_urllibnet is stable (test_urllib2 is ↵Neal Norwitz2005-11-251-2/+4
| | | | sometimes stable, at least in isolation)
* - Changes donated by Elemental Security to make it work on AIX 5.3Guido van Rossum2005-09-141-0/+28
| | | | | with IBM's 64-bit compiler (SF patch #1284289). This also closes SF bug #105470: test_pwd fails on 64bit system (Opteron).
* [ sf.net patch # 1121611 ]Gregory P. Smith2005-08-211-0/+3
| | | | | | | | | A new hashlib module to replace the md5 and sha modules. It adds support for additional secure hashes such as SHA-256 and SHA-512. The hashlib module uses OpenSSL for fast platform optimized implementations of algorithms when available. The old md5 and sha modules still exist as wrappers around hashlib to preserve backwards compatibility.
* Add support for FreeBSD 7.Hye-Shik Chang2005-07-171-0/+1
|
* yet another cache to clear when leak hunting.Michael W. Hudson2005-06-141-0/+2
|
* Add untokenize() function to allow full round-trip tokenization.Raymond Hettinger2005-06-101-1/+3
| | | | | | Should significantly enhance the utility of the module by supporting the creation of tools that modify the token stream and writeback the modified result.
* Whitespace normalization.Tim Peters2005-03-281-1/+1
|
* Only run extensive subprocess tests if -usubprocess to regrtest is ↵Peter Astrand2005-03-031-1/+3
| | | | specified. Fixes #1124637
* Patch #1050475: Fix various x86_64 build issuesMartin v. Löwis2004-11-131-0/+4
| | | | | | regrtest.py: skip rgbimg and imageop as they are not built on 64-bit systems. _tkinter.c: replace %.8x with %p for printing pointers. setup.py: add lib64 into the library directories.
* Add options to regrtest.py to make it possible to specify where to putWalter Dörwald2004-11-121-8/+18
| | | | the coverage files when -T is used.
* Missed some occurrences of test_mpzAndrew M. Kuchling2004-08-311-3/+0
|
* Remove tests for mpz, rotor, xreadlinesAndrew M. Kuchling2004-08-311-4/+0
|
* Add support for FreeBSD 6.Hye-Shik Chang2004-08-181-0/+5
|
* Report refleaks to stderr as the tests run as well as logging themMichael W. Hudson2004-08-121-0/+2
| | | | to a file.
* Add a trivial test for the compiler package, guarded by compiler resource.Jeremy Hylton2004-08-071-1/+5
| | | | | | This test is insanely slow, so it requires a resource. On my machine, it also appears to dump core. I think the problem is a stack overflow, but haven't been able to confirm.
* test_threadsignals is an expected skip on win32.Tim Peters2004-08-041-0/+1
|
* Check in my refleak hunting code.Michael W. Hudson2004-08-031-19/+91
| | | | | It's not the 100% solution -- it may not even be the 90% solution -- but it does seem to help.
* Patch #995782: Add FreeBSD 5 expectations. Will backport to 2.3.Martin v. Löwis2004-07-261-0/+1
|
* test_codecmaps_hk is also expected to be skipped when a mapping fileHye-Shik Chang2004-07-191-1/+2
| | | | isn't available. (Spotted by Raymond Hettinger)
* Move Decimal from the sandbox into production.Raymond Hettinger2004-07-011-1/+5
|
* add -L flag to cause leaks(1) command to run just before exitSkip Montanaro2004-06-061-2/+13
|
* Patch #868499, adds -T option for code coverage. The implementation is aBarry Warsaw2004-02-071-30/+51
| | | | | | fairly simpleminded adaptation of Zope3's test.py -T flag. I also changed some booleans to use True/False where appropriate.
* Add CJK codecs support as discussed on python-dev. (SF #873597)Hye-Shik Chang2004-01-171-9/+10
| | | | | Several style fixes are suggested by Martin v. Loewis and Marc-Andre Lemburg. Thanks!
* test_applesingle is an expected skip almost anywhere.Guido van Rossum2003-11-201-29/+40
|
* test_applesingle is an expected skip on Win32Raymond Hettinger2003-11-201-0/+1
|
* * Migrate set() and frozenset() from the sandbox.Raymond Hettinger2003-11-161-3/+2
| | | | | | | | * Install the unittests, docs, newsitem, include file, and makefile update. * Exercise the new functions whereever sets.py was being used. Includes the docs for libfuncs.tex. Separate docs for the types are forthcoming.
* Add test__locale to expected skip list for Darwin.Brett Cannon2003-10-131-0/+1
|
* test__locale (two underscores) can't pass on Windows: RADIXCHAR doesn'tTim Peters2003-09-201-0/+1
| | | | | exist, and neither do any of the specific 5-letter locale names the test is looking for.
* Restored commented-out line checked in by mistake.Tim Peters2003-07-231-1/+1
|
* locale-restoration code: Don't leave comparison to None implicit. ForTim Peters2003-07-231-1/+1
| | | | | all I know, the original locale may be '' (I don't think that's possible, but ...), and if so we would certainly want to restore it.
* Patch #775784: YA Cygwin expected regression test skip patchJason Tishler2003-07-221-0/+1
| | | | This patch just adds test_ioctl to the list of expected skips for Cygwin.
* Patch #746801: FreeBSD 4 expected failures, by Charles Swiger.Martin v. Löwis2003-06-071-0/+30
|