summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_importlib/builtin
Commit message (Collapse)AuthorAgeFilesLines
* Issue #15836: assertRaises(), assertRaisesRegex(), assertWarns() andSerhiy Storchaka2015-05-211-1/+0
| | | | | assertWarnsRegex() assertments now check the type of the first argument to prevent possible user error. Based on patch by Daniel Wagner-Hall.
* Closes #22002: Merge with 3.4Zachary Ware2014-07-232-10/+7
|\
| * Issue #22002: Make full use of test discovery in test sub-packages.Zachary Ware2014-07-232-10/+7
| | | | | | | | | | | | 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.
* | Issue #19593: Use specific asserts in importlib tests.Serhiy Storchaka2014-07-071-1/+1
|\ \ | |/
| * Issue #19593: Use specific asserts in importlib tests.Serhiy Storchaka2014-07-071-1/+1
| |
* | Issue #21503: Use test_both() consistently in test_importlib.Eric Snow2014-05-162-11/+17
| |
* | Issue #19721: Consolidate test_importlib utility code into a singleBrett Cannon2014-05-093-28/+23
|/ | | | module.
* Issue #19698: Remove exec_module() from the built-in and extensionBrett Cannon2013-11-291-72/+0
| | | | | | | | | | | | | 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.
* Issue #18864: Don't try and use unittest as a testing module forBrett Cannon2013-11-221-6/+18
| | | | | built-in loading; leads to a reload scenario where attributes get set which are wrong after the test.
* Implement PEP 451 (ModuleSpec).Eric Snow2013-11-222-24/+113
|
* Issue #16803: Have test.test_importlib.builtin test both frozen andBrett Cannon2013-10-252-26/+33
| | | | source importlib.
* Issue #16803: Stop having test.test_importlib.abc ABCs inherit fromBrett Cannon2013-10-252-8/+3
| | | | | unittest.TestCase in prep of running tests under frozen and source importlib.
* Issue #15168: Move importlb.test to test.test_importlib.Brett Cannon2012-07-204-0/+179
This should make the Linux distros happy as it is now easier to leave importlib's tests out of their base Python distribution.