| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
| |
due to a module-level cache. Clearing the cache should
make it stop showing up in refleak reports.
|
|
|
|
|
| |
(since they won't trigger if zlib is already sucessfully imported); they
were found by grepping .py files, instead of looking at warning output :)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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).
|
|
|
|
|
|
| |
to load extension modules and now provides the dl module. As a result,
sys.setdlopenflags() now works correctly on these systems. (SF patch
#1454844)
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
- 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.
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
failed test, first display the name of the test (else
it's not always clear from the output which test is
getting run).
|
| |
|
|
|
|
| |
print the status so far and suppress printing the exception (but still exit).
|
|
|
|
|
| |
This enables even impatient people to run tests that require remote
files such as test_normalization and test_codecmaps_*.
|
|
|
|
| |
sometimes stable, at least in isolation)
|
|
|
|
|
| |
with IBM's 64-bit compiler (SF patch #1284289). This also closes SF
bug #105470: test_pwd fails on 64bit system (Opteron).
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
| |
Should significantly enhance the utility of the module by supporting
the creation of tools that modify the token stream and writeback the
modified result.
|
| |
|
|
|
|
| |
specified. Fixes #1124637
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
the coverage files when -T is used.
|
| |
|
| |
|
| |
|
|
|
|
| |
to a file.
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
It's not the 100% solution -- it may not even be the 90% solution -- but
it does seem to help.
|
| |
|
|
|
|
| |
isn't available. (Spotted by Raymond Hettinger)
|
| |
|
| |
|
|
|
|
|
|
| |
fairly simpleminded adaptation of Zope3's test.py -T flag.
I also changed some booleans to use True/False where appropriate.
|
|
|
|
|
| |
Several style fixes are suggested by Martin v. Loewis and
Marc-Andre Lemburg. Thanks!
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
|
|
|
|
| |
exist, and neither do any of the specific 5-letter locale names the test
is looking for.
|
| |
|
|
|
|
|
| |
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.
|
|
|
|
| |
This patch just adds test_ioctl to the list of expected skips for Cygwin.
|
| |
|