]> git.proxmox.com Git - mirror_edk2.git/blobdiff - AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/test_util.py
edk2: Remove AppPkg, StdLib, StdLibPrivateInternalFiles
[mirror_edk2.git] / AppPkg / Applications / Python / Python-2.7.2 / Lib / distutils / tests / test_util.py
diff --git a/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/test_util.py b/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/test_util.py
deleted file mode 100644 (file)
index 84671b0..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-"""Tests for distutils.util."""\r
-import sys\r
-import unittest\r
-from test.test_support import run_unittest\r
-\r
-from distutils.errors import DistutilsPlatformError, DistutilsByteCompileError\r
-from distutils.util import byte_compile\r
-\r
-class UtilTestCase(unittest.TestCase):\r
-\r
-    def test_dont_write_bytecode(self):\r
-        # makes sure byte_compile raise a DistutilsError\r
-        # if sys.dont_write_bytecode is True\r
-        old_dont_write_bytecode = sys.dont_write_bytecode\r
-        sys.dont_write_bytecode = True\r
-        try:\r
-            self.assertRaises(DistutilsByteCompileError, byte_compile, [])\r
-        finally:\r
-            sys.dont_write_bytecode = old_dont_write_bytecode\r
-\r
-def test_suite():\r
-    return unittest.makeSuite(UtilTestCase)\r
-\r
-if __name__ == "__main__":\r
-    run_unittest(test_suite())\r