]> granicus.if.org Git - python/commit
Add a test file to importlib that runs regrtest using importlib.__import__.
authorBrett Cannon <bcannon@gmail.com>
Thu, 27 Aug 2009 23:52:35 +0000 (23:52 +0000)
committerBrett Cannon <bcannon@gmail.com>
Thu, 27 Aug 2009 23:52:35 +0000 (23:52 +0000)
commit5e129dbc169363f286f8644edf8bf7c965869f72
tree8b109f05531aed57ed7ee7566e18a3045f6f1906
parent5c26eaad23fcfea67384f472013aa61ac445b6b6
Add a test file to importlib that runs regrtest using importlib.__import__.

The file must be run using runpy. Certain tests are currently excluded from
being run as they have known failures based on golden value checks that fail
for various reasons (typically because __loader__ is not expected to be set on
modules). Running the tests with this file does discover some incompatibilites
in importlib that will be fixed in the near future (as noted currently in the
docstring).
Lib/importlib/test/regrtest.py [new file with mode: 0644]