summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_dl.py
Commit message (Collapse)AuthorAgeFilesLines
* a bold attempt to fix things broken by MAL's verify patch: importFredrik Lundh2001-01-171-1/+1
| | | | 'verify' iff it's used by a test module...
* This patch removes all uses of "assert" in the regression test suiteMarc-André Lemburg2001-01-171-1/+1
| | | | | | | and replaces them with a new API verify(). As a result the regression suite will also perform its tests in optimization mode. Written by Marc-Andre Lemburg. Copyright assigned to Guido van Rossum.
* Raise 'TestSkipped' (from the test_support) module rather than 'ImportError'Thomas Wouters2000-08-041-2/+2
| | | | | to signify a test that should be marked as 'skipped' rather than 'failed'. Also 'document' it, in README.
* 1. Print the error message (carefully) when a dl.open() fails in verbose mode.Guido van Rossum1999-02-231-3/+4
| | | | 2. When no test case worked, raise ImportError instead of failing.
* Mass check-in after untabifying all files that need it.Guido van Rossum1998-03-261-13/+13
|
* Try calling getpid() from /usr/lib/libc.so instead of some otherGuido van Rossum1997-04-091-4/+1
| | | | random things.
* Many scripts, but small changes. Update the way the scripts obtain theRoger E. Masse1996-12-201-3/+1
| | | | | | | | | | | | | | | | 'verbose' flag ala GvR updated test harness architecture. Old way: verbose = 0 if __name__ == '__main__': verbose = 1 New way: from test_support import verbose Some other small readablility and functionality updates.
* Added example DL for SGI IRIX.Guido van Rossum1996-12-201-0/+2
|
* Revised strategy for testing recomended by bwarsawRoger E. Masse1996-12-161-26/+28
|
* Test for the dl module. This only works for SunOS and Solaris.Roger E. Masse1996-12-131-0/+32
I've attempted to make a test that silently exits if either module dl is not present, we're not on a Sun OS, or a standard shared library ('/usr/lib/libresolv.so') is not found... Otherwise, It does a simple test of dlmodule on that library. I *think* this would be ok to add to testall.py but I'll wait till I hear some feedback on the liberalness of this approach.