| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
See http://hg.python.org/sandbox/sbt#spawn
|
|\ |
|
| |
| |
| |
| | |
testsuite.
|
| | |
|
| |
| |
| |
| | |
applicable.
|
| |
| |
| |
| | |
in subprocesses.
|
| |
| |
| |
| |
| |
| |
| | |
locale.getlocale(name) in test.regrtest.saved_test_environment
locale.getlocale() parses the locale, which is useless for
saved_test_environment.
|
| |
| |
| |
| |
| | |
Skip LC_ALL becore getlocale(locale.LC_ALL) always fail, and catch also
ValueError.
|
|\ \
| |/
| |
| | |
module
|
| | |
|
|\ \
| |/ |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
category.
Thanks to Westley Martinez for trying to fix the issue and Atsuo
Ishimoto for an initial patch.
|
| |
| |
| |
| | |
This commit also removes TESTCWD from regrtest.py's global namespace.
|
| |
| |
| |
| |
| | |
dash_R is only called from one location, and from that location
an indirect_test is passed.
|
| |
| |
| |
| |
| | |
This fixes a regression introduced in the commit for issue #15302, which
switched regrtest from getopt to argparse.
|
| |
| |
| |
| |
| |
| | |
This is the first step in refactoring regrtest to use argparse. The
regrtest module's main() function still expects a getopt-style return
value rather than an argparse.Namespace instance.
|
|\ \
| |/ |
|
| |\ |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
number of memory blocks currently allocated.
Also, the ``-R`` option to regrtest uses this function to guard against memory allocation leaks.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The concept of what was unexpected was typically defined as "some
depencendy wasn't installed", which isn't unexpected at all as it's
totally optional. Since it confuses new contributors as they think
something is wrong with their installation it seems sensible to get
rid of the concept.
This change also adds the concept of optional tests that are required
to work on a specific platform(s) (e.g. test_winreg on Windows). This
should help catch compile issues instead of a test being blindly
skipped even when it should have run.
The skipped test list in the future can also print out the reason for
being skipped to make it more obvious as to why the skipping occurred.
|
| | | |
|
|\ \ \
| |/ /
| | |
| | | |
Patch by Chris Jerdonek.
|
| |\ \
| | |/
| | |
| | | |
Patch by Chris Jerdonek.
|
| | |
| | |
| | |
| | | |
Patch by Chris Jerdonek.
|
|/ / |
|
| |
| |
| |
| | |
filling up with random data.
|
| |
| |
| |
| | |
different than KeyboardInterrupt
|
|\ \
| |/
| |
| |
| |
| | |
tests in multiprocess mode.
Patch by Chris Jerdonek.
|
| |
| |
| |
| |
| |
| | |
tests in multiprocess mode.
Patch by Chris Jerdonek.
|
| |
| |
| |
| | |
would sometimes reference an uninitialised copy of importlib._bootstrap
|
|\ \
| |/
| |
| |
| |
| | |
parent folder when running tests in multiprocess mode from a Python build.
Patch by Chris Jerdonek.
|
| |
| |
| |
| |
| |
| | |
parent folder when running tests in multiprocess mode from a Python build.
Patch by Chris Jerdonek.
|
|\ \
| |/
| |
| | |
(helps getting results in real-time when stdio is transmitted over a pipe or socket)
|
| |
| |
| |
| | |
(helps getting results in real-time when stdio is transmitted over a pipe or socket)
|
| |
| |
| |
| |
| |
| |
| | |
We need a discussion to define what should be customized how; this new
config file is premature. It was added to serve the needs of the
resources system in install_data / packaging.database, so it can be
removed alongside packaging for 3.3.
|
| |
| |
| |
| |
| |
| | |
Distutils2 will live on on PyPI and be included in the stdlib when it
is ready. See discussion starting at
http://mail.python.org/pipermail/python-dev/2012-June/120430.html
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This moves us further in the direction of using normal unittest facilities
instead of specialized regrtest ones. Any test module that can be correctly
run currently using 'python unittest -m test.test_xxx' can now be converted to
use normal unittest test loading by simply deleting its test_main, thus no
longer requiring manual maintenance of the list of tests to run. (Not all
tests can be converted that easily, since test_main sometimes does some
additional things (such as reap_children or reap_threads). In those cases the
extra code may be moved to setUpModule/tearDownModule methods, or perhaps the
same ends can be achieved in a different way, such as moving the decorators to
the test classes that need them, etc.)
I don't advocate going through and making this change wholesale, but any time
a list of tests in test_main would otherwise need to be updated, consideration
should instead be given to deleting test_main.
|
|\ \
| |/ |
|
| | |
|
| |
| |
| |
| | |
doesn't preserve Python flags and fails from a temp directory.
|
| |\
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
basic types (str, bytes, datetime)
in order to make algorithmic complexity attacks on (e.g.) web apps much more complicated.
The environment variable PYTHONHASHSEED and the new command line flag -R control this
behavior.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
bytes, datetime)
in order to make algorithmic complexity attacks on (e.g.) web apps much more complicated.
The environment variable PYTHONHASHSEED and the new command line flag -R control this
behavior.
|