]> git.proxmox.com Git - mirror_edk2.git/blobdiff - AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/test_bdist.py
edk2: Remove AppPkg, StdLib, StdLibPrivateInternalFiles
[mirror_edk2.git] / AppPkg / Applications / Python / Python-2.7.2 / Lib / distutils / tests / test_bdist.py
diff --git a/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/test_bdist.py b/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/test_bdist.py
deleted file mode 100644 (file)
index a097997..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-"""Tests for distutils.command.bdist."""\r
-import unittest\r
-import sys\r
-import os\r
-import tempfile\r
-import shutil\r
-\r
-from test.test_support import run_unittest\r
-\r
-from distutils.core import Distribution\r
-from distutils.command.bdist import bdist\r
-from distutils.tests import support\r
-from distutils.spawn import find_executable\r
-from distutils import spawn\r
-from distutils.errors import DistutilsExecError\r
-\r
-class BuildTestCase(support.TempdirManager,\r
-                    unittest.TestCase):\r
-\r
-    def test_formats(self):\r
-\r
-        # let's create a command and make sure\r
-        # we can fix the format\r
-        pkg_pth, dist = self.create_dist()\r
-        cmd = bdist(dist)\r
-        cmd.formats = ['msi']\r
-        cmd.ensure_finalized()\r
-        self.assertEqual(cmd.formats, ['msi'])\r
-\r
-        # what format bdist offers ?\r
-        # XXX an explicit list in bdist is\r
-        # not the best way to  bdist_* commands\r
-        # we should add a registry\r
-        formats = ['rpm', 'zip', 'gztar', 'bztar', 'ztar',\r
-                   'tar', 'wininst', 'msi']\r
-        formats.sort()\r
-        founded = cmd.format_command.keys()\r
-        founded.sort()\r
-        self.assertEqual(founded, formats)\r
-\r
-def test_suite():\r
-    return unittest.makeSuite(BuildTestCase)\r
-\r
-if __name__ == '__main__':\r
-    run_unittest(test_suite())\r