summaryrefslogtreecommitdiffstats
path: root/Lib/importlib/test/regrtest.py
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2009-08-30 08:39:57 (GMT)
committerBrett Cannon <bcannon@gmail.com>2009-08-30 08:39:57 (GMT)
commit12c3fc934376d89168f5b072a833aa7bdd4ecd60 (patch)
treeb97da64ccb2b8731959a4cb51b3354e8a4dcb71e /Lib/importlib/test/regrtest.py
parent6cc8310ded4323a593c8beffef101c8de895629e (diff)
downloadcpython-12c3fc934376d89168f5b072a833aa7bdd4ecd60.zip
cpython-12c3fc934376d89168f5b072a833aa7bdd4ecd60.tar.gz
cpython-12c3fc934376d89168f5b072a833aa7bdd4ecd60.tar.bz2
Provide module docstrings for the two main test drivers in importlib that
explain what they are for and how to use command-line arguments to tweak semantics.
Diffstat (limited to 'Lib/importlib/test/regrtest.py')
-rw-r--r--Lib/importlib/test/regrtest.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/Lib/importlib/test/regrtest.py b/Lib/importlib/test/regrtest.py
index 7010165..17e7f4e 100644
--- a/Lib/importlib/test/regrtest.py
+++ b/Lib/importlib/test/regrtest.py
@@ -1,8 +1,11 @@
"""Run Python's standard test suite using importlib.__import__.
+Tests known to fail because of assumptions that importlib (properly)
+invalidates are automatically skipped if the entire test suite is run.
+Otherwise all command-line options valid for test.regrtest are also valid for
+this script.
+
XXX FAILING
- test___all__ # tuple being given for fromlist (looks like interpreter is
- doing it)
test_builtin # Wanting a TypeError for an integer name
test_import # execution bit, exception name differing, file name differing
between code and module (?)