| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
assertWarnsRegex() assertments now check the type of the first argument
to prevent possible user error. Based on patch by Daniel Wagner-Hall.
|
|\ |
|
| |
| |
| |
| |
| |
| | |
Adds `load_package_tests` function to test.support, uses it in test_asyncio,
test_email, test_json, test_tools, test_importlib and all test_importlib
sub-packages to implement test discovery.
|
|\ \
| |/ |
|
| | |
|
| | |
|
|/
|
|
| |
module.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
module loaders.
Due to the fact that the call signatures for extension modules and
built-in modules does not allow for the specifying of what module to
initialize and that on Windows all extension modules are built-in
modules, work to clean up built-in and extension module initialization
will have to wait until Python 3.5. Because of this the semantics of
exec_module() would be incorrect, so removing the methods for now is
the best option; load_module() is still used as a fallback by
importlib and so this won't affect semantics.
|
|
|
|
|
| |
built-in loading; leads to a reload scenario where attributes get set
which are wrong after the test.
|
| |
|
|
|
|
| |
source importlib.
|
|
|
|
|
| |
unittest.TestCase in prep of running tests under frozen and source
importlib.
|
|
This should make the Linux distros happy as it is now easier to leave
importlib's tests out of their base Python distribution.
|