Heray-Was-Here
Server : Apache
System : Linux vps103298.mylogin.co 4.18.0-513.11.1.el8_9.x86_64 #1 SMP Wed Jan 17 02:00:40 EST 2024 x86_64
User : calvet ( 273824)
PHP Version : 7.4.33
Disable Function : NONE
Directory :  /proc/self/root/usr/local/python-3.11/lib/python3.11/distutils/tests/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/self/root/usr/local/python-3.11/lib/python3.11/distutils/tests/__init__.py
"""Test suite for distutils.

This test suite consists of a collection of test modules in the
distutils.tests package.

Tests for the command classes in the distutils.command package are
included in distutils.tests as well, instead of using a separate
distutils.command.tests package, since command identification is done
by import rather than matching pre-defined names.

"""

import os
import unittest
from test.support.warnings_helper import save_restore_warnings_filters
from test.support import warnings_helper
from test.support import load_package_tests


def load_tests(*args):
    # bpo-40055: Save/restore warnings filters to leave them unchanged.
    # Importing tests imports docutils which imports pkg_resources
    # which adds a warnings filter.
    with (save_restore_warnings_filters(),
          warnings_helper.check_warnings(
            ("The distutils.sysconfig module is deprecated", DeprecationWarning),
            quiet=True)):
        return load_package_tests(os.path.dirname(__file__), *args)

if __name__ == "__main__":
    unittest.main()

Hry