Commit 12c3fc93 authored by Brett Cannon's avatar Brett Cannon

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.
parent 6cc8310d
"""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
......
"""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 (?)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment