]> git.proxmox.com Git - mirror_edk2.git/blobdiff - AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_buffer.py
edk2: Remove AppPkg, StdLib, StdLibPrivateInternalFiles
[mirror_edk2.git] / AppPkg / Applications / Python / Python-2.7.2 / Lib / test / test_buffer.py
diff --git a/AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_buffer.py b/AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_buffer.py
deleted file mode 100644 (file)
index 9c9d868..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-"""Unit tests for buffer objects.\r
-\r
-For now, tests just new or changed functionality.\r
-\r
-"""\r
-\r
-import unittest\r
-from test import test_support\r
-\r
-class BufferTests(unittest.TestCase):\r
-\r
-    def test_extended_getslice(self):\r
-        # Test extended slicing by comparing with list slicing.\r
-        s = "".join(chr(c) for c in list(range(255, -1, -1)))\r
-        b = buffer(s)\r
-        indices = (0, None, 1, 3, 19, 300, -1, -2, -31, -300)\r
-        for start in indices:\r
-            for stop in indices:\r
-                # Skip step 0 (invalid)\r
-                for step in indices[1:]:\r
-                    self.assertEqual(b[start:stop:step],\r
-                                     s[start:stop:step])\r
-\r
-\r
-def test_main():\r
-    with test_support.check_py3k_warnings(("buffer.. not supported",\r
-                                           DeprecationWarning)):\r
-        test_support.run_unittest(BufferTests)\r
-\r
-if __name__ == "__main__":\r
-    test_main()\r