]> git.proxmox.com Git - mirror_edk2.git/blobdiff - AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/tests/__init__.py
edk2: Remove AppPkg, StdLib, StdLibPrivateInternalFiles
[mirror_edk2.git] / AppPkg / Applications / Python / Python-2.7.2 / Lib / lib2to3 / tests / __init__.py
diff --git a/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/tests/__init__.py b/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/tests/__init__.py
deleted file mode 100644 (file)
index 6275600..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-"""Make tests/ into a package. This allows us to "import tests" and\r
-have tests.all_tests be a TestSuite representing all test cases\r
-from all test_*.py files in tests/."""\r
-# Author: Collin Winter\r
-\r
-import os\r
-import os.path\r
-import unittest\r
-import types\r
-\r
-from . import support\r
-\r
-all_tests = unittest.TestSuite()\r
-\r
-tests_dir = os.path.join(os.path.dirname(__file__), '..', 'tests')\r
-tests = [t[0:-3] for t in os.listdir(tests_dir)\r
-                        if t.startswith('test_') and t.endswith('.py')]\r
-\r
-loader = unittest.TestLoader()\r
-\r
-for t in tests:\r
-    __import__("",globals(),locals(),[t],level=1)\r
-    mod = globals()[t]\r
-    all_tests.addTests(loader.loadTestsFromModule(mod))\r