Esempio n. 1
0
# This should be equivalent to running regrtest.py from the cmdline.
# It can be especially handy if you're in an interactive shell, e.g.,
# from test import autotest.

from test import regrtest
regrtest.main()
Esempio n. 2
0
#!/usr/bin/env python
# Tamito KAJIYAMA <19 December 2000>

import os
from test import regrtest

regrtest.STDTESTS = []
regrtest.main(testdir=os.getcwd())
Esempio n. 3
0
"""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.

"""
import importlib
import sys
from test import regrtest

if __name__ == '__main__':
    __builtins__.__import__ = importlib.__import__
    sys.path_importer_cache.clear()

    regrtest.main(quiet=True, verbose2=True)
Esempio n. 4
0
def main():
    return regrtest.main(testdir=path)