mirror of
https://github.com/python/cpython.git
synced 2025-08-02 16:13:13 +00:00
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.
This commit is contained in:
parent
6cc8310ded
commit
12c3fc9343
2 changed files with 11 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
"""Run importlib's test suite.
|
||||
|
||||
Specifying the ``--builtin`` flag will run tests, where applicable, with
|
||||
builtins.__import__ instead of importlib.__import__.
|
||||
|
||||
"""
|
||||
import importlib
|
||||
from importlib.test.import_ import util
|
||||
import os.path
|
||||
|
|
|
@ -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 (?)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue