summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_importlib/__main__.py
blob: c39712871f2803ecd49dfb5424585edbf2a7b17e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
"""Run importlib's test suite.

Specifying the ``--builtin`` flag will run tests, where applicable, with
builtins.__import__ instead of importlib.__import__.

"""
from . import test_main


if __name__ == '__main__':
    import argparse

    parser = argparse.ArgumentParser(description='Execute the importlib test '
                                                  'suite')
    parser.add_argument('-b', '--builtin', action='store_true', default=False,
                        help='use builtins.__import__() instead of importlib')
    args = parser.parse_args()
    if args.builtin:
        util.using___import__ = True
    test_main()
>* bro-33614: Override exit code in find_msbuild.bat (GH-7169)Steve Dower2018-05-282-2/+3 * bpo-33614: Ensures module definition files for the stable ABI on Windows are ...Steve Dower2018-05-282-5/+25 * Fix Windows build of Python for latest WinSDK. (GH-6874)Carl Meyer2018-05-171-1/+2 * bpo-33522: Enable CI builds on Visual Studio Team Services (#6865)Steve Dower2018-05-161-5/+6 * bpo-33184: Update Windows installer to OpenSSL 1.1.0h (GH-6463)Steve Dower2018-04-143-5/+5 * Minor improvements to the Windows build/release process (GH-5935)Steve Dower2018-02-281-8/+7 * bpo-32901: Update Tcl and Tk versions to 8.6.8 (GH-5823)Steve Dower2018-02-232-4/+4 * bpo-31333: Re-implement ABCMeta in C (#5273)Ivan Levkivskyi2018-02-182-0/+4 * Add missing backslashes to get_externals.bat (GH-5731)Steve Dower2018-02-181-2/+2 * Improves the ability to build in CI (GH-5728)Steve Dower2018-02-183-6/+8 * bpo-32604: Make _xxsubinterpreters build on Windows (GH-5516)Zachary Ware2018-02-111-0/+1 * Start of 3.8.0a0Ned Deily2018-01-311-1/+1 * String annotations [PEP 563] (#4390)Guido van Rossum2018-01-262-0/+4 * bpo-32436: Implement PEP 567 (#5027)Yury Selivanov2018-01-236-2/+119 * bpo-32588: Move _findvs into its own module and add missing _queue module to ...Steve Dower2018-01-185-4/+119 * bpo-14976: Reentrant simple queue (#3346)Antoine Pitrou2018-01-155-1/+115 * bpo-32507: Change Windows install to include app-local UCRT (#5119)Steve Dower2018-01-0918-42/+0 * Add missing backslashes in PCbuild bat files (GH-5056)Zachary Ware2017-12-303-17/+17 * move pygetopt.h to internal (closes bpo-32264) (#4830)Benjamin Peterson2017-12-152-2/+2 * bpo-29469: Move constant folding to AST optimizer (GH-2858)INADA Naoki2017-12-142-0/+4 * Revert "bpo-32197: Try to fix a compiler error on OS X introduced in bpo-3203...Victor Stinner2017-12-042-0/+4 * bpo-32197: Try to fix a compiler error on OS X introduced in bpo-32030. (#4681)Serhiy Storchaka2017-12-022-4/+0 * bpo-32030: Add Python/pathconfig.c (#4668)Victor Stinner2017-12-012-0/+4 * bpo-32096: Remove obj and mem from _PyRuntime (#4532)Victor Stinner2017-11-242-5/+1 * bpo-31691: Specify where to find build instructions for the Windows installer...native-api2017-11-161-0/+2 * bpo-32030: Split Py_Main() into subfunctions (#4399)Victor Stinner2017-11-151-2/+2 * bpo-28791: Update Windows builds to use SQLite 3.21.0. (GH-4246)Mariatta2017-11-073-3/+3 * bpo-31957: Fixes version detection. (#4298)Steve Dower2017-11-061-8/+7 * bpo-31609: Fixes quotes in PCbuild/clean.bat (#4280)Steve Dower2017-11-041-1/+1 * bpo-31944: Fixes build and Modify button (#4278)Steve Dower2017-11-042-2/+3 * bpo-31523: Reliability improvements to the Windows build files (#3900)Steve Dower2017-10-051-1/+1 * bpo-31569: correct PCBuild/ case to PCbuild/ in build scripts and docs (GH-3711)Stefan Grönke2017-09-251-5/+5 * bpo-31392: Update SSL build for 1.1.0 (#3448)Steve Dower2017-09-095-31/+61 * bpo-30860: Consolidate stateful runtime globals. (#3397)Eric Snow2017-09-082-0/+28 * Updates PCBuild/readme.txt (#3418)Steve Dower2017-09-081-76/+54 * bpo-30389 Adds detection of VS 2017 to distutils._msvccompiler (#1632)Steve Dower2017-09-074-72/+80 * bpo-31358: Pull zlib out of the repository (GH-3375)Zachary Ware2017-09-075-28/+41 * Fixes Tix build by correcting the directories used by Tcl and Tk. (#3391)Steve Dower2017-09-063-2/+3 * bpo-31340: Change to building with MSVC v141 (included with Visual Studio 201...Steve Dower2017-09-064-2/+22 * Revert "bpo-30860: Consolidate stateful runtime globals." (#3379)Eric Snow2017-09-062-32/+0 * bpo-30860: Consolidate stateful runtime globals. (#2594)Eric Snow2017-09-062-0/+32 * bpo-30947: Update libexpat from 2.2.1 to 2.2.3 (#3106)Victor Stinner2017-08-18