components/python/ipython/patches/dtexample.py.patch
author Stephen Gaul Jr <steve.gaul@oracle.com>
Fri, 24 Jun 2016 11:30:54 -0700
changeset 6279 b8986042dd84
parent 4663 ab6b84c05705
permissions -rw-r--r--
PSARC/2016/217 Smartcard Reintroduction PSARC/2016/232 CACkey Smartcard PKCS#11 provider 22822476 Add CACKey v0.7.4 to Userland consolidation
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
4663
ab6b84c05705 20224689 need to investigate if python/ipython tests can be added to Makefile test target
James Chang <james.c.chang@Oracle.COM>
parents:
diff changeset
     1
# Patch to fix hanging ipfunc test on sparc. Not for upstream.
ab6b84c05705 20224689 need to investigate if python/ipython tests can be added to Makefile test target
James Chang <james.c.chang@Oracle.COM>
parents:
diff changeset
     2
ab6b84c05705 20224689 need to investigate if python/ipython tests can be added to Makefile test target
James Chang <james.c.chang@Oracle.COM>
parents:
diff changeset
     3
--- ipython-0.10/IPython/testing/plugin/dtexample.py	2009-04-15 17:58:05.000000000 -0700
ab6b84c05705 20224689 need to investigate if python/ipython tests can be added to Makefile test target
James Chang <james.c.chang@Oracle.COM>
parents:
diff changeset
     4
+++ ipython-0.10/IPython/testing/plugin/dtexample.py	2015-07-07 09:41:08.098281161 -0700
ab6b84c05705 20224689 need to investigate if python/ipython tests can be added to Makefile test target
James Chang <james.c.chang@Oracle.COM>
parents:
diff changeset
     5
@@ -23,7 +23,7 @@
ab6b84c05705 20224689 need to investigate if python/ipython tests can be added to Makefile test target
James Chang <james.c.chang@Oracle.COM>
parents:
diff changeset
     6
     """
ab6b84c05705 20224689 need to investigate if python/ipython tests can be added to Makefile test target
James Chang <james.c.chang@Oracle.COM>
parents:
diff changeset
     7
     return 'pyfunc'
ab6b84c05705 20224689 need to investigate if python/ipython tests can be added to Makefile test target
James Chang <james.c.chang@Oracle.COM>
parents:
diff changeset
     8
 
ab6b84c05705 20224689 need to investigate if python/ipython tests can be added to Makefile test target
James Chang <james.c.chang@Oracle.COM>
parents:
diff changeset
     9
-
ab6b84c05705 20224689 need to investigate if python/ipython tests can be added to Makefile test target
James Chang <james.c.chang@Oracle.COM>
parents:
diff changeset
    10
+'''
ab6b84c05705 20224689 need to investigate if python/ipython tests can be added to Makefile test target
James Chang <james.c.chang@Oracle.COM>
parents:
diff changeset
    11
 def ipfunc():
ab6b84c05705 20224689 need to investigate if python/ipython tests can be added to Makefile test target
James Chang <james.c.chang@Oracle.COM>
parents:
diff changeset
    12
     """Some ipython tests...
ab6b84c05705 20224689 need to investigate if python/ipython tests can be added to Makefile test target
James Chang <james.c.chang@Oracle.COM>
parents:
diff changeset
    13
 
ab6b84c05705 20224689 need to investigate if python/ipython tests can be added to Makefile test target
James Chang <james.c.chang@Oracle.COM>
parents:
diff changeset
    14
@@ -71,7 +71,7 @@
ab6b84c05705 20224689 need to investigate if python/ipython tests can be added to Makefile test target
James Chang <james.c.chang@Oracle.COM>
parents:
diff changeset
    15
     Out[9]: 'ipfunc'
ab6b84c05705 20224689 need to investigate if python/ipython tests can be added to Makefile test target
James Chang <james.c.chang@Oracle.COM>
parents:
diff changeset
    16
     """
ab6b84c05705 20224689 need to investigate if python/ipython tests can be added to Makefile test target
James Chang <james.c.chang@Oracle.COM>
parents:
diff changeset
    17
     return 'ipfunc'
ab6b84c05705 20224689 need to investigate if python/ipython tests can be added to Makefile test target
James Chang <james.c.chang@Oracle.COM>
parents:
diff changeset
    18
-
ab6b84c05705 20224689 need to investigate if python/ipython tests can be added to Makefile test target
James Chang <james.c.chang@Oracle.COM>
parents:
diff changeset
    19
+'''
ab6b84c05705 20224689 need to investigate if python/ipython tests can be added to Makefile test target
James Chang <james.c.chang@Oracle.COM>
parents:
diff changeset
    20
 
ab6b84c05705 20224689 need to investigate if python/ipython tests can be added to Makefile test target
James Chang <james.c.chang@Oracle.COM>
parents:
diff changeset
    21
 def ranfunc():
ab6b84c05705 20224689 need to investigate if python/ipython tests can be added to Makefile test target
James Chang <james.c.chang@Oracle.COM>
parents:
diff changeset
    22
     """A function with some random output.