]> git.proxmox.com Git - mirror_edk2.git/blobdiff - AppPkg/Applications/Python/Python-2.7.2/Lib/test/sample_doctest.py
edk2: Remove AppPkg, StdLib, StdLibPrivateInternalFiles
[mirror_edk2.git] / AppPkg / Applications / Python / Python-2.7.2 / Lib / test / sample_doctest.py
diff --git a/AppPkg/Applications/Python/Python-2.7.2/Lib/test/sample_doctest.py b/AppPkg/Applications/Python/Python-2.7.2/Lib/test/sample_doctest.py
deleted file mode 100644 (file)
index 2424891..0000000
+++ /dev/null
@@ -1,76 +0,0 @@
-"""This is a sample module that doesn't really test anything all that\r
-   interesting.\r
-\r
-It simply has a few tests, some of which succeed and some of which fail.\r
-\r
-It's important that the numbers remain constant as another test is\r
-testing the running of these tests.\r
-\r
-\r
->>> 2+2\r
-4\r
-"""\r
-\r
-\r
-def foo():\r
-    """\r
-\r
-    >>> 2+2\r
-    5\r
-\r
-    >>> 2+2\r
-    4\r
-    """\r
-\r
-def bar():\r
-    """\r
-\r
-    >>> 2+2\r
-    4\r
-    """\r
-\r
-def test_silly_setup():\r
-    """\r
-\r
-    >>> import test.test_doctest\r
-    >>> test.test_doctest.sillySetup\r
-    True\r
-    """\r
-\r
-def w_blank():\r
-    """\r
-    >>> if 1:\r
-    ...    print 'a'\r
-    ...    print\r
-    ...    print 'b'\r
-    a\r
-    <BLANKLINE>\r
-    b\r
-    """\r
-\r
-x = 1\r
-def x_is_one():\r
-    """\r
-    >>> x\r
-    1\r
-    """\r
-\r
-def y_is_one():\r
-    """\r
-    >>> y\r
-    1\r
-    """\r
-\r
-__test__ = {'good': """\r
-                    >>> 42\r
-                    42\r
-                    """,\r
-            'bad':  """\r
-                    >>> 42\r
-                    666\r
-                    """,\r
-           }\r
-\r
-def test_suite():\r
-    import doctest\r
-    return doctest.DocTestSuite()\r